Skip to content

Commit eb66652

Browse files
authored
Remove NGC login from CI/nightly and add isolated docker config (#66)
* remove ngc login * add pip retry
1 parent 7803c2d commit eb66652

3 files changed

Lines changed: 18 additions & 26 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -87,21 +87,15 @@ jobs:
8787
git lfs install --local
8888
git lfs pull
8989
90-
# Isaac Sim 6.0.1 on nvcr.io requires authenticated pull; anonymous
91-
# access that worked for 6.0.0-dev2 is denied for this tag.
92-
- name: Log in to NGC
90+
- name: Run E2E tests
91+
# The GPU runners are shared. Use an empty job-temporary Docker config so
92+
# stale credentials cannot override anonymous access to the public base image,
93+
# and this job cannot modify the runner's persistent Docker login.
9394
env:
94-
NGC_API_KEY: ${{ secrets.NGC_API_KEY }}
95+
DOCKER_CONFIG: ${{ runner.temp }}/isaac-autodata-docker
9596
run: |
96-
if [ -z "${NGC_API_KEY}" ]; then
97-
echo "NGC_API_KEY secret is empty; cannot pull nvcr.io/nvidia/isaac-sim"
98-
exit 1
99-
fi
100-
# $oauthtoken is the literal NGC username.
101-
echo "${NGC_API_KEY}" | docker login nvcr.io -u '$oauthtoken' --password-stdin
102-
103-
- name: Run E2E tests
104-
run: ./scripts/ci/run_tests.sh
97+
mkdir -p "${DOCKER_CONFIG}"
98+
./scripts/ci/run_tests.sh
10599
106100
build_docs:
107101
name: Build docs

‎.github/workflows/nightly.yml‎

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,15 @@ jobs:
5959
git lfs install --local
6060
git lfs pull
6161
62-
# Isaac Sim 6.0.1 on nvcr.io requires authenticated pull; anonymous
63-
# access that worked for 6.0.0-dev2 is denied for this tag.
64-
- name: Log in to NGC
62+
- name: Run full E2E suite
63+
# The GPU runners are shared. Use an empty job-temporary Docker config so
64+
# stale credentials cannot override anonymous access to the public base image,
65+
# and this job cannot modify the runner's persistent Docker login.
6566
env:
66-
NGC_API_KEY: ${{ secrets.NGC_API_KEY }}
67+
DOCKER_CONFIG: ${{ runner.temp }}/isaac-autodata-docker
6768
run: |
68-
if [ -z "${NGC_API_KEY}" ]; then
69-
echo "NGC_API_KEY secret is empty; cannot pull nvcr.io/nvidia/isaac-sim"
70-
exit 1
71-
fi
72-
# $oauthtoken is the literal NGC username.
73-
echo "${NGC_API_KEY}" | docker login nvcr.io -u '$oauthtoken' --password-stdin
74-
75-
- name: Run full E2E suite
76-
run: ./scripts/ci/run_tests.sh
69+
mkdir -p "${DOCKER_CONFIG}"
70+
./scripts/ci/run_tests.sh
7771
7872
- name: Test results summary
7973
if: always()

‎docker/Dockerfile.isaac_autodata‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ ENV WORKDIR=${WORKDIR}
1111
WORKDIR "${WORKDIR}"
1212

1313
ENV TERM=xterm
14+
# Tolerate transient package-index failures on shared CI runners. These settings
15+
# are inherited by every pip invocation, including those run by isaaclab.sh.
16+
ENV PIP_RETRIES=10 \
17+
PIP_DEFAULT_TIMEOUT=120
1418
# Path to the (nested) Isaac Lab checkout inside the Arena submodule.
1519
ENV ISAACLAB_PATH=${WORKDIR}/submodules/IsaacLab-Arena/submodules/IsaacLab
1620

0 commit comments

Comments
 (0)