Skip to content

Commit

Permalink
[DDS-1871] Updated default user home path. (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen authored Feb 22, 2024
1 parent cc3ea16 commit d94ba3c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
Expand Down
10 changes: 6 additions & 4 deletions images/awx-ee/execution-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d94ba3c

Please sign in to comment.