Skip to content

Commit

Permalink
Pass environment variables along better
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Mar 8, 2022
1 parent 651098a commit 9e510eb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pipelines/main/launch_signed_jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:
version: ".buildkite-external-version"
repo_url: "https://github.com/JuliaCI/julia-buildkite"
commands: |
# Explicitly pass along the cryptic token
# Explicitly pass along the cryptic token to child pipelines
export BUILDKITE_PLUGIN_CRYPTIC_BASE64_SIGNED_JOB_ID_SECRET
# Determine the julia version
Expand All @@ -16,6 +16,9 @@ steps:
bash .buildkite/utilities/arches_pipeline_upload.sh \
.buildkite/pipelines/main/platforms/build_linux.arches \
.buildkite/pipelines/main/platforms/upload_linux.yml
# Don't share this with buildkite's env display
unset BUILDKITE_PLUGIN_CRYPTIC_BASE64_SIGNED_JOB_ID_SECRET
agents:
queue: "julia"
env:
Expand Down
Binary file modified pipelines/main/launch_signed_jobs.yml.signature
Binary file not shown.
3 changes: 3 additions & 0 deletions pipelines/main/platforms/upload_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ steps:
# Only run on `sandbox.jl` machines (not `docker`-isolated ones) since we need nestable sandboxing
sandbox_capable: "true"
os: "linux"
env:
# Receive cryptic token from parent job
BUILDKITE_PLUGIN_CRYPTIC_BASE64_SIGNED_JOB_ID_SECRET: ${BUILDKITE_PLUGIN_CRYPTIC_BASE64_SIGNED_JOB_ID_SECRET?}
3 changes: 2 additions & 1 deletion pipelines/scheduled/coverage/coverage_linux64.yml.signature
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Salted__�)0պD����j>�!��V��!R����p�VX�;dV�a��k0�Ѝ^x�Y zC���5���T@$F�q��m2�0yev�N��Z�U��
Salted__|�A��5��Je*a�Úؑ��R��5����b �
���&&��uEbX�n%�ͦ[i�.�����$��7 �A�F�#��8~���.�Nޫ�

0 comments on commit 9e510eb

Please sign in to comment.