ci: [fix] add missing stages

This commit is contained in:
Dan Anglin 2020-04-23 01:14:14 +01:00
parent ed709517c0
commit 4264900cc4
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638

View file

@ -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}