|
|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
@ -21,8 +16,7 @@ ansible-lint-job:
|
|
|
|
|
- pip install ansible-lint
|
|
|
|
|
script:
|
|
|
|
|
- echo "running ansible-lint to check for linting violations"
|
|
|
|
|
- /home/runner/.local/bin/ansible-lint -c ansible-lint.cfg
|
|
|
|
|
when: manual
|
|
|
|
|
- /usr/local/bin/ansible-lint -c ansible-lint.cfg
|
|
|
|
|
tags:
|
|
|
|
|
- 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"
|
|
|
|
|
- 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
|
|
|
|
|
when: manual
|
|
|
|
|
# only:
|
|
|
|
|
# - master
|
|
|
|
|
# except:
|
|
|
|
|
# - tags
|
|
|
|
|
only:
|
|
|
|
|
- master
|
|
|
|
|
except:
|
|
|
|
|
- tags
|
|
|
|
|
tags:
|
|
|
|
|
- dind
|
|
|
|
|
|