Skip to content

Commit

Permalink
Removed all references to coder.
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepd-nv committed Oct 31, 2023
1 parent 94d0e51 commit f2f767c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/gh-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
10 changes: 0 additions & 10 deletions continuous_integration/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/* && \
Expand All @@ -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}

#---------------------------------------------------
Expand Down
4 changes: 1 addition & 3 deletions continuous_integration/scripts/copy-artifacts
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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;;
Expand Down

0 comments on commit f2f767c

Please sign in to comment.