|
|
|
@ -4,8 +4,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
# After committing this template, visit CI/CD > Jobs to see the script output.
|
|
|
|
# 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:
|
|
|
|
@ -16,7 +14,7 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
stages:
|
|
|
|
stages:
|
|
|
|
- ansible-lint
|
|
|
|
- ansible-lint
|
|
|
|
- ansible-builder DEV
|
|
|
|
- ansible-builder
|
|
|
|
|
|
|
|
|
|
|
|
ansible-lint-job:
|
|
|
|
ansible-lint-job:
|
|
|
|
stage: ansible-lint
|
|
|
|
stage: ansible-lint
|
|
|
|
@ -29,18 +27,18 @@ ansible-lint-job:
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
- dind
|
|
|
|
- dind
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ansible-builder-job-dev:
|
|
|
|
ansible-builder-job-dev:
|
|
|
|
stage: ansible-builder DEV
|
|
|
|
stage: ansible-builder
|
|
|
|
before_script:
|
|
|
|
before_script:
|
|
|
|
- cd ansible-builder
|
|
|
|
- cd ansible-builder
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- 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
|
|
|
|
|