Skip to content

Commit d3bc887

Browse files
committed
ci: fix failing supervisord tests
1 parent 9847d9b commit d3bc887

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,13 @@ jobs:
9292
files: |
9393
./docker-bake.hcl
9494
${{ steps.meta.outputs.bake-file }}
95+
push: false
9596
set: |
9697
*.tags=
9798
*.platform=linux/${{ matrix.builder.arch }}
9899
*.cache-from=type=gha,scope=build-${{ env.PLATFORM_CACHE_TAG }}
99100
*.cache-to=type=gha,scope=build-${{ env.PLATFORM_CACHE_TAG }}
100-
*.output=type=docker,"name=${{ env.DOCKER_NAMESPACE }},${{ env.GHCR_NAMESPACE }}",name-canonical=true,push=false
101+
*.output=type=docker,"name=${{ env.DOCKER_NAMESPACE }},${{ env.GHCR_NAMESPACE }}",name-canonical=true
101102
102103
- name: 🧪 Test Docker image
103104
run: |

Makefile

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ PHONY: build-from-cache
8282

8383
test: ## Run dgoss tests over docker images
8484
set -eux
85-
GOSS_FILES_STRATEGY=cp GOSS_FILES_PATH=$(DOCKERFILE_DIR) dgoss run -t $(IMAGE_TAG)
85+
GOSS_SLEEP="0.4" GOSS_WAIT_OPTS="-r 40s -s 2s > /dev/stdout" GOSS_FILES_STRATEGY=cp GOSS_FILES_PATH=$(DOCKERFILE_DIR) dgoss run -t $(IMAGE_TAG)
8686
.PHONY: test
8787

8888
pull: ## Pulls docker image from upstream
@@ -125,19 +125,13 @@ lint-ansible: ## Lint ansible files inside project
125125
.PHONY: lint-ansible
126126

127127
lint-docker: ## Run hadolint linter over dist Dockerfiles
128-
hadolint -V ./dist/dev/7.4-cli-alpine/Dockerfile
129-
hadolint -V ./dist/dev/7.4-fpm-alpine/Dockerfile
130-
hadolint -V ./dist/dev/7.4-fpm-supervisord/Dockerfile
131-
hadolint -V ./dist/dev/8.0-cli-alpine/Dockerfile
132-
hadolint -V ./dist/dev/8.0-fpm-alpine/Dockerfile
133-
hadolint -V ./dist/dev/8.0-fpm-supervisord/Dockerfile
134128
hadolint -V ./dist/dev/8.1-cli-alpine/Dockerfile
135129
hadolint -V ./dist/dev/8.1-fpm-alpine/Dockerfile
136-
hadolint -V ./dist/dev/8.1-fpm-supervisord/Dockerfile
130+
hadolint -V ./dist/dev/8.1-supervisord-alpine/Dockerfile
137131
hadolint -V ./dist/dev/8.2-cli-alpine/Dockerfile
138132
hadolint -V ./dist/dev/8.2-fpm-alpine/Dockerfile
139-
hadolint -V ./dist/dev/8.2-fpm-supervisord/Dockerfile
133+
hadolint -V ./dist/dev/8.2-supervisord-alpine/Dockerfile
140134
hadolint -V ./dist/dev/8.3-cli-alpine/Dockerfile
141135
hadolint -V ./dist/dev/8.3-fpm-alpine/Dockerfile
142-
hadolint -V ./dist/dev/8.3-fpm-supervisord/Dockerfile
136+
hadolint -V ./dist/dev/8.3-supervisord-alpine/Dockerfile
143137
.PHONY: lint-docker

0 commit comments

Comments
 (0)