diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index eea72040..8e237c32 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -62,6 +62,14 @@ jobs: --verbosity 3 working-directory: ./images/awx-ee + - name: Upload AWX-EE context for review + if: matrix.images == 'awx-ee' + uses: actions/upload-artifact@v4 + with: + name: awx-ee-context + path: ./images/awx-ee/context + retention-days: 1 + - name: Build and push the images uses: docker/bake-action@v3.1.0 with: diff --git a/images/awx-ee/execution-environment.yml b/images/awx-ee/execution-environment.yml index 2210a381..3e6fe2a0 100644 --- a/images/awx-ee/execution-environment.yml +++ b/images/awx-ee/execution-environment.yml @@ -25,8 +25,9 @@ additional_build_steps: - LABEL org.opencontainers.image.description="Provides an AWX execution environment image optimised for use with SDP. Built with ansible-builder." - LABEL org.opencontainers.image.source="https://github.com/dpc-sdp/bay/blob/6.x/images/awx-ee/" - ARG LAGOON_CLI_VERSION=v0.15.4 - - ARG NVM_INSTALL_VERSION=v0.39.1 - - ARG NODE_VERSION=v14.15.1 + - ARG NVM_INSTALL_VERSION=v0.39.7 + - ARG NODE_VERSION=v18.17.0 + - ARG NVM_DIR="/runner/.nvm" append_final: - | # Required dependencies. @@ -68,8 +69,9 @@ additional_build_steps: - RUN tar -C /tmp -xvf /tmp/gojq_v0.12.4_linux_amd64.tar.gz - RUN chmod +x /tmp/gojq_v0.12.4_linux_amd64/gojq - RUN mv /tmp/gojq_v0.12.4_linux_amd64/gojq /usr/local/bin - - RUN touch $HOME/.bashrc && chmod +x $HOME/.bashrc - - RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/$NVM_INSTALL_VERSION/install.sh | bash + - RUN touch /runner/.bashrc && chmod +x /runner/.bashrc + - RUN mkdir -p /runner/.nvm && chgrp 0 /runner/.nvm && chmod -R ug+rwx /runner/.nvm + - RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/$NVM_INSTALL_VERSION/install.sh | PROFILE="/runner/.bashrc" bash - RUN curl -L "https://get.helm.sh/helm-v3.12.2-linux-amd64.tar.gz" -o /tmp/helm && tar -xvf /tmp/helm -C /tmp && mv /tmp/linux-amd64/helm /usr/local/bin - RUN chmod +x /usr/local/bin/helm - RUN curl -L https://github.com/google/yamlfmt/releases/download/v0.10.0/yamlfmt_0.10.0_Linux_x86_64.tar.gz --output /tmp/yamlfmt_0.10.0_Linux_x86_64.tar.gz