-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add .gitattributes to force LF line endings
Signed-off-by: Daniel Canter <[email protected]>
- Loading branch information
Showing
8 changed files
with
279 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto eol=lf |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
* @microsoft/containerplat | ||
|
||
* @microsoft/containerplat | ||
|
||
/hcn/* @nagiesek |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
/* | ||
* HCS API | ||
* | ||
* No description provided (generated by Swagger Codegen https:/swagger-api/swagger-codegen) | ||
* | ||
* API version: 2.4 | ||
* Generated by: Swagger Codegen (https:/swagger-api/swagger-codegen.git) | ||
*/ | ||
|
||
package hcsschema | ||
|
||
type CPUGroupOperation string | ||
|
||
const ( | ||
CreateGroup CPUGroupOperation = "CreateGroup" | ||
DeleteGroup CPUGroupOperation = "DeleteGroup" | ||
SetProperty CPUGroupOperation = "SetProperty" | ||
) | ||
/* | ||
* HCS API | ||
* | ||
* No description provided (generated by Swagger Codegen https:/swagger-api/swagger-codegen) | ||
* | ||
* API version: 2.4 | ||
* Generated by: Swagger Codegen (https:/swagger-api/swagger-codegen.git) | ||
*/ | ||
|
||
package hcsschema | ||
|
||
type CPUGroupOperation string | ||
|
||
const ( | ||
CreateGroup CPUGroupOperation = "CreateGroup" | ||
DeleteGroup CPUGroupOperation = "DeleteGroup" | ||
SetProperty CPUGroupOperation = "SetProperty" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
# This Dockerfile builds a docker image based on top of the nanoserver image that is | ||
# used during the pull image tests in hcsshim. Tests in hcsshim/test/pullimage_test.go | ||
# are directly dependent on the directory structure of this image. If anything is changed | ||
# in this Dockerfile, please make sure to update the tests too. | ||
|
||
# As of now this image is built with: | ||
# `docker build -t mtbar131/hcsshim:nanoserver_test .` | ||
# And this image is pushed to a private repo with: | ||
# `docker push mtbar131/hcsshim:nanoserver_test` | ||
|
||
# Base image | ||
FROM mcr.microsoft.com/windows/nanoserver:1909 | ||
# Get administrator privileges | ||
USER containeradministrator | ||
|
||
# Create a fake symlink - This will act likea BUGCHECK if our layer import code tries to | ||
# follow such symlinks. | ||
RUN mklink /d C:\Users\Public\fakelink C:\abcd | ||
# Create a directory and a file inside that directory. This file will be deleted in the next | ||
# layer. The tests verify that even after file deletion in a layer timestamps are updated | ||
# correcty. | ||
RUN mkdir C:\Users\Public\testdir && echo "Windows Layer timestamp test" > C:\Users\Public\testdir\test.txt | ||
# This Dockerfile builds a docker image based on top of the nanoserver image that is | ||
# used during the pull image tests in hcsshim. Tests in hcsshim/test/pullimage_test.go | ||
# are directly dependent on the directory structure of this image. If anything is changed | ||
# in this Dockerfile, please make sure to update the tests too. | ||
|
||
# As of now this image is built with: | ||
# `docker build -t mtbar131/hcsshim:nanoserver_test .` | ||
# And this image is pushed to a private repo with: | ||
# `docker push mtbar131/hcsshim:nanoserver_test` | ||
|
||
# Base image | ||
FROM mcr.microsoft.com/windows/nanoserver:1909 | ||
# Get administrator privileges | ||
USER containeradministrator | ||
|
||
# Create a fake symlink - This will act likea BUGCHECK if our layer import code tries to | ||
# follow such symlinks. | ||
RUN mklink /d C:\Users\Public\fakelink C:\abcd | ||
# Create a directory and a file inside that directory. This file will be deleted in the next | ||
# layer. The tests verify that even after file deletion in a layer timestamps are updated | ||
# correcty. | ||
RUN mkdir C:\Users\Public\testdir && echo "Windows Layer timestamp test" > C:\Users\Public\testdir\test.txt | ||
RUN del /q C:\Users\Public\testdir\test.txt |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.