diff --git a/.github/workflows/gh-build.yml b/.github/workflows/gh-build.yml index c3ae0213a..ac9d47cc5 100644 --- a/.github/workflows/gh-build.yml +++ b/.github/workflows/gh-build.yml @@ -98,7 +98,7 @@ jobs: run: | IMAGE_TAG=${{ env.IMAGE_NAME }}:${{ inputs.sha }} mkdir -p artifacts - docker run -v "$(pwd)/artifacts:/home/coder/.artifacts" --rm -t $IMAGE_TAG copy-artifacts ${{ inputs.build-type }} + docker run -v "$(pwd)/artifacts:/root/.artifacts" --rm -t $IMAGE_TAG copy-artifacts ${{ inputs.build-type }} - name: Display structure of workdir run: ls -R diff --git a/.github/workflows/gh-test.yml b/.github/workflows/gh-test.yml index 5d9c49872..c7e7b32a7 100644 --- a/.github/workflows/gh-test.yml +++ b/.github/workflows/gh-test.yml @@ -37,5 +37,4 @@ jobs: run: nvidia-smi - name: Run legate.core test / analysis - shell: su coder {0} run: run-test-or-analysis ${{ inputs.test-scope }} diff --git a/continuous_integration/Dockerfile b/continuous_integration/Dockerfile index 7ceb3d01a..8e29f2c1f 100644 --- a/continuous_integration/Dockerfile +++ b/continuous_integration/Dockerfile @@ -45,15 +45,7 @@ WORKDIR ${WORKDIR} ENV PATH="${PATH}:${PREBUILD_DIR}/cmake-3.26.5-linux-x86_64/bin:${WORKDIR}/continuous_integration/scripts" -# USER coder - -# WORKDIR /home/coder/.cache -# WORKDIR /home/coder/.artifacts -# WORKDIR /home/coder - COPY continuous_integration/.gitconfig /root -# COPY --chown=coder:coder continuous_integration/scripts/* /home/coder/.local/bin/ -# COPY --chown=coder:coder . /home/coder/legate.core COPY . . RUN chmod a+x ${WORKDIR}/continuous_integration/scripts/* && \ @@ -74,8 +66,6 @@ ENV AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} ARG AWS_SECRET_ACCESS_KEY ENV AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} -# COPY --chown=coder:coder .creds /run/secrets - RUN build-legate ${BUILD_TYPE} #--------------------------------------------------- diff --git a/continuous_integration/scripts/copy-artifacts b/continuous_integration/scripts/copy-artifacts index 95312c1e3..9cd558443 100755 --- a/continuous_integration/scripts/copy-artifacts +++ b/continuous_integration/scripts/copy-artifacts @@ -2,7 +2,7 @@ copy_release_artifacts() { echo Copying release artifacts - cp /tmp/conda-build/linux-64/legate-core-*.tar.bz2 /home/coder/.artifacts + cp /tmp/conda-build/linux-64/legate-core-*.tar.bz2 ~/.artifacts } copy_ci_artifacts() { @@ -15,8 +15,6 @@ copy_ci_artifacts() { copy_artifacts() { set -xeuo pipefail - sudo chown coder:coder ~/.artifacts - case "$1" in ci) copy_ci_artifacts;; release) copy_release_artifacts;;