From 7c6feda073bdbd605989b030ad6d2ea9b651bdf8 Mon Sep 17 00:00:00 2001 From: quffaro Date: Wed, 9 Oct 2024 14:00:00 -0400 Subject: [PATCH] Adding dynamic pipelines (#79) * updating depot variable * testing dynamic pipelines * testing that we may edit pipeline locally * rectifying an error * needed to add command * pointing pipeline to main branch of .github * moved jobscript to .buildkite folder --- jobscript.sh => .buildkite/jobscript.sh | 0 .buildkite/pipeline.yml | 19 +++---------------- 2 files changed, 3 insertions(+), 16 deletions(-) rename jobscript.sh => .buildkite/jobscript.sh (100%) diff --git a/jobscript.sh b/.buildkite/jobscript.sh similarity index 100% rename from jobscript.sh rename to .buildkite/jobscript.sh diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index ad064de..285a493 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -4,21 +4,8 @@ env: steps: - - label: ":sunrise: Good morning!" - command: "echo 'Good morning!'" - - - label: ":hammer: Build Project" - command: - - "module load julia" - - "julia --project=docs --color=yes -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); Pkg.precompile()'" - - - wait - - - label: ":scroll: Build docs" - 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" + - label: ":arrow_down: Load AlgebraicJulia pipeline" + command: | + curl -s https://raw.githubusercontent.com/AlgebraicJulia/.github/main/buildkite/pipeline.yml | buildkite-agent pipeline upload - wait -