diff options
author | Daniel Baumann <daniel@debian.org> | 2024-10-20 23:07:42 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2024-11-09 15:38:42 +0100 |
commit | 714c83b2736d7e308bc33c49057952490eb98be2 (patch) | |
tree | 1d9ba7035798368569cd49056f4d596efc908cd8 /pkg/container/testdata | |
parent | Initial commit. (diff) | |
download | forgejo-act-714c83b2736d7e308bc33c49057952490eb98be2.tar.xz forgejo-act-714c83b2736d7e308bc33c49057952490eb98be2.zip |
Adding upstream version 1.21.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'pkg/container/testdata')
-rw-r--r-- | pkg/container/testdata/Dockerfile | 5 | ||||
-rw-r--r-- | pkg/container/testdata/docker-pull-options/config.json | 7 | ||||
-rw-r--r-- | pkg/container/testdata/scratch/test.txt | 1 | ||||
-rw-r--r-- | pkg/container/testdata/utf16.env | bin | 0 -> 54 bytes | |||
-rw-r--r-- | pkg/container/testdata/utf16be.env | bin | 0 -> 54 bytes | |||
-rw-r--r-- | pkg/container/testdata/utf8.env | 3 | ||||
-rw-r--r-- | pkg/container/testdata/valid.env | 1 | ||||
-rw-r--r-- | pkg/container/testdata/valid.label | 1 |
8 files changed, 18 insertions, 0 deletions
diff --git a/pkg/container/testdata/Dockerfile b/pkg/container/testdata/Dockerfile new file mode 100644 index 0000000..3653a63 --- /dev/null +++ b/pkg/container/testdata/Dockerfile @@ -0,0 +1,5 @@ +FROM scratch +ENV PATH="/this/path/does/not/exists/anywhere:/this/either" +ENV SOME_RANDOM_VAR="" +ENV ANOTHER_ONE="BUT_I_HAVE_VALUE" +ENV CONFLICT_VAR="I_EXIST_ONLY_HERE" diff --git a/pkg/container/testdata/docker-pull-options/config.json b/pkg/container/testdata/docker-pull-options/config.json new file mode 100644 index 0000000..c8b8e7c --- /dev/null +++ b/pkg/container/testdata/docker-pull-options/config.json @@ -0,0 +1,7 @@ +{ + "auths": { + "https://index.docker.io/v1/": { + "auth": "dXNlcm5hbWU6cGFzc3dvcmQK" + } + } +} diff --git a/pkg/container/testdata/scratch/test.txt b/pkg/container/testdata/scratch/test.txt new file mode 100644 index 0000000..e7cbb71 --- /dev/null +++ b/pkg/container/testdata/scratch/test.txt @@ -0,0 +1 @@ +testfile
\ No newline at end of file diff --git a/pkg/container/testdata/utf16.env b/pkg/container/testdata/utf16.env Binary files differnew file mode 100644 index 0000000..3a73358 --- /dev/null +++ b/pkg/container/testdata/utf16.env diff --git a/pkg/container/testdata/utf16be.env b/pkg/container/testdata/utf16be.env Binary files differnew file mode 100644 index 0000000..e523da7 --- /dev/null +++ b/pkg/container/testdata/utf16be.env diff --git a/pkg/container/testdata/utf8.env b/pkg/container/testdata/utf8.env new file mode 100644 index 0000000..2b3a9dc --- /dev/null +++ b/pkg/container/testdata/utf8.env @@ -0,0 +1,3 @@ +FOO=BAR +HELLO=您好 +BAR=FOO
\ No newline at end of file diff --git a/pkg/container/testdata/valid.env b/pkg/container/testdata/valid.env new file mode 100644 index 0000000..3afbdc8 --- /dev/null +++ b/pkg/container/testdata/valid.env @@ -0,0 +1 @@ +ENV1=value1 diff --git a/pkg/container/testdata/valid.label b/pkg/container/testdata/valid.label new file mode 100644 index 0000000..b4208bd --- /dev/null +++ b/pkg/container/testdata/valid.label @@ -0,0 +1 @@ +LABEL1=value1 |