From eb838bda3ab8516b8e44f3c82e0e7f17739f7f22 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Wed, 31 Jul 2024 11:04:17 +0200 Subject: [PATCH] jest: rename fixtures folder Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .../{fixtures => .fixtures}/bake-01-overrides.json | 0 .../{fixtures => .fixtures}/bake-01-validate.json | 0 __tests__/{fixtures => .fixtures}/bake-01.hcl | 0 .../{fixtures => .fixtures}/bake-02-build.json | 0 __tests__/{fixtures => .fixtures}/bake-02.hcl | 0 .../bake-buildx-0.10.4-binaries-cross.json | 0 .../bake-test-docker-action-remote-private.json | 0 __tests__/{fixtures => .fixtures}/buildkitd.toml | 0 .../buildx-refs/__group__/1fugf958r4peyg86h6scim5t5 | 0 .../default/default/36dix0eiv9evr61vrwzn32w7q | 0 .../default/default/49p5r8und2konke5pmlyzqp3n | 0 .../default/default/7pnnqpgacnqq98oa1a1h5sz6t | 0 .../default/default/84p2qpgacnqq98oa1a1h5sz6t | 0 .../default/default/a5s9rlg9cnqq98oa1a1h5sz6t | 0 .../default/default/a8zqzhhv5yiazm396jobsgdw2 | 0 .../default/default/aav2ix4nw5eky66fw045dkylr | 0 .../default/default/dfsz8r57a98zf789pmlyzqp3n | 0 .../default/default/ij71n3ubmhck85d03zdvye5nr | 0 .../default/default/o1ctbgdb1mwekkxocc6filxde | 0 .../default/default/qvb2qy61mspqdyzf8whvjy0x1 | 0 .../default/default/qxu22kx1mrydcjkbl0b0l6es8 | 0 .../default/default/vzxn0jxr44khtq7hc8drtzwjv | 0 .../default/default/w38vcd5fo5cfvfyig77qjec0v | 0 .../buildx-refs/foo/foo0/21hqcxmgxyhugz2m24tmi7xco | 0 .../buildx-refs/foo/foo0/5nm14argzndbc4hw1jx6v9d5k | 0 .../buildx-refs/foo/foo0/7dblgs0dsjm22ti6p53sih6b7 | 0 .../docker-config-auths.json | 0 .../docker-config-proxies.json | 0 .../dockerhub-repoalltags.json | 0 .../{fixtures => .fixtures}/dockerhub-repoinfo.json | 0 .../{fixtures => .fixtures}/dockerhub-repotags.json | 0 __tests__/{fixtures => .fixtures}/github-repo.json | 0 __tests__/{fixtures => .fixtures}/hello-bake.hcl | 0 .../{fixtures => .fixtures}/hello-err.Dockerfile | 0 __tests__/{fixtures => .fixtures}/hello.Dockerfile | 0 __tests__/{fixtures => .fixtures}/inspect1.txt | 0 __tests__/{fixtures => .fixtures}/inspect10.txt | 0 __tests__/{fixtures => .fixtures}/inspect11.txt | 0 __tests__/{fixtures => .fixtures}/inspect2.txt | 0 __tests__/{fixtures => .fixtures}/inspect3.txt | 0 __tests__/{fixtures => .fixtures}/inspect4.txt | 0 __tests__/{fixtures => .fixtures}/inspect5.txt | 0 __tests__/{fixtures => .fixtures}/inspect6.txt | 0 __tests__/{fixtures => .fixtures}/inspect7.txt | 0 __tests__/{fixtures => .fixtures}/inspect8.txt | 0 __tests__/{fixtures => .fixtures}/inspect9.txt | 0 .../{fixtures => .fixtures}/lint-other.Dockerfile | 0 __tests__/{fixtures => .fixtures}/lint.Dockerfile | 0 __tests__/{fixtures => .fixtures}/lint.hcl | 0 .../{fixtures => .fixtures}/metadata-bake.json | 0 .../{fixtures => .fixtures}/metadata-build.json | 0 .../crazy-max~docker-alpine-s6~II9A63.dockerbuild | Bin .../docker~test-docker-action~COIO50.dockerbuild | Bin .../docker~test-docker-action~SNHBPN+3.dockerbuild | Bin .../docker~test-docker-action~TYO4JJ+15.dockerbuild | Bin .../oci-archive/hello-oci-gzip.tar | Bin .../oci-archive/hello-oci-multiplatform-gzip.tar | Bin .../oci-archive/hello-oci-uncompressed.tar | Bin .../oci-archive/hello-oci-zstd.tar | Bin .../oci-archive/moby~buildkit~LWDOW6.dockerbuild | Bin __tests__/{fixtures => .fixtures}/pgp.txt | 0 __tests__/{fixtures => .fixtures}/runtimeToken.txt | 0 __tests__/{fixtures => .fixtures}/secret.txt | 0 __tests__/buildkit/config.test.ts | 2 +- __tests__/buildx/bake.test.itg.ts | 2 +- __tests__/buildx/bake.test.ts | 2 +- __tests__/buildx/build.test.ts | 2 +- __tests__/buildx/builder.test.ts | 2 +- __tests__/buildx/buildx.test.itg.ts | 2 +- __tests__/buildx/buildx.test.ts | 2 +- __tests__/buildx/history.test.itg.ts | 2 +- __tests__/cache.test.itg.ts | 2 +- __tests__/docker/docker.test.ts | 2 +- __tests__/dockerhub.test.ts | 6 +++--- __tests__/github.test.itg.ts | 2 +- __tests__/github.test.ts | 6 +++--- __tests__/oci/oci.test.ts | 2 +- __tests__/util.test.ts | 2 +- 78 files changed, 19 insertions(+), 19 deletions(-) rename __tests__/{fixtures => .fixtures}/bake-01-overrides.json (100%) rename __tests__/{fixtures => .fixtures}/bake-01-validate.json (100%) rename __tests__/{fixtures => .fixtures}/bake-01.hcl (100%) rename __tests__/{fixtures => .fixtures}/bake-02-build.json (100%) rename __tests__/{fixtures => .fixtures}/bake-02.hcl (100%) rename __tests__/{fixtures => .fixtures}/bake-buildx-0.10.4-binaries-cross.json (100%) rename __tests__/{fixtures => .fixtures}/bake-test-docker-action-remote-private.json (100%) rename __tests__/{fixtures => .fixtures}/buildkitd.toml (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/__group__/1fugf958r4peyg86h6scim5t5 (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/default/default/36dix0eiv9evr61vrwzn32w7q (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/default/default/49p5r8und2konke5pmlyzqp3n (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/default/default/7pnnqpgacnqq98oa1a1h5sz6t (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/default/default/84p2qpgacnqq98oa1a1h5sz6t (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/default/default/a5s9rlg9cnqq98oa1a1h5sz6t (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/default/default/a8zqzhhv5yiazm396jobsgdw2 (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/default/default/aav2ix4nw5eky66fw045dkylr (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/default/default/dfsz8r57a98zf789pmlyzqp3n (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/default/default/ij71n3ubmhck85d03zdvye5nr (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/default/default/o1ctbgdb1mwekkxocc6filxde (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/default/default/qvb2qy61mspqdyzf8whvjy0x1 (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/default/default/qxu22kx1mrydcjkbl0b0l6es8 (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/default/default/vzxn0jxr44khtq7hc8drtzwjv (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/default/default/w38vcd5fo5cfvfyig77qjec0v (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/foo/foo0/21hqcxmgxyhugz2m24tmi7xco (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/foo/foo0/5nm14argzndbc4hw1jx6v9d5k (100%) rename __tests__/{fixtures => .fixtures}/buildx-refs/foo/foo0/7dblgs0dsjm22ti6p53sih6b7 (100%) rename __tests__/{fixtures => .fixtures}/docker-config-auths.json (100%) rename __tests__/{fixtures => .fixtures}/docker-config-proxies.json (100%) rename __tests__/{fixtures => .fixtures}/dockerhub-repoalltags.json (100%) rename __tests__/{fixtures => .fixtures}/dockerhub-repoinfo.json (100%) rename __tests__/{fixtures => .fixtures}/dockerhub-repotags.json (100%) rename __tests__/{fixtures => .fixtures}/github-repo.json (100%) rename __tests__/{fixtures => .fixtures}/hello-bake.hcl (100%) rename __tests__/{fixtures => .fixtures}/hello-err.Dockerfile (100%) rename __tests__/{fixtures => .fixtures}/hello.Dockerfile (100%) rename __tests__/{fixtures => .fixtures}/inspect1.txt (100%) rename __tests__/{fixtures => .fixtures}/inspect10.txt (100%) rename __tests__/{fixtures => .fixtures}/inspect11.txt (100%) rename __tests__/{fixtures => .fixtures}/inspect2.txt (100%) rename __tests__/{fixtures => .fixtures}/inspect3.txt (100%) rename __tests__/{fixtures => .fixtures}/inspect4.txt (100%) rename __tests__/{fixtures => .fixtures}/inspect5.txt (100%) rename __tests__/{fixtures => .fixtures}/inspect6.txt (100%) rename __tests__/{fixtures => .fixtures}/inspect7.txt (100%) rename __tests__/{fixtures => .fixtures}/inspect8.txt (100%) rename __tests__/{fixtures => .fixtures}/inspect9.txt (100%) rename __tests__/{fixtures => .fixtures}/lint-other.Dockerfile (100%) rename __tests__/{fixtures => .fixtures}/lint.Dockerfile (100%) rename __tests__/{fixtures => .fixtures}/lint.hcl (100%) rename __tests__/{fixtures => .fixtures}/metadata-bake.json (100%) rename __tests__/{fixtures => .fixtures}/metadata-build.json (100%) rename __tests__/{fixtures => .fixtures}/oci-archive/crazy-max~docker-alpine-s6~II9A63.dockerbuild (100%) rename __tests__/{fixtures => .fixtures}/oci-archive/docker~test-docker-action~COIO50.dockerbuild (100%) rename __tests__/{fixtures => .fixtures}/oci-archive/docker~test-docker-action~SNHBPN+3.dockerbuild (100%) rename __tests__/{fixtures => .fixtures}/oci-archive/docker~test-docker-action~TYO4JJ+15.dockerbuild (100%) rename __tests__/{fixtures => .fixtures}/oci-archive/hello-oci-gzip.tar (100%) rename __tests__/{fixtures => .fixtures}/oci-archive/hello-oci-multiplatform-gzip.tar (100%) rename __tests__/{fixtures => .fixtures}/oci-archive/hello-oci-uncompressed.tar (100%) rename __tests__/{fixtures => .fixtures}/oci-archive/hello-oci-zstd.tar (100%) rename __tests__/{fixtures => .fixtures}/oci-archive/moby~buildkit~LWDOW6.dockerbuild (100%) rename __tests__/{fixtures => .fixtures}/pgp.txt (100%) rename __tests__/{fixtures => .fixtures}/runtimeToken.txt (100%) rename __tests__/{fixtures => .fixtures}/secret.txt (100%) diff --git a/__tests__/fixtures/bake-01-overrides.json b/__tests__/.fixtures/bake-01-overrides.json similarity index 100% rename from __tests__/fixtures/bake-01-overrides.json rename to __tests__/.fixtures/bake-01-overrides.json diff --git a/__tests__/fixtures/bake-01-validate.json b/__tests__/.fixtures/bake-01-validate.json similarity index 100% rename from __tests__/fixtures/bake-01-validate.json rename to __tests__/.fixtures/bake-01-validate.json diff --git a/__tests__/fixtures/bake-01.hcl b/__tests__/.fixtures/bake-01.hcl similarity index 100% rename from __tests__/fixtures/bake-01.hcl rename to __tests__/.fixtures/bake-01.hcl diff --git a/__tests__/fixtures/bake-02-build.json b/__tests__/.fixtures/bake-02-build.json similarity index 100% rename from __tests__/fixtures/bake-02-build.json rename to __tests__/.fixtures/bake-02-build.json diff --git a/__tests__/fixtures/bake-02.hcl b/__tests__/.fixtures/bake-02.hcl similarity index 100% rename from __tests__/fixtures/bake-02.hcl rename to __tests__/.fixtures/bake-02.hcl diff --git a/__tests__/fixtures/bake-buildx-0.10.4-binaries-cross.json b/__tests__/.fixtures/bake-buildx-0.10.4-binaries-cross.json similarity index 100% rename from __tests__/fixtures/bake-buildx-0.10.4-binaries-cross.json rename to __tests__/.fixtures/bake-buildx-0.10.4-binaries-cross.json diff --git a/__tests__/fixtures/bake-test-docker-action-remote-private.json b/__tests__/.fixtures/bake-test-docker-action-remote-private.json similarity index 100% rename from __tests__/fixtures/bake-test-docker-action-remote-private.json rename to __tests__/.fixtures/bake-test-docker-action-remote-private.json diff --git a/__tests__/fixtures/buildkitd.toml b/__tests__/.fixtures/buildkitd.toml similarity index 100% rename from __tests__/fixtures/buildkitd.toml rename to __tests__/.fixtures/buildkitd.toml diff --git a/__tests__/fixtures/buildx-refs/__group__/1fugf958r4peyg86h6scim5t5 b/__tests__/.fixtures/buildx-refs/__group__/1fugf958r4peyg86h6scim5t5 similarity index 100% rename from __tests__/fixtures/buildx-refs/__group__/1fugf958r4peyg86h6scim5t5 rename to __tests__/.fixtures/buildx-refs/__group__/1fugf958r4peyg86h6scim5t5 diff --git a/__tests__/fixtures/buildx-refs/default/default/36dix0eiv9evr61vrwzn32w7q b/__tests__/.fixtures/buildx-refs/default/default/36dix0eiv9evr61vrwzn32w7q similarity index 100% rename from __tests__/fixtures/buildx-refs/default/default/36dix0eiv9evr61vrwzn32w7q rename to __tests__/.fixtures/buildx-refs/default/default/36dix0eiv9evr61vrwzn32w7q diff --git a/__tests__/fixtures/buildx-refs/default/default/49p5r8und2konke5pmlyzqp3n b/__tests__/.fixtures/buildx-refs/default/default/49p5r8und2konke5pmlyzqp3n similarity index 100% rename from __tests__/fixtures/buildx-refs/default/default/49p5r8und2konke5pmlyzqp3n rename to __tests__/.fixtures/buildx-refs/default/default/49p5r8und2konke5pmlyzqp3n diff --git a/__tests__/fixtures/buildx-refs/default/default/7pnnqpgacnqq98oa1a1h5sz6t b/__tests__/.fixtures/buildx-refs/default/default/7pnnqpgacnqq98oa1a1h5sz6t similarity index 100% rename from __tests__/fixtures/buildx-refs/default/default/7pnnqpgacnqq98oa1a1h5sz6t rename to __tests__/.fixtures/buildx-refs/default/default/7pnnqpgacnqq98oa1a1h5sz6t diff --git a/__tests__/fixtures/buildx-refs/default/default/84p2qpgacnqq98oa1a1h5sz6t b/__tests__/.fixtures/buildx-refs/default/default/84p2qpgacnqq98oa1a1h5sz6t similarity index 100% rename from __tests__/fixtures/buildx-refs/default/default/84p2qpgacnqq98oa1a1h5sz6t rename to __tests__/.fixtures/buildx-refs/default/default/84p2qpgacnqq98oa1a1h5sz6t diff --git a/__tests__/fixtures/buildx-refs/default/default/a5s9rlg9cnqq98oa1a1h5sz6t b/__tests__/.fixtures/buildx-refs/default/default/a5s9rlg9cnqq98oa1a1h5sz6t similarity index 100% rename from __tests__/fixtures/buildx-refs/default/default/a5s9rlg9cnqq98oa1a1h5sz6t rename to __tests__/.fixtures/buildx-refs/default/default/a5s9rlg9cnqq98oa1a1h5sz6t diff --git a/__tests__/fixtures/buildx-refs/default/default/a8zqzhhv5yiazm396jobsgdw2 b/__tests__/.fixtures/buildx-refs/default/default/a8zqzhhv5yiazm396jobsgdw2 similarity index 100% rename from __tests__/fixtures/buildx-refs/default/default/a8zqzhhv5yiazm396jobsgdw2 rename to __tests__/.fixtures/buildx-refs/default/default/a8zqzhhv5yiazm396jobsgdw2 diff --git a/__tests__/fixtures/buildx-refs/default/default/aav2ix4nw5eky66fw045dkylr b/__tests__/.fixtures/buildx-refs/default/default/aav2ix4nw5eky66fw045dkylr similarity index 100% rename from __tests__/fixtures/buildx-refs/default/default/aav2ix4nw5eky66fw045dkylr rename to __tests__/.fixtures/buildx-refs/default/default/aav2ix4nw5eky66fw045dkylr diff --git a/__tests__/fixtures/buildx-refs/default/default/dfsz8r57a98zf789pmlyzqp3n b/__tests__/.fixtures/buildx-refs/default/default/dfsz8r57a98zf789pmlyzqp3n similarity index 100% rename from __tests__/fixtures/buildx-refs/default/default/dfsz8r57a98zf789pmlyzqp3n rename to __tests__/.fixtures/buildx-refs/default/default/dfsz8r57a98zf789pmlyzqp3n diff --git a/__tests__/fixtures/buildx-refs/default/default/ij71n3ubmhck85d03zdvye5nr b/__tests__/.fixtures/buildx-refs/default/default/ij71n3ubmhck85d03zdvye5nr similarity index 100% rename from __tests__/fixtures/buildx-refs/default/default/ij71n3ubmhck85d03zdvye5nr rename to __tests__/.fixtures/buildx-refs/default/default/ij71n3ubmhck85d03zdvye5nr diff --git a/__tests__/fixtures/buildx-refs/default/default/o1ctbgdb1mwekkxocc6filxde b/__tests__/.fixtures/buildx-refs/default/default/o1ctbgdb1mwekkxocc6filxde similarity index 100% rename from __tests__/fixtures/buildx-refs/default/default/o1ctbgdb1mwekkxocc6filxde rename to __tests__/.fixtures/buildx-refs/default/default/o1ctbgdb1mwekkxocc6filxde diff --git a/__tests__/fixtures/buildx-refs/default/default/qvb2qy61mspqdyzf8whvjy0x1 b/__tests__/.fixtures/buildx-refs/default/default/qvb2qy61mspqdyzf8whvjy0x1 similarity index 100% rename from __tests__/fixtures/buildx-refs/default/default/qvb2qy61mspqdyzf8whvjy0x1 rename to __tests__/.fixtures/buildx-refs/default/default/qvb2qy61mspqdyzf8whvjy0x1 diff --git a/__tests__/fixtures/buildx-refs/default/default/qxu22kx1mrydcjkbl0b0l6es8 b/__tests__/.fixtures/buildx-refs/default/default/qxu22kx1mrydcjkbl0b0l6es8 similarity index 100% rename from __tests__/fixtures/buildx-refs/default/default/qxu22kx1mrydcjkbl0b0l6es8 rename to __tests__/.fixtures/buildx-refs/default/default/qxu22kx1mrydcjkbl0b0l6es8 diff --git a/__tests__/fixtures/buildx-refs/default/default/vzxn0jxr44khtq7hc8drtzwjv b/__tests__/.fixtures/buildx-refs/default/default/vzxn0jxr44khtq7hc8drtzwjv similarity index 100% rename from __tests__/fixtures/buildx-refs/default/default/vzxn0jxr44khtq7hc8drtzwjv rename to __tests__/.fixtures/buildx-refs/default/default/vzxn0jxr44khtq7hc8drtzwjv diff --git a/__tests__/fixtures/buildx-refs/default/default/w38vcd5fo5cfvfyig77qjec0v b/__tests__/.fixtures/buildx-refs/default/default/w38vcd5fo5cfvfyig77qjec0v similarity index 100% rename from __tests__/fixtures/buildx-refs/default/default/w38vcd5fo5cfvfyig77qjec0v rename to __tests__/.fixtures/buildx-refs/default/default/w38vcd5fo5cfvfyig77qjec0v diff --git a/__tests__/fixtures/buildx-refs/foo/foo0/21hqcxmgxyhugz2m24tmi7xco b/__tests__/.fixtures/buildx-refs/foo/foo0/21hqcxmgxyhugz2m24tmi7xco similarity index 100% rename from __tests__/fixtures/buildx-refs/foo/foo0/21hqcxmgxyhugz2m24tmi7xco rename to __tests__/.fixtures/buildx-refs/foo/foo0/21hqcxmgxyhugz2m24tmi7xco diff --git a/__tests__/fixtures/buildx-refs/foo/foo0/5nm14argzndbc4hw1jx6v9d5k b/__tests__/.fixtures/buildx-refs/foo/foo0/5nm14argzndbc4hw1jx6v9d5k similarity index 100% rename from __tests__/fixtures/buildx-refs/foo/foo0/5nm14argzndbc4hw1jx6v9d5k rename to __tests__/.fixtures/buildx-refs/foo/foo0/5nm14argzndbc4hw1jx6v9d5k diff --git a/__tests__/fixtures/buildx-refs/foo/foo0/7dblgs0dsjm22ti6p53sih6b7 b/__tests__/.fixtures/buildx-refs/foo/foo0/7dblgs0dsjm22ti6p53sih6b7 similarity index 100% rename from __tests__/fixtures/buildx-refs/foo/foo0/7dblgs0dsjm22ti6p53sih6b7 rename to __tests__/.fixtures/buildx-refs/foo/foo0/7dblgs0dsjm22ti6p53sih6b7 diff --git a/__tests__/fixtures/docker-config-auths.json b/__tests__/.fixtures/docker-config-auths.json similarity index 100% rename from __tests__/fixtures/docker-config-auths.json rename to __tests__/.fixtures/docker-config-auths.json diff --git a/__tests__/fixtures/docker-config-proxies.json b/__tests__/.fixtures/docker-config-proxies.json similarity index 100% rename from __tests__/fixtures/docker-config-proxies.json rename to __tests__/.fixtures/docker-config-proxies.json diff --git a/__tests__/fixtures/dockerhub-repoalltags.json b/__tests__/.fixtures/dockerhub-repoalltags.json similarity index 100% rename from __tests__/fixtures/dockerhub-repoalltags.json rename to __tests__/.fixtures/dockerhub-repoalltags.json diff --git a/__tests__/fixtures/dockerhub-repoinfo.json b/__tests__/.fixtures/dockerhub-repoinfo.json similarity index 100% rename from __tests__/fixtures/dockerhub-repoinfo.json rename to __tests__/.fixtures/dockerhub-repoinfo.json diff --git a/__tests__/fixtures/dockerhub-repotags.json b/__tests__/.fixtures/dockerhub-repotags.json similarity index 100% rename from __tests__/fixtures/dockerhub-repotags.json rename to __tests__/.fixtures/dockerhub-repotags.json diff --git a/__tests__/fixtures/github-repo.json b/__tests__/.fixtures/github-repo.json similarity index 100% rename from __tests__/fixtures/github-repo.json rename to __tests__/.fixtures/github-repo.json diff --git a/__tests__/fixtures/hello-bake.hcl b/__tests__/.fixtures/hello-bake.hcl similarity index 100% rename from __tests__/fixtures/hello-bake.hcl rename to __tests__/.fixtures/hello-bake.hcl diff --git a/__tests__/fixtures/hello-err.Dockerfile b/__tests__/.fixtures/hello-err.Dockerfile similarity index 100% rename from __tests__/fixtures/hello-err.Dockerfile rename to __tests__/.fixtures/hello-err.Dockerfile diff --git a/__tests__/fixtures/hello.Dockerfile b/__tests__/.fixtures/hello.Dockerfile similarity index 100% rename from __tests__/fixtures/hello.Dockerfile rename to __tests__/.fixtures/hello.Dockerfile diff --git a/__tests__/fixtures/inspect1.txt b/__tests__/.fixtures/inspect1.txt similarity index 100% rename from __tests__/fixtures/inspect1.txt rename to __tests__/.fixtures/inspect1.txt diff --git a/__tests__/fixtures/inspect10.txt b/__tests__/.fixtures/inspect10.txt similarity index 100% rename from __tests__/fixtures/inspect10.txt rename to __tests__/.fixtures/inspect10.txt diff --git a/__tests__/fixtures/inspect11.txt b/__tests__/.fixtures/inspect11.txt similarity index 100% rename from __tests__/fixtures/inspect11.txt rename to __tests__/.fixtures/inspect11.txt diff --git a/__tests__/fixtures/inspect2.txt b/__tests__/.fixtures/inspect2.txt similarity index 100% rename from __tests__/fixtures/inspect2.txt rename to __tests__/.fixtures/inspect2.txt diff --git a/__tests__/fixtures/inspect3.txt b/__tests__/.fixtures/inspect3.txt similarity index 100% rename from __tests__/fixtures/inspect3.txt rename to __tests__/.fixtures/inspect3.txt diff --git a/__tests__/fixtures/inspect4.txt b/__tests__/.fixtures/inspect4.txt similarity index 100% rename from __tests__/fixtures/inspect4.txt rename to __tests__/.fixtures/inspect4.txt diff --git a/__tests__/fixtures/inspect5.txt b/__tests__/.fixtures/inspect5.txt similarity index 100% rename from __tests__/fixtures/inspect5.txt rename to __tests__/.fixtures/inspect5.txt diff --git a/__tests__/fixtures/inspect6.txt b/__tests__/.fixtures/inspect6.txt similarity index 100% rename from __tests__/fixtures/inspect6.txt rename to __tests__/.fixtures/inspect6.txt diff --git a/__tests__/fixtures/inspect7.txt b/__tests__/.fixtures/inspect7.txt similarity index 100% rename from __tests__/fixtures/inspect7.txt rename to __tests__/.fixtures/inspect7.txt diff --git a/__tests__/fixtures/inspect8.txt b/__tests__/.fixtures/inspect8.txt similarity index 100% rename from __tests__/fixtures/inspect8.txt rename to __tests__/.fixtures/inspect8.txt diff --git a/__tests__/fixtures/inspect9.txt b/__tests__/.fixtures/inspect9.txt similarity index 100% rename from __tests__/fixtures/inspect9.txt rename to __tests__/.fixtures/inspect9.txt diff --git a/__tests__/fixtures/lint-other.Dockerfile b/__tests__/.fixtures/lint-other.Dockerfile similarity index 100% rename from __tests__/fixtures/lint-other.Dockerfile rename to __tests__/.fixtures/lint-other.Dockerfile diff --git a/__tests__/fixtures/lint.Dockerfile b/__tests__/.fixtures/lint.Dockerfile similarity index 100% rename from __tests__/fixtures/lint.Dockerfile rename to __tests__/.fixtures/lint.Dockerfile diff --git a/__tests__/fixtures/lint.hcl b/__tests__/.fixtures/lint.hcl similarity index 100% rename from __tests__/fixtures/lint.hcl rename to __tests__/.fixtures/lint.hcl diff --git a/__tests__/fixtures/metadata-bake.json b/__tests__/.fixtures/metadata-bake.json similarity index 100% rename from __tests__/fixtures/metadata-bake.json rename to __tests__/.fixtures/metadata-bake.json diff --git a/__tests__/fixtures/metadata-build.json b/__tests__/.fixtures/metadata-build.json similarity index 100% rename from __tests__/fixtures/metadata-build.json rename to __tests__/.fixtures/metadata-build.json diff --git a/__tests__/fixtures/oci-archive/crazy-max~docker-alpine-s6~II9A63.dockerbuild b/__tests__/.fixtures/oci-archive/crazy-max~docker-alpine-s6~II9A63.dockerbuild similarity index 100% rename from __tests__/fixtures/oci-archive/crazy-max~docker-alpine-s6~II9A63.dockerbuild rename to __tests__/.fixtures/oci-archive/crazy-max~docker-alpine-s6~II9A63.dockerbuild diff --git a/__tests__/fixtures/oci-archive/docker~test-docker-action~COIO50.dockerbuild b/__tests__/.fixtures/oci-archive/docker~test-docker-action~COIO50.dockerbuild similarity index 100% rename from __tests__/fixtures/oci-archive/docker~test-docker-action~COIO50.dockerbuild rename to __tests__/.fixtures/oci-archive/docker~test-docker-action~COIO50.dockerbuild diff --git a/__tests__/fixtures/oci-archive/docker~test-docker-action~SNHBPN+3.dockerbuild b/__tests__/.fixtures/oci-archive/docker~test-docker-action~SNHBPN+3.dockerbuild similarity index 100% rename from __tests__/fixtures/oci-archive/docker~test-docker-action~SNHBPN+3.dockerbuild rename to __tests__/.fixtures/oci-archive/docker~test-docker-action~SNHBPN+3.dockerbuild diff --git a/__tests__/fixtures/oci-archive/docker~test-docker-action~TYO4JJ+15.dockerbuild b/__tests__/.fixtures/oci-archive/docker~test-docker-action~TYO4JJ+15.dockerbuild similarity index 100% rename from __tests__/fixtures/oci-archive/docker~test-docker-action~TYO4JJ+15.dockerbuild rename to __tests__/.fixtures/oci-archive/docker~test-docker-action~TYO4JJ+15.dockerbuild diff --git a/__tests__/fixtures/oci-archive/hello-oci-gzip.tar b/__tests__/.fixtures/oci-archive/hello-oci-gzip.tar similarity index 100% rename from __tests__/fixtures/oci-archive/hello-oci-gzip.tar rename to __tests__/.fixtures/oci-archive/hello-oci-gzip.tar diff --git a/__tests__/fixtures/oci-archive/hello-oci-multiplatform-gzip.tar b/__tests__/.fixtures/oci-archive/hello-oci-multiplatform-gzip.tar similarity index 100% rename from __tests__/fixtures/oci-archive/hello-oci-multiplatform-gzip.tar rename to __tests__/.fixtures/oci-archive/hello-oci-multiplatform-gzip.tar diff --git a/__tests__/fixtures/oci-archive/hello-oci-uncompressed.tar b/__tests__/.fixtures/oci-archive/hello-oci-uncompressed.tar similarity index 100% rename from __tests__/fixtures/oci-archive/hello-oci-uncompressed.tar rename to __tests__/.fixtures/oci-archive/hello-oci-uncompressed.tar diff --git a/__tests__/fixtures/oci-archive/hello-oci-zstd.tar b/__tests__/.fixtures/oci-archive/hello-oci-zstd.tar similarity index 100% rename from __tests__/fixtures/oci-archive/hello-oci-zstd.tar rename to __tests__/.fixtures/oci-archive/hello-oci-zstd.tar diff --git a/__tests__/fixtures/oci-archive/moby~buildkit~LWDOW6.dockerbuild b/__tests__/.fixtures/oci-archive/moby~buildkit~LWDOW6.dockerbuild similarity index 100% rename from __tests__/fixtures/oci-archive/moby~buildkit~LWDOW6.dockerbuild rename to __tests__/.fixtures/oci-archive/moby~buildkit~LWDOW6.dockerbuild diff --git a/__tests__/fixtures/pgp.txt b/__tests__/.fixtures/pgp.txt similarity index 100% rename from __tests__/fixtures/pgp.txt rename to __tests__/.fixtures/pgp.txt diff --git a/__tests__/fixtures/runtimeToken.txt b/__tests__/.fixtures/runtimeToken.txt similarity index 100% rename from __tests__/fixtures/runtimeToken.txt rename to __tests__/.fixtures/runtimeToken.txt diff --git a/__tests__/fixtures/secret.txt b/__tests__/.fixtures/secret.txt similarity index 100% rename from __tests__/fixtures/secret.txt rename to __tests__/.fixtures/secret.txt diff --git a/__tests__/buildkit/config.test.ts b/__tests__/buildkit/config.test.ts index 4a8a1a22..513ce156 100644 --- a/__tests__/buildkit/config.test.ts +++ b/__tests__/buildkit/config.test.ts @@ -23,7 +23,7 @@ import * as rimraf from 'rimraf'; import {BuildKit} from '../../src/buildkit/buildkit'; import {Context} from '../../src/context'; -const fixturesDir = path.join(__dirname, '..', 'fixtures'); +const fixturesDir = path.join(__dirname, '..', '.fixtures'); const tmpDir = fs.mkdtempSync(path.join(process.env.TEMP || os.tmpdir(), 'buildkit-config-')); const tmpName = path.join(tmpDir, '.tmpname-jest'); diff --git a/__tests__/buildx/bake.test.itg.ts b/__tests__/buildx/bake.test.itg.ts index f4499f2b..0f0f9550 100644 --- a/__tests__/buildx/bake.test.itg.ts +++ b/__tests__/buildx/bake.test.itg.ts @@ -21,7 +21,7 @@ import * as path from 'path'; import {Bake} from '../../src/buildx/bake'; import {BakeDefinition} from '../../src/types/buildx/bake'; -const fixturesDir = path.join(__dirname, '..', 'fixtures'); +const fixturesDir = path.join(__dirname, '..', '.fixtures'); const maybe = !process.env.GITHUB_ACTIONS || (process.env.GITHUB_ACTIONS === 'true' && process.env.ImageOS && process.env.ImageOS.startsWith('ubuntu')) ? describe : describe.skip; diff --git a/__tests__/buildx/bake.test.ts b/__tests__/buildx/bake.test.ts index 5e0f8200..1bb0ff10 100644 --- a/__tests__/buildx/bake.test.ts +++ b/__tests__/buildx/bake.test.ts @@ -27,7 +27,7 @@ import {ExecOptions} from '@actions/exec'; import {BakeDefinition} from '../../src/types/buildx/bake'; import {BuildMetadata} from '../../src/types/buildx/build'; -const fixturesDir = path.join(__dirname, '..', 'fixtures'); +const fixturesDir = path.join(__dirname, '..', '.fixtures'); const tmpDir = fs.mkdtempSync(path.join(process.env.TEMP || os.tmpdir(), 'buildx-bake-')); const tmpName = path.join(tmpDir, '.tmpname-jest'); const metadata = JSON.parse(fs.readFileSync(path.join(fixturesDir, 'metadata-bake.json'), 'utf-8')); diff --git a/__tests__/buildx/build.test.ts b/__tests__/buildx/build.test.ts index b50dd32d..66593664 100644 --- a/__tests__/buildx/build.test.ts +++ b/__tests__/buildx/build.test.ts @@ -23,7 +23,7 @@ import * as rimraf from 'rimraf'; import {Context} from '../../src/context'; import {Build} from '../../src/buildx/build'; -const fixturesDir = path.join(__dirname, '..', 'fixtures'); +const fixturesDir = path.join(__dirname, '..', '.fixtures'); const tmpDir = fs.mkdtempSync(path.join(process.env.TEMP || os.tmpdir(), 'buildx-build-')); const tmpName = path.join(tmpDir, '.tmpname-jest'); const metadata = JSON.parse(fs.readFileSync(path.join(fixturesDir, 'metadata-build.json'), 'utf-8')); diff --git a/__tests__/buildx/builder.test.ts b/__tests__/buildx/builder.test.ts index dd060f54..f19ef9fb 100644 --- a/__tests__/buildx/builder.test.ts +++ b/__tests__/buildx/builder.test.ts @@ -23,7 +23,7 @@ import {Exec} from '../../src/exec'; import {BuilderInfo} from '../../src/types/buildx/builder'; -const fixturesDir = path.join(__dirname, '..', 'fixtures'); +const fixturesDir = path.join(__dirname, '..', '.fixtures'); jest.spyOn(Builder.prototype, 'inspect').mockImplementation(async (): Promise => { return { diff --git a/__tests__/buildx/buildx.test.itg.ts b/__tests__/buildx/buildx.test.itg.ts index 5ebb0fa8..f4b22a9e 100644 --- a/__tests__/buildx/buildx.test.itg.ts +++ b/__tests__/buildx/buildx.test.itg.ts @@ -25,7 +25,7 @@ import {Build} from '../../src/buildx/build'; import {Bake} from '../../src/buildx/bake'; import {Exec} from '../../src/exec'; -const fixturesDir = path.join(__dirname, '..', 'fixtures'); +const fixturesDir = path.join(__dirname, '..', '.fixtures'); const tmpDir = fs.mkdtempSync(path.join(process.env.TEMP || os.tmpdir(), 'buildx-buildx-itg-')); const maybe = !process.env.GITHUB_ACTIONS || (process.env.GITHUB_ACTIONS === 'true' && process.env.ImageOS && process.env.ImageOS.startsWith('ubuntu')) ? describe : describe.skip; diff --git a/__tests__/buildx/buildx.test.ts b/__tests__/buildx/buildx.test.ts index 3c0793d4..3fa41a47 100644 --- a/__tests__/buildx/buildx.test.ts +++ b/__tests__/buildx/buildx.test.ts @@ -27,7 +27,7 @@ import {Exec} from '../../src/exec'; import {Cert, LocalState} from '../../src/types/buildx/buildx'; -const fixturesDir = path.join(__dirname, '..', 'fixtures'); +const fixturesDir = path.join(__dirname, '..', '.fixtures'); const tmpDir = fs.mkdtempSync(path.join(process.env.TEMP || os.tmpdir(), 'buildx-buildx-')); const tmpName = path.join(tmpDir, '.tmpname-jest'); diff --git a/__tests__/buildx/history.test.itg.ts b/__tests__/buildx/history.test.itg.ts index 0671286a..52e4895f 100644 --- a/__tests__/buildx/history.test.itg.ts +++ b/__tests__/buildx/history.test.itg.ts @@ -25,7 +25,7 @@ import {Build} from '../../src/buildx/build'; import {History} from '../../src/buildx/history'; import {Exec} from '../../src/exec'; -const fixturesDir = path.join(__dirname, '..', 'fixtures'); +const fixturesDir = path.join(__dirname, '..', '.fixtures'); const tmpDir = fs.mkdtempSync(path.join(process.env.TEMP || os.tmpdir(), 'buildx-history-itg-')); const maybe = !process.env.GITHUB_ACTIONS || (process.env.GITHUB_ACTIONS === 'true' && process.env.ImageOS && process.env.ImageOS.startsWith('ubuntu')) ? describe : describe.skip; diff --git a/__tests__/cache.test.itg.ts b/__tests__/cache.test.itg.ts index 02d3b884..a32d4c6b 100644 --- a/__tests__/cache.test.itg.ts +++ b/__tests__/cache.test.itg.ts @@ -21,7 +21,7 @@ import path from 'path'; import {Cache} from '../src/cache'; -const fixturesDir = path.join(__dirname, 'fixtures'); +const fixturesDir = path.join(__dirname, '.fixtures'); const tmpDir = fs.mkdtempSync(path.join(process.env.TEMP || os.tmpdir(), 'cache-itg-')); describe('cache', () => { diff --git a/__tests__/docker/docker.test.ts b/__tests__/docker/docker.test.ts index 0b131135..c0bd65a2 100644 --- a/__tests__/docker/docker.test.ts +++ b/__tests__/docker/docker.test.ts @@ -26,7 +26,7 @@ import {Docker} from '../../src/docker/docker'; import {ConfigFile} from '../../src/types/docker/docker'; -const fixturesDir = path.join(__dirname, '..', 'fixtures'); +const fixturesDir = path.join(__dirname, '..', '.fixtures'); const tmpDir = fs.mkdtempSync(path.join(process.env.TEMP || os.tmpdir(), 'docker-docker-')); afterEach(function () { diff --git a/__tests__/dockerhub.test.ts b/__tests__/dockerhub.test.ts index 971cfb52..50ab3c2f 100644 --- a/__tests__/dockerhub.test.ts +++ b/__tests__/dockerhub.test.ts @@ -21,9 +21,9 @@ import * as path from 'path'; import {DockerHub} from '../src/dockerhub'; import {RepositoryResponse, RepositoryTagsResponse} from '../src/types/dockerhub'; -import repoInfoFixture from './fixtures/dockerhub-repoinfo.json'; -import repoTagsFixture from './fixtures/dockerhub-repotags.json'; -import repoAllTagsFixture from './fixtures/dockerhub-repoalltags.json'; +import repoInfoFixture from './.fixtures/dockerhub-repoinfo.json'; +import repoTagsFixture from './.fixtures/dockerhub-repotags.json'; +import repoAllTagsFixture from './.fixtures/dockerhub-repoalltags.json'; describe('getRepository', () => { it('returns repo info', async () => { diff --git a/__tests__/github.test.itg.ts b/__tests__/github.test.itg.ts index cfa63ada..7a3a7188 100644 --- a/__tests__/github.test.itg.ts +++ b/__tests__/github.test.itg.ts @@ -26,7 +26,7 @@ import {Exec} from '../src/exec'; import {GitHub} from '../src/github'; import {History} from '../src/buildx/history'; -const fixturesDir = path.join(__dirname, 'fixtures'); +const fixturesDir = path.join(__dirname, '.fixtures'); const tmpDir = fs.mkdtempSync(path.join(process.env.TEMP || os.tmpdir(), 'github-itg-')); const maybe = !process.env.GITHUB_ACTIONS || (process.env.GITHUB_ACTIONS === 'true' && process.env.ImageOS && process.env.ImageOS.startsWith('ubuntu')) ? describe : describe.skip; diff --git a/__tests__/github.test.ts b/__tests__/github.test.ts index 54c211a6..4f78cd97 100644 --- a/__tests__/github.test.ts +++ b/__tests__/github.test.ts @@ -22,7 +22,7 @@ import * as core from '@actions/core'; import {GitHub} from '../src/github'; import {GitHubRepo} from '../src/types/github'; -import repoFixture from './fixtures/github-repo.json'; +import repoFixture from './.fixtures/github-repo.json'; jest.spyOn(GitHub.prototype, 'repoData').mockImplementation((): Promise => { return >(repoFixture as unknown); }); @@ -123,7 +123,7 @@ describe('actionsRuntimeToken', () => { }); it('fixture', async () => { process.env.ACTIONS_RUNTIME_TOKEN = fs - .readFileSync(path.join(__dirname, 'fixtures', 'runtimeToken.txt')) + .readFileSync(path.join(__dirname, '.fixtures', 'runtimeToken.txt')) .toString() .trim(); const runtimeToken = GitHub.actionsRuntimeToken; @@ -154,7 +154,7 @@ describe('printActionsRuntimeTokenACs', () => { it('refs/heads/master', async () => { const infoSpy = jest.spyOn(core, 'info'); process.env.ACTIONS_RUNTIME_TOKEN = fs - .readFileSync(path.join(__dirname, 'fixtures', 'runtimeToken.txt')) + .readFileSync(path.join(__dirname, '.fixtures', 'runtimeToken.txt')) .toString() .trim(); await GitHub.printActionsRuntimeTokenACs(); diff --git a/__tests__/oci/oci.test.ts b/__tests__/oci/oci.test.ts index f4201d95..803db122 100644 --- a/__tests__/oci/oci.test.ts +++ b/__tests__/oci/oci.test.ts @@ -22,7 +22,7 @@ import * as rimraf from 'rimraf'; import {OCI} from '../../src/oci/oci'; -const fixturesDir = path.join(__dirname, '..', 'fixtures'); +const fixturesDir = path.join(__dirname, '..', '.fixtures'); const tmpDir = fs.mkdtempSync(path.join(process.env.TEMP || os.tmpdir(), 'oci-oci-')); afterEach(function () { diff --git a/__tests__/util.test.ts b/__tests__/util.test.ts index 2a733d94..ccd083f5 100644 --- a/__tests__/util.test.ts +++ b/__tests__/util.test.ts @@ -165,7 +165,7 @@ FOO=bar` }); it('large multiline values', async () => { - const pgp = fs.readFileSync(path.join(__dirname, 'fixtures', 'pgp.txt'), {encoding: 'utf-8'}); + const pgp = fs.readFileSync(path.join(__dirname, '.fixtures', 'pgp.txt'), {encoding: 'utf-8'}); setInput( 'secrets', `"GPG_KEY=${pgp}"