From 4264900cc4044dabc7e955b81a984d962cfe732b Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Thu, 23 Apr 2020 01:14:14 +0100 Subject: [PATCH] ci: [fix] add missing stages --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 82869f1..136c6fa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,7 @@ stages: - apk add --no-cache make test:dockerfile-lint: + stage: test image: hadolint/hadolint:v1.17.5-alpine script: - hadolint ./Dockerfile @@ -28,11 +29,11 @@ test:dockerfile-lint: - master test:docker-image-build: + stage: test extends: .docker-build-setup script: - *install-make - make image - stage: test only: refs: - merge_requests @@ -43,8 +44,8 @@ test:docker-image-build: - master test:custom-modules: - extends: .use-python stage: test + extends: .use-python before_script: - apt-get update && apt-get install make - pip install ansible==2.9.6 @@ -60,6 +61,7 @@ test:custom-modules: - master publish:docker-image: + stage: publish extends: .docker-build-setup before_script: - docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}