From 3f2e7c64474e512547ff8a59cb40d5c756bbab46 Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Tue, 12 Oct 2021 11:10:15 +1100 Subject: [PATCH] try a docker runner instead --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c87ba5ee..6c9ddd73 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,6 +69,7 @@ ansiblelint: build_cluster_cicd: stage: openstack_create + image: ubuntu allow_failure: false tags: - heat @@ -78,6 +79,7 @@ build_cluster_cicd: - chmod 400 gc_key.pem - echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh script: + - pip3 install python-cinderclient python-keystoneclient python-novaclient python-openstackclient PyYAML ansible - echo "create stage" - source ./$NECTAR_ALLOCATION-openrc.sh - ssh-keygen -f tmp_key -N "" -t ed25519 @@ -108,9 +110,11 @@ build_cluster_cicd: ansible_create_cluster_stage: stage: ansible_create_cluster_stage + image: ubuntu tags: - ansible script: + - pip3 install python-cinderclient python-keystoneclient python-novaclient python-openstackclient PyYAML ansible - cd CICD - pwd - python3 ./make_files.py ./inventory.yml ./infra/os_vars.yml ./vars/versions.yml -- GitLab