@rightkit/ci 0.3.9 → 0.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/manifest.mjs +3 -2
- package/package.json +1 -1
package/manifest.mjs
CHANGED
|
@@ -2214,8 +2214,9 @@ const CLASS_A_TOOL_STEPS = Object.freeze([
|
|
|
2214
2214
|
" shell: bash",
|
|
2215
2215
|
" run: |",
|
|
2216
2216
|
" set -euo pipefail",
|
|
2217
|
-
// The gate's Mac
|
|
2218
|
-
|
|
2217
|
+
// The gate's Mac roots are on /Volumes/D, which a hosted runner has not got, and a gate before @rightkit/release 0.6.97 ignores
|
|
2218
|
+
// RIGHTKIT_DATA_ROOT on a Mac host: make the default roots, private to the runner user, so every gate version finds the same ones.
|
|
2219
|
+
" if [ \"$RUNNER_OS\" = macOS ]; then for d in /Volumes/D/.rightkit-managed /Volumes/D/.rustright; do sudo mkdir -p \"$d\"; sudo chown \"$(id -u):$(id -g)\" /Volumes/D \"$d\"; chmod 700 \"$d\"; done; fi",
|
|
2219
2220
|
" rk=node_modules/@rightkit/release",
|
|
2220
2221
|
" [ -f \"$rk/scan-tool-enrolment.mjs\" ] || exit 0",
|
|
2221
2222
|
" root=\"$(node --input-type=module -e \"import { resolveManagedRoots } from './$rk/managed-roots.mjs'; console.log(resolveManagedRoots().gateRoot)\")\"",
|
package/package.json
CHANGED