Skip to content
Snippets Groups Projects
Commit c783747d authored by Adrian K.'s avatar Adrian K.
Browse files

Move to creator-ee

parent d651fc54
No related branches found
No related tags found
No related merge requests found
Pipeline #118711 failed
...@@ -11,11 +11,35 @@ services: ...@@ -11,11 +11,35 @@ services:
build: build:
stage: build stage: build
script: script:
# Install requirements for creator-ee scripts
- apk add curl git bash py3-pip podman
# download creator-ee submodule, as it doesn't get fetched automatically
- git submodule update --init --recursive
# install taskfile, called using "task"
- sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d
# Extend PATH to contain task and ansible (installed later)
- export PATH=$PATH:$(pwd)/bin:/root/.local/bin
# no idea, might be required, was in the repository earlier as well...
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build --pull --build-arg BUILDKIT_INLINE_CACHE=1
--cache-from $CI_REGISTRY_IMAGE:latest # move to the right directory to prepare executing buildscript
--tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA - cd creator-ee
--tag $CI_REGISTRY_IMAGE:latest
"." # https://github.com/webdevops/Dockerfile/issues/266
- docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA - echo 'Ansible refuses to read from a world-writeable folder, hence' && chmod -v 700 $(pwd)
- docker push $CI_REGISTRY_IMAGE:latest
# install ansible to get ansible-galaxy
- python3 -m pip install --user ansible
# finally start building the CI image
- task build
#- docker build --pull --build-arg BUILDKIT_INLINE_CACHE=1
#--cache-from $CI_REGISTRY_IMAGE:latest
#--tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
#--tag $CI_REGISTRY_IMAGE:latest
#"."
# - docker push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA
# - docker push $CI_REGISTRY_IMAGE:latest
[submodule "creator-ee"]
path = creator-ee
url = https://github.com/ansible/creator-ee/
creator-ee @ 10f32189
Subproject commit 10f321890edda4e722c46c0b6f68af9d3debf25f
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment