DEV-317: feat enable building image after passing ansible-lint job

master
Görz, Friedrich 4 years ago committed by Ketelsen, Sven
parent 6bd573ec24
commit 3e07d6fe5d

@ -1,9 +1,4 @@
# This file is a template, and might need editing before it works on your project. ---
# This file is a template demonstrating the `script` keyword.
# Learn more about this keyword here: https://docs.gitlab.com/ee/ci/yaml/README.html#script
# After committing this template, visit CI/CD > Jobs to see the script output.
image: docker-cache.dev-at.de/docker:19 image: docker-cache.dev-at.de/docker:19
services: services:
@ -21,8 +16,7 @@ ansible-lint-job:
- pip install ansible-lint - pip install ansible-lint
script: script:
- echo "running ansible-lint to check for linting violations" - echo "running ansible-lint to check for linting violations"
- /home/runner/.local/bin/ansible-lint -c ansible-lint.cfg - /usr/local/bin/ansible-lint -c ansible-lint.cfg
when: manual
tags: tags:
- dind - dind
@ -34,10 +28,9 @@ ansible-builder-job-dev:
- echo "running ansible-build to build dev-harbor-01.smardigo.digital/awx/awx-custom-ee:latest" - echo "running ansible-build to build dev-harbor-01.smardigo.digital/awx/awx-custom-ee:latest"
- ansible-builder build --tag dev-harbor-01.smardigo.digital/awx/awx-custom-ee:latest - ansible-builder build --tag dev-harbor-01.smardigo.digital/awx/awx-custom-ee:latest
- docker push dev-harbor-01.smardigo.digital/awx/awx-custom-ee:latest - docker push dev-harbor-01.smardigo.digital/awx/awx-custom-ee:latest
when: manual only:
# only: - master
# - master except:
# except: - tags
# - tags
tags: tags:
- dind - dind

Loading…
Cancel
Save