diff --git a/.zuul.yaml b/.zuul.yaml index 2c918ce24..b804759b5 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -24,14 +24,12 @@ - treasuremap-airskiff-suse-site-lint - treasuremap-airsloop-site-lint - treasuremap-aiab-site-lint - # deprecated - # - treasuremap-airskiff-deployment-ubuntu - # disabled # TODO # update OSH charts vaoues in manifests and add more # charts to full-site manifests # - treasuremap-airskiff-multinode-full-site - treasuremap-airskiff-1node-reduced-site + - treasuremap-airskiff-1node-reduced-site-armada-operator gate: jobs: - treasuremap-seaworthy-site-lint @@ -206,6 +204,39 @@ - ./tools/gate/wait-for-shipyard.sh # - ./tools/deployment/airskiff/common/sleep.sh +- job: + name: treasuremap-airskiff-1node-reduced-site-armada-operator + parent: treasuremap-airskiff-infra-deploy + nodeset: treasuremap-airskiff-1node-ubuntu_focal + description: | + Deploy Openstack using Airskiff and latest Treasuremap changes. + Airskiff is using latest Airship v1.x based on Airflow-2.6.2 + voting: true + vars: + site: airskiff + HELM_ARTIFACT_URL: https://get.helm.sh/helm-v3.13.2-linux-amd64.tar.gz + HTK_COMMIT: cfff60ec10a6c386f38db79bb9f59a552c2b032f + OSH_INFRA_COMMIT: cfff60ec10a6c386f38db79bb9f59a552c2b032f + OSH_COMMIT: 2d9457e34ca4200ed631466bd87569b0214c92e7 + USE_ARMADA_GO: true + gate_scripts_relative_path: . + gate_scripts: + - ./tools/deployment/airskiff/developer/000-prepare-k8s.sh + - ./tools/deployment/airskiff/developer/009-setup-apparmor.sh + - ./tools/deployment/airskiff/developer/000-clone-dependencies.sh + - ./tools/deployment/airskiff/developer/020-setup-client.sh + - ./tools/deployment/airskiff/developer/015-make-all-charts.sh + - ./tools/deployment/airskiff/developer/017-make-all-images.sh + - ./tools/deployment/airskiff/developer/025-start-artifactory.sh + - ./tools/deployment/airskiff/developer/026-reduce-site.sh + - ./tools/deployment/airskiff/developer/027-enable-armada-operator.sh + - ./tools/deployment/airskiff/common/sleep.sh + - ./tools/deployment/airskiff/developer/030-armada-bootstrap.sh + - ./tools/deployment/airskiff/developer/100-deploy-osh.sh + - ./tools/deployment/airskiff/common/os-env.sh + - ./tools/gate/wait-for-shipyard.sh + # - ./tools/deployment/airskiff/common/sleep.sh + - job: name: treasuremap-site-lint diff --git a/global/software/charts/ucp/armada/armada.yaml b/global/software/charts/ucp/armada/armada.yaml index dd339b2f0..6f946c1f5 100644 --- a/global/software/charts/ucp/armada/armada.yaml +++ b/global/software/charts/ucp/armada/armada.yaml @@ -25,7 +25,12 @@ metadata: path: .images.ucp.armada dest: path: .values.images.tags - + - src: + schema: pegleg/SoftwareVersions/v1 + name: software-versions + path: .images.ucp.armada.go + dest: + path: .values.images.tags.api # Endpoints - src: schema: pegleg/EndpointCatalogue/v1 diff --git a/global/software/config/versions.yaml b/global/software/config/versions.yaml index c7fccb840..ba7c6de5c 100644 --- a/global/software/config/versions.yaml +++ b/global/software/config/versions.yaml @@ -790,11 +790,15 @@ data: ucp: armada: api: quay.io/airshipit/armada:latest-ubuntu_focal + go: quay.io/airshipit/armada-go:latest-ubuntu_focal + operator: quay.io/airshipit/armada-operator:latest-ubuntu_focal dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0 helm: docker.io/lachlanevenson/k8s-helm:v2.16.9 ks_endpoints: docker.io/openstackhelm/heat:newton ks_service: docker.io/openstackhelm/heat:newton ks_user: docker.io/openstackhelm/heat:newton + image_repo_sync: docker.io/docker:17.07.0 + test: quay.io/airshipit/porthole-compute-utility:latest-ubuntu_focal tiller: ghcr.io/helm/tiller:v2.17.0 barbican: bootstrap: docker.io/openstackhelm/heat:wallaby-ubuntu_focal diff --git a/tools/airship b/tools/airship index ae3be9355..e4105e69c 100755 --- a/tools/airship +++ b/tools/airship @@ -215,6 +215,21 @@ armada() { } +armada-go() { + + versions_lookup "['data']['images']['ucp']['armada']['go']" + + IMAGE_ARMADA_GO=$IMAGE_URL + docker run --rm --net host $TERM_OPTS \ + -u "${USER}:${GROUP}" \ + -v ${HOME}/.kube/config:/armada/.kube/config \ + -v "$(pwd)"/airskiff.yaml:/airskiff.yaml \ + -v "${REPO_DIR}"/../:/airship-components \ + --env-file $ENV_FILE \ + $IMAGE_ARMADA_GO $@ + +} + case "$1" in 'pegleg') @@ -231,6 +246,10 @@ case "$1" in shift; armada $@ ;; +'armada-go') + shift; + armada-go $@ + ;; *) help exit 1 ;; diff --git a/tools/deployment/airskiff/common/sleep.sh b/tools/deployment/airskiff/common/sleep.sh index e379bf927..97ff438b6 100755 --- a/tools/deployment/airskiff/common/sleep.sh +++ b/tools/deployment/airskiff/common/sleep.sh @@ -1,5 +1,16 @@ #!/bin/bash -set -ex +env_output=$(env) +# Loop through each line of the env output +while IFS= read -r line; do + # Extract the variable name and value + variable=$(echo "$line" | cut -d= -f1) + value=$(echo "$line" | cut -d= -f2-) + + # Print the export command + echo "export $variable=\"$value\"" +done <<< "$env_output" + +Echo "Sleeping.............." while true; do sleep 10; done diff --git a/tools/deployment/airskiff/developer/000-clone-dependencies.sh b/tools/deployment/airskiff/developer/000-clone-dependencies.sh index 662e30a00..73762a9a7 100755 --- a/tools/deployment/airskiff/developer/000-clone-dependencies.sh +++ b/tools/deployment/airskiff/developer/000-clone-dependencies.sh @@ -21,6 +21,8 @@ set -xe : "${OSH_COMMIT:="2d9457e34ca4200ed631466bd87569b0214c92e7"}" : "${OSH_INFRA_COMMIT:="cfff60ec10a6c386f38db79bb9f59a552c2b032f"}" : "${CLONE_ARMADA:=true}" +: "${CLONE_ARMADA_GO:=true}" +: "${CLONE_ARMADA_OPERATOR:=true}" : "${CLONE_DECKHAND:=true}" : "${CLONE_SHIPYARD:=true}" : "${CLONE_PORTHOLE:=true}" @@ -29,6 +31,8 @@ set -xe : "${CLONE_OSH:=true}" CLONE_ARMADA=$(echo "$CLONE_ARMADA" | tr '[:upper:]' '[:lower:]') +CLONE_ARMADA_GO=$(echo "$CLONE_ARMADA_GO" | tr '[:upper:]' '[:lower:]') +CLONE_ARMADA_OPERATOR=$(echo "$CLONE_ARMADA_OPERATOR" | tr '[:upper:]' '[:lower:]') CLONE_DECKHAND=$(echo "$CLONE_DECKHAND" | tr '[:upper:]' '[:lower:]') CLONE_SHIPYARD=$(echo "$CLONE_SHIPYARD" | tr '[:upper:]' '[:lower:]') CLONE_PORTHOLE=$(echo "$CLONE_PORTHOLE" | tr '[:upper:]' '[:lower:]') @@ -37,6 +41,8 @@ CLONE_MAAS=$(echo "$CLONE_MAAS" | tr '[:upper:]' '[:lower:]') CLONE_OSH=$(echo "$CLONE_OSH" | tr '[:upper:]' '[:lower:]') export CLONE_ARMADA +export CLONE_ARMADA_GO +export CLONE_ARMADA_OPERATOR export CLONE_DECKHAND export CLONE_SHIPYARD export CLONE_PORTHOLE @@ -50,6 +56,12 @@ cd "${INSTALL_PATH}" if [[ ${CLONE_ARMADA} = true ]] ; then git clone https://opendev.org/airship/armada.git fi +if [[ ${CLONE_ARMADA_GO} = true ]] ; then + git clone https://opendev.org/airship/armada-go.git +fi +if [[ ${CLONE_ARMADA_OPERATOR} = true ]] ; then + git clone https://opendev.org/airship/armada-operator.git +fi if [[ ${CLONE_DECKHAND} = true ]] ; then git clone https://opendev.org/airship/deckhand.git fi diff --git a/tools/deployment/airskiff/developer/017-make-all-images.sh b/tools/deployment/airskiff/developer/017-make-all-images.sh index 7f59521b6..b6a93d074 100755 --- a/tools/deployment/airskiff/developer/017-make-all-images.sh +++ b/tools/deployment/airskiff/developer/017-make-all-images.sh @@ -22,6 +22,8 @@ CURRENT_DIR="$(pwd)" : "${DISTRO:=ubuntu_focal}" : "${DOCKER_REGISTRY:=localhost:5000}" : "${MAKE_ARMADA_IMAGES:=false}" +: "${MAKE_ARMADA_GO_IMAGES:=false}" +: "${MAKE_ARMADA_OPERATOR_IMAGES:=false}" : "${MAKE_DECKHAND_IMAGES:=false}" : "${MAKE_SHIPYARD_IMAGES:=false}" : "${MAKE_PORTHOLE_IMAGES:=false}" @@ -29,12 +31,16 @@ CURRENT_DIR="$(pwd)" # Convert both values to lowercase (or uppercase) MAKE_ARMADA_IMAGES=$(echo "$MAKE_ARMADA_IMAGES" | tr '[:upper:]' '[:lower:]') +MAKE_ARMADA_GO_IMAGES=$(echo "$MAKE_ARMADA_GO_IMAGES" | tr '[:upper:]' '[:lower:]') +MAKE_ARMADA_OPERATOR_IMAGES=$(echo "$MAKE_ARMADA_OPERATOR_IMAGES" | tr '[:upper:]' '[:lower:]') MAKE_DECKHAND_IMAGES=$(echo "$MAKE_DECKHAND_IMAGES" | tr '[:upper:]' '[:lower:]') MAKE_SHIPYARD_IMAGES=$(echo "$MAKE_SHIPYARD_IMAGES" | tr '[:upper:]' '[:lower:]') MAKE_PORTHOLE_IMAGES=$(echo "$MAKE_PORTHOLE_IMAGES" | tr '[:upper:]' '[:lower:]') MAKE_PROMENADE_IMAGES=$(echo "$MAKE_PROMENADE_IMAGES" | tr '[:upper:]' '[:lower:]') export MAKE_ARMADA_IMAGES +export MAKE_ARMADA_GO_IMAGES +export MAKE_ARMADA_OPERATOR_IMAGES export MAKE_DECKHAND_IMAGES export MAKE_SHIPYARD_IMAGES export MAKE_PORTHOLE_IMAGES @@ -58,6 +64,26 @@ if [[ ${MAKE_ARMADA_IMAGES} = true ]] ; then sed -i "s#quay.io/airshipit/armada:latest-${DISTRO}#${DOCKER_REGISTRY}/airshipit/armada:latest-${DISTRO}#g" ./global/software/config/versions.yaml popd fi +if [[ ${MAKE_ARMADA_GO_IMAGES} = true ]] ; then + pushd armada-go + make images + docker push "${DOCKER_REGISTRY}/airshipit/armada-go:latest-${DISTRO}" + popd + pushd treasuremap + sed -i "s#quay.io/airshipit/armada-go:latest-${DISTRO}#${DOCKER_REGISTRY}/airshipit/armada-go:latest-${DISTRO}#g" ./site/airskiff/software/config/versions.yaml + sed -i "s#quay.io/airshipit/armada-go:latest-${DISTRO}#${DOCKER_REGISTRY}/airshipit/armada-go:latest-${DISTRO}#g" ./global/software/config/versions.yaml + popd +fi +if [[ ${MAKE_ARMADA_OPERATOR_IMAGES} = true ]] ; then + pushd armada-operator + make images + docker push "${DOCKER_REGISTRY}/airshipit/armada-operator:latest-${DISTRO}" + popd + pushd treasuremap + sed -i "s#quay.io/airshipit/armada-operator:latest-${DISTRO}#${DOCKER_REGISTRY}/airshipit/armada-operator:latest-${DISTRO}#g" ./site/airskiff/software/config/versions.yaml + sed -i "s#quay.io/airshipit/armada-operator:latest-${DISTRO}#${DOCKER_REGISTRY}/airshipit/armada-operator:latest-${DISTRO}#g" ./global/software/config/versions.yaml + popd +fi if [[ ${MAKE_DECKHAND_IMAGES} = true ]] ; then pushd deckhand make images diff --git a/tools/deployment/airskiff/developer/027-enable-armada-operator.sh b/tools/deployment/airskiff/developer/027-enable-armada-operator.sh new file mode 100755 index 000000000..435c4d897 --- /dev/null +++ b/tools/deployment/airskiff/developer/027-enable-armada-operator.sh @@ -0,0 +1,4 @@ +#!/bin/bash + + +cp -a tools/gate/manifests/armada.yaml global/software/charts/ucp/armada/armada.yaml diff --git a/tools/deployment/airskiff/developer/030-armada-bootstrap.sh b/tools/deployment/airskiff/developer/030-armada-bootstrap.sh index 7a00ab74a..ea03ee1dc 100755 --- a/tools/deployment/airskiff/developer/030-armada-bootstrap.sh +++ b/tools/deployment/airskiff/developer/030-armada-bootstrap.sh @@ -21,8 +21,12 @@ set -xe : "${PEGLEG:="./tools/airship pegleg"}" : "${PL_SITE:="airskiff"}" : "${ARMADA:="./tools/airship armada"}" +: "${ARMADA_GO:="./tools/airship armada-go"}" : "${TARGET_MANIFEST:="cluster-bootstrap"}" +: "${USE_ARMADA_GO:=false}" +USE_ARMADA_GO=$(echo "$USE_ARMADA_GO" | tr '[:upper:]' '[:lower:]') +export USE_ARMADA_GO # Render documents ${PEGLEG} site -r . render "${PL_SITE}" -o airskiff.yaml @@ -36,8 +40,11 @@ sudo chmod 0644 airskiff.yaml # sudo chmod 0644 ~/.kube/config # Download latest Armada image and deploy Airship components -${ARMADA} apply /airskiff.yaml --debug --target-manifest "${TARGET_MANIFEST}" - +if [[ ${USE_ARMADA_GO} = true ]] ; then + ${ARMADA_GO} apply /airskiff.yaml --debug --target-manifest "${TARGET_MANIFEST}" +else + ${ARMADA} apply /airskiff.yaml --debug --target-manifest "${TARGET_MANIFEST}" +fi # # Set back permissions of the files sudo chmod "${AIRSKIFF_PERMISSIONS}" airskiff.yaml # sudo chmod "${KUBE_CONFIG_PERMISSIONS}" ~/.kube/config diff --git a/tools/gate/manifests/armada.yaml b/tools/gate/manifests/armada.yaml new file mode 100644 index 000000000..4faacff12 --- /dev/null +++ b/tools/gate/manifests/armada.yaml @@ -0,0 +1,117 @@ +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: ucp-armada + labels: + name: ucp-armada-global + layeringDefinition: + abstract: false + layer: global + storagePolicy: cleartext + substitutions: + # Chart source + - src: + schema: pegleg/SoftwareVersions/v1 + name: software-versions + path: .charts.ucp.armada + dest: + path: .source + + # Images + - src: + schema: pegleg/SoftwareVersions/v1 + name: software-versions + path: .images.ucp.armada + dest: + path: .values.images.tags + + - src: + schema: pegleg/SoftwareVersions/v1 + name: software-versions + path: .images.ucp.armada + dest: + path: .values.images.tags + + # Endpoints + - src: + schema: pegleg/EndpointCatalogue/v1 + name: ucp_endpoints + path: .ucp.identity + dest: + path: .values.endpoints.identity + - src: + schema: pegleg/EndpointCatalogue/v1 + name: ucp_endpoints + path: .ucp.armada + dest: + path: .values.endpoints.armada + + # Credentials + - src: + schema: pegleg/AccountCatalogue/v1 + name: ucp_service_accounts + path: .ucp.keystone.admin + dest: + path: .values.endpoints.identity.auth.admin + - src: + schema: pegleg/AccountCatalogue/v1 + name: ucp_service_accounts + path: .ucp.armada.keystone + dest: + path: .values.endpoints.identity.auth.user + + # Secrets + - dest: + path: .values.endpoints.identity.auth.admin.password + src: + schema: deckhand/Passphrase/v1 + name: ucp_keystone_admin_password + path: . + - dest: + path: .values.endpoints.identity.auth.user.password + src: + schema: deckhand/Passphrase/v1 + name: ucp_armada_keystone_password + path: . +data: + chart_name: armada + release: ucp-armada + namespace: ucp + wait: + timeout: 100 + labels: + release_group: airship-ucp-armada + install: + no_hooks: false + upgrade: + no_hooks: false + pre: + delete: + - type: job + labels: + release_group: airship-ucp-armada + values: + pod: + replicas: + api: 2 + env: + armada_api: + - name: ARMADA_UWSGI_TIMEOUT + value: 14400 + conf: + armada: + DEFAULT: + debug: true + enable_operator: true + tiller_namespace: kube-system + manifests: + deployment_tiller: false + service_tiller_deploy: false + network: + api: + ingress: + classes: + namespace: "ucp-ingress" + cluster: "ucp-ingress" +... diff --git a/tools/gate/playbooks/prepare-hosts.yaml b/tools/gate/playbooks/prepare-hosts.yaml index c64aa0d65..c9b02e0f0 100644 --- a/tools/gate/playbooks/prepare-hosts.yaml +++ b/tools/gate/playbooks/prepare-hosts.yaml @@ -13,5 +13,9 @@ --- - hosts: all roles: + - role: add-authorized-keys + public_keys: + - public_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDA7eM8WFJrqQmki8rR0O3QBHyl8xq42jb1RduwuRwjWoGYJI5cX7Fx+7VR4A9ITCoiqxKS8DMfgKbt5jKC6SmvMALULZsnYlthB34KywurgxsW6fgp68DHWQ7J4CCBhoIpl0W3JW7s6b0vHLhab59r0E+AYemBVuWUqbFEy8nDAHcQv1S/2o1udhmljIN7c2ogO4KAJ7Lge0BoIP9ps4u6AVwyQZixp4anU9DHGNA/UQj4M5UyuALj5buEAuATBe9Vqj4sOvZjObPJAGPUrNRrGEWAFk+lSZHRzKXo0eeWtPqoh5UN9UDb5Pocg1krncMIZwjHKovlD1z/O1y91aY5LM1wxm/7aaIiX8eCihyVZaOuDCLF7WDT2SMs7ABcotX2MDtVQTrNNV3MmMAScFNDflzPKszd7cdjLl6PBq8bvPxmCkLmnitPTGOoh9d8i+JlbINvgx1pguYrpeciIyreCO1rjTW3MgB0tyoMEa31V+7HrauBMeNnE68YTqLTIB0= smarkin@mirantis.com + - start-zuul-console ... diff --git a/tools/gate/playbooks/roles/airship-run-script-set/defaults/main.yaml b/tools/gate/playbooks/roles/airship-run-script-set/defaults/main.yaml index 725f4b23e..7c0841487 100644 --- a/tools/gate/playbooks/roles/airship-run-script-set/defaults/main.yaml +++ b/tools/gate/playbooks/roles/airship-run-script-set/defaults/main.yaml @@ -26,12 +26,9 @@ OSH_COMMIT: 2d9457e34ca4200ed631466bd87569b0214c92e7 COREDNS_VERSION: v1.11.1 DISTRO: ubuntu_focal DOCKER_REGISTRY: quay.io -MAKE_ARMADA_IMAGES: false -MAKE_DECKHAND_IMAGES: false -MAKE_SHIPYARD_IMAGES: false -MAKE_PORTHOLE_IMAGES: false -MAKE_PROMENADE_IMAGES: false CLONE_ARMADA: true +CLONE_ARMADA_GO: true +CLONE_ARMADA_OPERATOR: true CLONE_DECKHAND: true CLONE_SHIPYARD: true CLONE_PORTHOLE: true @@ -39,9 +36,11 @@ CLONE_PROMENADE: true CLONE_MAAS: true CLONE_OSH: true MAKE_ARMADA_IMAGES: false +MAKE_ARMADA_GO_IMAGES: false +MAKE_ARMADA_OPERATOR_IMAGES: false MAKE_DECKHAND_IMAGES: false MAKE_SHIPYARD_IMAGES: false -MAKE_DECKHAND_IMAGES: false MAKE_PORTHOLE_IMAGES: false MAKE_PROMENADE_IMAGES: false +USE_ARMADA_GO: false ... diff --git a/tools/gate/playbooks/roles/airship-run-script-set/tasks/main.yaml b/tools/gate/playbooks/roles/airship-run-script-set/tasks/main.yaml index 4129a2c19..de28e39b7 100644 --- a/tools/gate/playbooks/roles/airship-run-script-set/tasks/main.yaml +++ b/tools/gate/playbooks/roles/airship-run-script-set/tasks/main.yaml @@ -42,12 +42,9 @@ COREDNS_VERSION: "{{ coredns_version | default('v1.11.1') }}" DISTRO: "{{ DISTRO | default('ubuntu_focal') }}" DOCKER_REGISTRY: "{{ DOCKER_REGISTRY | default('quay.io') }}" - MAKE_ARMADA_IMAGES: "{{ MAKE_ARMADA_IMAGES | default('false') }}" - MAKE_DECKHAND_IMAGES: "{{ MAKE_DECKHAND_IMAGES | default('false') }}" - MAKE_SHIPYARD_IMAGES: "{{ MAKE_SHIPYARD_IMAGES | default('false') }}" - MAKE_PORTHOLE_IMAGES: "{{ MAKE_PORTHOLE_IMAGES | default('false') }}" - MAKE_PROMENADE_IMAGES: "{{ MAKE_PROMENADE_IMAGES | default('false') }}" CLONE_ARMADA: "{{ CLONE_ARMADA | default('true') }}" + CLONE_ARMADA_GO: "{{ CLONE_ARMADA_GO | default('true') }}" + CLONE_ARMADA_OPERATOR: "{{ CLONE_ARMADA_OPERATOR | default('true') }}" CLONE_DECKHAND: "{{ CLONE_DECKHAND | default('true') }}" CLONE_SHIPYARD: "{{ CLONE_SHIPYARD | default('true') }}" CLONE_PORTHOLE: "{{ CLONE_PORTHOLE | default('true') }}" @@ -55,11 +52,13 @@ CLONE_MAAS: "{{ CLONE_MAAS | default('true') }}" CLONE_OSH: "{{ CLONE_OSH | default('true') }}" MAKE_ARMADA_IMAGES: "{{ MAKE_ARMADA_IMAGES | default('false') }}" + MAKE_ARMADA_GO_IMAGES: "{{ MAKE_ARMADA_GO_IMAGES | default('false') }}" + MAKE_ARMADA_OPERATOR_IMAGES: "{{ MAKE_ARMADA_OPERATOR_IMAGES | default('false') }}" MAKE_DECKHAND_IMAGES: "{{ MAKE_DECKHAND_IMAGES | default('false') }}" MAKE_SHIPYARD_IMAGES: "{{ MAKE_SHIPYARD_IMAGES | default('false') }}" - MAKE_DECKHAND_IMAGES: "{{ MAKE_DECKHAND_IMAGES | default('false') }}" MAKE_PORTHOLE_IMAGES: "{{ MAKE_PORTHOLE_IMAGES | default('false') }}" MAKE_PROMENADE_IMAGES: "{{ MAKE_PROMENADE_IMAGES | default('false') }}" + USE_ARMADA_GO: "{{ USE_ARMADA_GO | default('false') }}" # NOTE(aostapenko) using bigger than async_status timeout due to async_status issue with # not recognizing timed out jobs: https://github.com/ansible/ansible/issues/25637 async: 3600 diff --git a/tools/gate/playbooks/roles/airship-run-script/defaults/main.yaml b/tools/gate/playbooks/roles/airship-run-script/defaults/main.yaml index 725f4b23e..d6dff60a0 100644 --- a/tools/gate/playbooks/roles/airship-run-script/defaults/main.yaml +++ b/tools/gate/playbooks/roles/airship-run-script/defaults/main.yaml @@ -26,12 +26,10 @@ OSH_COMMIT: 2d9457e34ca4200ed631466bd87569b0214c92e7 COREDNS_VERSION: v1.11.1 DISTRO: ubuntu_focal DOCKER_REGISTRY: quay.io -MAKE_ARMADA_IMAGES: false -MAKE_DECKHAND_IMAGES: false -MAKE_SHIPYARD_IMAGES: false -MAKE_PORTHOLE_IMAGES: false -MAKE_PROMENADE_IMAGES: false + CLONE_ARMADA: true +CLONE_ARMADA_GO: true +CLONE_ARMADA_OPERATOR: true CLONE_DECKHAND: true CLONE_SHIPYARD: true CLONE_PORTHOLE: true @@ -39,9 +37,11 @@ CLONE_PROMENADE: true CLONE_MAAS: true CLONE_OSH: true MAKE_ARMADA_IMAGES: false +MAKE_ARMADA_GO_IMAGES: false +MAKE_ARMADA_OPERATOR_IMAGES: false MAKE_DECKHAND_IMAGES: false MAKE_SHIPYARD_IMAGES: false -MAKE_DECKHAND_IMAGES: false MAKE_PORTHOLE_IMAGES: false MAKE_PROMENADE_IMAGES: false +USE_ARMADA_GO: false ... diff --git a/tools/gate/playbooks/roles/airship-run-script/tasks/main.yaml b/tools/gate/playbooks/roles/airship-run-script/tasks/main.yaml index 0faf38eaf..811319b82 100644 --- a/tools/gate/playbooks/roles/airship-run-script/tasks/main.yaml +++ b/tools/gate/playbooks/roles/airship-run-script/tasks/main.yaml @@ -39,12 +39,9 @@ COREDNS_VERSION: "{{ coredns_version | default('v1.11.1') }}" DISTRO: "{{ DISTRO | default('ubuntu_focal') }}" DOCKER_REGISTRY: "{{ DOCKER_REGISTRY | default('quay.io') }}" - MAKE_ARMADA_IMAGES: "{{ MAKE_ARMADA_IMAGES | default('false') }}" - MAKE_DECKHAND_IMAGES: "{{ MAKE_DECKHAND_IMAGES | default('false') }}" - MAKE_SHIPYARD_IMAGES: "{{ MAKE_SHIPYARD_IMAGES | default('false') }}" - MAKE_PORTHOLE_IMAGES: "{{ MAKE_PORTHOLE_IMAGES | default('false') }}" - MAKE_PROMENADE_IMAGES: "{{ MAKE_PROMENADE_IMAGES | default('false') }}" CLONE_ARMADA: "{{ CLONE_ARMADA | default('true') }}" + CLONE_ARMADA_GO: "{{ CLONE_ARMADA_GO | default('true') }}" + CLONE_ARMADA_OPERATOR: "{{ CLONE_ARMADA_OPERATOR | default('true') }}" CLONE_DECKHAND: "{{ CLONE_DECKHAND | default('true') }}" CLONE_SHIPYARD: "{{ CLONE_SHIPYARD | default('true') }}" CLONE_PORTHOLE: "{{ CLONE_PORTHOLE | default('true') }}" @@ -52,9 +49,11 @@ CLONE_MAAS: "{{ CLONE_MAAS | default('true') }}" CLONE_OSH: "{{ CLONE_OSH | default('true') }}" MAKE_ARMADA_IMAGES: "{{ MAKE_ARMADA_IMAGES | default('false') }}" + MAKE_ARMADA_GO_IMAGES: "{{ MAKE_ARMADA_GO_IMAGES | default('false') }}" + MAKE_ARMADA_OPERATOR_IMAGES: "{{ MAKE_ARMADA_OPERATOR_IMAGES | default('false') }}" MAKE_DECKHAND_IMAGES: "{{ MAKE_DECKHAND_IMAGES | default('false') }}" MAKE_SHIPYARD_IMAGES: "{{ MAKE_SHIPYARD_IMAGES | default('false') }}" - MAKE_DECKHAND_IMAGES: "{{ MAKE_DECKHAND_IMAGES | default('false') }}" MAKE_PORTHOLE_IMAGES: "{{ MAKE_PORTHOLE_IMAGES | default('false') }}" MAKE_PROMENADE_IMAGES: "{{ MAKE_PROMENADE_IMAGES | default('false') }}" + USE_ARMADA_GO: "{{ USE_ARMADA_GO | default('false') }}" ...