Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amending pipeline #68

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
env:
JULIA_VERSION: "1.9.3"
JULIA_VERSION: "1.10.2"
JULIA_DEPOT_PATH: "$DEPOT"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work? It pulls the path from the environment of the agent?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, this is initiated by an environment hook which the buildkite-agent is pointed to when we spawn them. Now to change the depot we just need to amend the hook and restart the agents.


steps:

Expand All @@ -14,10 +15,10 @@ steps:
- wait

- label: ":scroll: Build docs"
command:
- "srun --mem=8G --time=1:00:00 --unbuffered jobscript.sh"
env:
JULIA_PROJECT: "docs/"
command:
- "srun --cpus-per-task=16 --mem=64G --time=1:00:00 --output=.buildkite/build_%j.log --unbuffered .buildkite/jobscript.sh"

- wait

Loading