You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move the perf-gate's prebuilt-image flow off GHCR and onto the shared
NGC registry (nvcr.io), the same registry the rest of IsaacLab CI uses.
- Default the gate and seeder to nvcr.io/nvidian/isaac-lab:latest-perf,
with PERF_GATE_CI_IMAGE as an optional override; drop the GHCR login
and packages permission. The gate keeps a build-from-source fallback;
seeding fails fast if the image is missing.
- Overlay the PR checkout over a pulled env image so the benchmark runs
the PR's code, not the image's baked source.
- Publish dual tags (latest-perf plus an immutable sha-<short>) so a
past era stays pinnable.
Note: the baseline-independence and block-floor changes are intentionally
left out pending root-cause analysis of the regression-magnitude question.
echo "::error::Unsupported target registry '${REGISTRY}'. Use ghcr.io or nvcr.io."
146
+
echo "::error::Unsupported target registry '${REGISTRY}'. The perf gate publishes to nvcr.io."
135
147
exit 1
136
148
;;
137
149
esac
138
150
139
-
docker tag perf-gate-publish:local "${TARGET_IMAGE}"
140
-
echo "🔵 Pushing ${TARGET_IMAGE}..."
141
-
docker push "${TARGET_IMAGE}"
151
+
# Push the (moving) primary tag and, when distinct, the immutable sha tag.
152
+
PUSHED=()
153
+
for IMG in "${TARGET_IMAGE}" "${TARGET_IMAGE_IMMUTABLE}"; do
154
+
[ -z "${IMG}" ] && continue
155
+
docker tag perf-gate-publish:local "${IMG}"
156
+
echo "🔵 Pushing ${IMG}..."
157
+
docker push "${IMG}"
158
+
PUSHED+=("${IMG}")
159
+
done
142
160
rm -rf "${DOCKER_CONFIG_DIR}"
143
161
144
162
{
145
163
echo "## Published perf-gate CI image"
146
164
echo ""
147
165
echo '```'
148
-
echo "${TARGET_IMAGE}"
166
+
for IMG in "${PUSHED[@]}"; do echo "${IMG}"; done
149
167
echo '```'
150
168
echo ""
151
-
echo "Set the repo variable \`PERF_GATE_CI_IMAGE\` to the value above so the gate pulls it instead of building."
169
+
echo "The gate and seeder pull \`nvcr.io/nvidian/isaac-lab:latest-perf\` by default — no further action needed for that tag."
170
+
echo "The immutable \`sha-<short>\` tag is for pinning a past era (e.g. bisection): set the repo variable \`PERF_GATE_CI_IMAGE\` to it when you need that exact environment."
0 commit comments