ci: [fix] add missing stages
This commit is contained in:
parent
ed709517c0
commit
4264900cc4
1 changed files with 4 additions and 2 deletions
|
@ -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}
|
||||
|
|
Reference in a new issue