diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 5d00e3d6..fc4666ef 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -32,43 +32,3 @@ jobs: SLOW_TEST: true run: | make check - - name: alpine - run: | - export PATH=$PATH:$GITHUB_WORKSPACE - git clone https://github.com/alpinelinux/docker-alpine.git - chmod -R a+rwx docker-alpine - cd docker-alpine - TEMPDIR=$(mktemp -d) - stacker convert --docker-file Dockerfile --output-file stacker.yaml --substitute-file stacker-subs.yaml - stacker build -f stacker.yaml --substitute-file stacker-subs.yaml --substitute IMAGE=alpine --substitute STACKER_VOL1="$TEMPDIR" - stacker publish -f stacker.yaml --substitute-file stacker-subs.yaml --substitute IMAGE=alpine --substitute STACKER_VOL1="$TEMPDIR" --skip-tls --url docker://${REGISTRY_URL} --layer alpine --tag latest - rm -f stacker.yaml stacker-subs.yaml - stacker clean - cd $GITHUB_WORKSPACE - rm -rf docker-alpine - - name: elasticsearch - run: | - export PATH=$PATH:$GITHUB_WORKSPACE - git clone https://github.com/elastic/dockerfiles.git - chmod -R a+rwx dockerfiles - cd dockerfiles/elasticsearch - stacker convert --docker-file Dockerfile --output-file stacker.yaml --substitute-file stacker-subs.yaml - stacker build -f stacker.yaml --substitute-file stacker-subs.yaml --substitute IMAGE=elasticsearch - stacker publish -f stacker.yaml --substitute-file stacker-subs.yaml --substitute IMAGE=elasticsearch --skip-tls --url docker://${REGISTRY_URL} --layer elasticsearch --tag latest - rm -f stacker.yaml stacker-subs.yaml - stacker clean - cd $GITHUB_WORKSPACE - rm -rf dockerfiles - - name: python - run: | - export PATH=$PATH:$GITHUB_WORKSPACE - git clone https://github.com/docker-library/python.git - cd python/3.11/alpine3.17 - chmod -R a+rw . - stacker convert --docker-file Dockerfile --output-file stacker.yaml --substitute-file stacker-subs.yaml - stacker build -f stacker.yaml --substitute-file stacker-subs.yaml --substitute IMAGE=python - stacker publish -f stacker.yaml --substitute-file stacker-subs.yaml --substitute IMAGE=python --skip-tls --url docker://${REGISTRY_URL} --layer python --tag latest - rm -f stacker.yaml stacker-subs.yaml - stacker clean - cd $GITHUB_WORKSPACE - rm -rf python diff --git a/test/convert.bats b/test/convert.bats index 478a19fb..fe568f49 100644 --- a/test/convert.bats +++ b/test/convert.bats @@ -32,7 +32,7 @@ EOF mkdir -p /out stacker build -f stacker.yaml --substitute-file stacker-subs.yaml --substitute IMAGE=app if [ -z "${REGISTRY_URL}" ]; then - skip "skipping test because no registry found in REGISTRY_URL env variable" + skip "test because no registry found in REGISTRY_URL env variable" fi stacker publish -f stacker.yaml --substitute-file stacker-subs.yaml --substitute IMAGE=app --skip-tls --url docker://${REGISTRY_URL} --layer app --tag latest rm -f stacker.yaml stacker-subs.yaml @@ -41,7 +41,7 @@ EOF @test "alpine" { if [ -z "${SLOW_TEST}" ]; then - skip "skipping test since slow tests are not enabled" + skip "test since slow tests are not enabled" fi git clone https://github.com/alpinelinux/docker-alpine.git chmod -R a+rwx docker-alpine @@ -58,7 +58,7 @@ EOF @test "elasticsearch" { if [ -z "${SLOW_TEST}" ]; then - skip "skipping test since slow tests are not enabled" + skip "test since slow tests are not enabled" fi git clone https://github.com/elastic/dockerfiles.git chmod -R a+rwx dockerfiles @@ -74,7 +74,7 @@ EOF @test "python" { if [ -z "${SLOW_TEST}" ]; then - skip "skipping test since slow tests are not enabled" + skip "test since slow tests are not enabled" fi git clone https://github.com/docker-library/python.git cd python/3.11/alpine3.17