Skip to content

Commit

Permalink
Try using monorepo plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Jun 16, 2024
1 parent c343bfa commit eab58f1
Show file tree
Hide file tree
Showing 6 changed files with 254 additions and 200 deletions.
68 changes: 68 additions & 0 deletions .buildkite/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
steps:
- group: ":open_book: Build & Deploy Documentation"
if: build.message !~ /\[skip docs\]/ && !build.pull_request.draft
steps:
- label: "Tutorial Build [%N/%t]"
key: "tutorial-build"
parallelism: 6
plugins:
- JuliaCI/julia#v1:
version: "1"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- ext
command: julia --code-coverage=user --color=yes --project=docs docs/tutorials.jl
agents:
queue: "juliagpu"
cuda: "*"
artifact_paths:
- "docs/src/tutorials/beginner/**/*"
- "docs/src/tutorials/intermediate/**/*"
- "docs/src/tutorials/advanced/**/*"
- "tutorial_deps/*"
timeout_in_minutes: 60

- label: "Final Documentation Build"
depends_on: [tutorial-build]
plugins:
- JuliaCI/julia#v1:
version: "1"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- ext
- sv-oss/node-n#v0.1.2:
node-version: v20
command: |
echo "+++ :node: Instantiate NPM"
cd docs/
npm i
cd ..
buildkite-agent artifact download "**/*" . --build $BUILDKITE_BUILD_ID
julia --code-coverage=user --color=yes --project=docs -e '
println("--- :julia: Instantiating project")
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
println("+++ :julia: Building documentation")
include("docs/make.jl")'
agents:
queue: "juliagpu"
cuda: "*"
env:
JULIA_DEBUG: "Documenter"
timeout_in_minutes: 60

env:
LUX_DOCUMENTATION_NTASKS: 1
DATADEPS_ALWAYS_ACCEPT: true
JULIA_PKG_SERVER: ""
JULIA_NUM_THREADS: 4
GKSwstype: "100" # https://discourse.julialang.org/t/generation-of-documentation-fails-qt-qpa-xcb-could-not-connect-to-display/60988
SECRET_CODECOV_TOKEN: "jQ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1CsLqv3KuDvNeH6XOOAzVtFj4VoIV6QgRLP8+94ZiiEDaPQxQ7BZoqrqFYrxWHDtEuon46VtQ3Nfq/1Rq/HvszJv6JE77w7qvKlxG9sXgxzCDRqNrG83cwY2hpDBr8U0hPMrEx977Weja1aG/rG6uirNBcY5qAAOLDo+9RvV1xqvWFF8SkT97tzNUHbzw8tuUlCT9m4rshCG+jBw59rpUZwW+eR1ih9qU7Nyr3oNgi/zmkORF1duym8VSfW5dxtRBIqxxM0oSWoHti+HSd0VLdHw8jRpbQddMBr1sjD1jIgp3w2dU4oEthzStKCPY2/lAWBm+1Es1okGhEM3I939DRcYOjfJnTCtJLJ9DTKycVDMerXvHnCgImZ0Oh4mtLF+63hn+9wUc56owFeNqs+NJHqmBBFX2uNr/Rj9mzYkRRPsYYSyCB7jIS+Z8Zall6W3dwLcsE3uw/oPKx5bJDAhnp7kZgzLC0zlS2D0ZcNZuW2uUtwhZJM6OOyV+FUFgizmpIQAQ8Nm6n/1yk0asB4jZFf221a9ZmzvUfWKmmIR7OxX3qBH9x2uMMhemv9LZdEHMcjTeIXRYciMLWUNeWagYhDgV1cRBGCDTh2EhHvYX7ZXfpsHjLOR+sAEr7uR3siitf/mRkiLfT2YBgTACKKoj05UuC8aknEV4T5bWiye+gKGioml5G/fWYHyHow37g6D84n0cBTWmI0oPlg+rqpeRLOeYaTeCXOtM/7M1FHuGvzmBnag2vhKY2tpjVrg2nI3p4SRlzTyoQkyMfRXN87v5nAheVcLgrYtkv9aX7R6VMZ1UIsxn62ZHFa2IR6skB/xw7RRuJY5r5FIWs1LqIQDaon5L4C4v9rnBxMYoUM"
227 changes: 28 additions & 199 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,200 +1,29 @@
steps:
- group: ":julia: CUDA GPU"
steps:
- label: ":julia: Julia {{matrix.julia}} + {{matrix.test_group}} + CUDA GPU"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.julia}}"
- JuliaCI/julia-test#v1:
test_args: "--quickfail"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- ext
agents:
queue: "juliagpu"
cuda: "*"
env:
BACKEND_GROUP: "CUDA"
LUX_TEST_GROUP: "{{matrix.test_group}}"
if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip ci\]/
timeout_in_minutes: 240
matrix:
setup:
julia:
- "1"
test_group:
- "core_layers"
- "contrib"
- "helpers"
- "distributed"
- "normalize_layers"
- "others"
- "autodiff"
- "recurrent_layers"

- group: ":telescope: Downstream CUDA"
steps:
- label: ":julia: {{matrix.repo}} (Julia 1 + CUDA GPU)"
plugins:
- JuliaCI/julia#v1:
version: "1"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- ext
command: julia --code-coverage=user --color=yes --project .buildkite/scripts/downstream.jl "{{matrix.repo}}" "CUDA"
agents:
queue: "juliagpu"
cuda: "*"
env:
RETESTITEMS_NWORKERS: 2
if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip downstream\]/ && build.message !~ /\[skip ci\]/
timeout_in_minutes: 240
matrix:
setup:
repo:
- "Boltz"
- "NeuralPDE#GPU"
- "DeepEquilibriumNetworks"

- group: ":julia: AMD GPU"
steps:
- label: ":julia: Julia: {{matrix.julia}} + {{matrix.test_group}} + AMD GPU"
plugins:
- JuliaCI/julia#v1:
version: "{{matrix.julia}}"
- JuliaCI/julia-test#v1:
test_args: "--quickfail"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- ext
env:
RETESTITEMS_NWORKERS: 2
JULIA_AMDGPU_CORE_MUST_LOAD: "1"
JULIA_AMDGPU_HIP_MUST_LOAD: "1"
JULIA_AMDGPU_DISABLE_ARTIFACTS: "1"
BACKEND_GROUP: "AMDGPU"
LUX_TEST_GROUP: "{{matrix.test_group}}"
agents:
queue: "juliagpu"
rocm: "*"
rocmgpu: "*"
if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip ci\]/
timeout_in_minutes: 60
matrix:
setup:
julia:
- "1"
test_group:
- "core_layers"
- "contrib"
- "helpers"
- "distributed"
- "normalize_layers"
- "others"
- "autodiff"
- "recurrent_layers"

- group: ":telescope: Downstream AMD GPU"
steps:
- label: ":julia: {{matrix.repo}} (Julia 1 + AMD GPU)"
plugins:
- JuliaCI/julia#v1:
version: "1"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- ext
command: julia --code-coverage=user --color=yes --project .buildkite/scripts/downstream.jl "{{matrix.repo}}" "AMDGPU"
agents:
queue: "juliagpu"
rocm: "*"
rocmgpu: "*"
env:
RETESTITEMS_NWORKERS: 2
JULIA_AMDGPU_CORE_MUST_LOAD: "1"
JULIA_AMDGPU_HIP_MUST_LOAD: "1"
JULIA_AMDGPU_DISABLE_ARTIFACTS: "1"
if: build.message !~ /\[skip tests\]/ && build.message !~ /\[skip downstream\]/ && build.message !~ /\[skip ci\]/
timeout_in_minutes: 60
matrix:
setup:
repo:
- "Boltz"

- group: ":open_book: Build & Deploy Documentation"
if: build.message !~ /\[skip docs\]/ && !build.pull_request.draft
steps:
- label: "Tutorial Build [%N/%t]"
key: "tutorial-build"
parallelism: 6
plugins:
- JuliaCI/julia#v1:
version: "1"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- ext
command: julia --code-coverage=user --color=yes --project=docs docs/tutorials.jl
agents:
queue: "juliagpu"
cuda: "*"
artifact_paths:
- "docs/src/tutorials/beginner/**/*"
- "docs/src/tutorials/intermediate/**/*"
- "docs/src/tutorials/advanced/**/*"
- "tutorial_deps/*"
timeout_in_minutes: 60

- label: "Final Documentation Build"
depends_on: [tutorial-build]
plugins:
- JuliaCI/julia#v1:
version: "1"
- JuliaCI/julia-coverage#v1:
codecov: true
dirs:
- src
- ext
- sv-oss/node-n#v0.1.2:
node-version: v20
command: |
echo "+++ :node: Instantiate NPM"
cd docs/
npm i
cd ..
buildkite-agent artifact download "**/*" . --build $BUILDKITE_BUILD_ID
julia --code-coverage=user --color=yes --project=docs -e '
println("--- :julia: Instantiating project")
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate()
println("+++ :julia: Building documentation")
include("docs/make.jl")'
agents:
queue: "juliagpu"
cuda: "*"
env:
JULIA_DEBUG: "Documenter"
timeout_in_minutes: 60

env:
RETESTITEMS_NWORKERS: 8
RETESTITEMS_NWORKER_THREADS: 2
LUX_DOCUMENTATION_NTASKS: 1
RETESTITEMS_TESTITEM_TIMEOUT: 10000
DATADEPS_ALWAYS_ACCEPT: true
JULIA_PKG_SERVER: ""
JULIA_NUM_THREADS: 4
GKSwstype: "100" # https://discourse.julialang.org/t/generation-of-documentation-fails-qt-qpa-xcb-could-not-connect-to-display/60988
SECRET_CODECOV_TOKEN: "jQ0BMTQgyZx7QGyU0Q2Ec7qB9mtE2q/tDu0FsfxvEG7/zOAGvXkyXrzIFFOQxvDoFcP+K2+hYZKMxicYdNqzr5wcxu505aNGN2GM3wyegAr+hO6q12bCFYx6qXzU9FLCCdeqINqn9gUSSOlGtWNFrbAlrTyz/D4Yo66TqBDzvaLL63FMnhCLaXW/zJt3hNuEAJaPY2O6Ze1rX2WZ3Y+i+s3uQ8aLImtoCJhPe8CRx+OhuYiTzGhynFfGntZ0738/1RN4gNM0S/hTC4gLE7XMVBanJpGh32rFaiDwW4zAyXKBrDkL3QA3MS1RvLTJxGJ085S16hCk0C4ddAhZCvIM9Q==;U2FsdGVkX1+bXdFeKMs5G79catOCyby2n07A2fg0FjVAvrjQLZ0yfvDS4paJiFikLkodho0khz2YALKb2Y0K6w=="
SECRET_DOCUMENTER_KEY: "iRC4P/r5o9pARB670eK9jPlKQKgkTMDAyvp2GbLG8WwLuT8T1VcWx/o4+ofGlzbTh5Z+LuFgPXfgqkjGuoWLcocHNm78xQMNMywB4rcLB2shqp8xG2vhglgnTBBS4EiyPAtVqGyi5AKmfF95PfkJvnI0Lqg5P/RWQvNGywLAR0Ikgr/lqocm2CvkFGbpMzpGxGvj76JYOusVeKvGAp698TXqPabSZR2oZQLfYnEZnaO8ivkqvMGQSX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yHow37g6D84n0cBTWmI0oPlg+rqpeRLOeYaTeCXOtM/7M1FHuGvzmBnag2vhKY2tpjVrg2nI3p4SRlzTyoQkyMfRXN87v5nAheVcLgrYtkv9aX7R6VMZ1UIsxn62ZHFa2IR6skB/xw7RRuJY5r5FIWs1LqIQDaon5L4C4v9rnBxMYoUM"
- label: "Triggering pipelines"
agents:
queue: "juliagpu"
plugins:
- monebag/monorepo-diff#v2.5.9:
diff: ".buildkite/scripts/diff.sh $BUILDKITE_COMMIT"
interpolation: false
watch:
- path:
- "src/"
- "ext/"
- "test/"
- "Project.toml"
config:
command: "buildkite-agent pipeline upload .buildkite/testing.yml"
agents:
queue: "juliagpu"
- path:
- "src/"
- "ext/"
- "test/"
- "Project.toml"
- "docs/"
- "examples/"
config:
command: "buildkite-agent pipeline upload .buildkite/documentation.yml"
agents:
queue: "juliagpu"
12 changes: 12 additions & 0 deletions .buildkite/scripts/diff.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
set -ueo pipefail

# Script to output the diff where the branch was created
# Usage: ./diff.sh $BUILDKITE_COMMIT

COMMIT_HASH=$1

BRANCH_POINT_COMMIT=$(./find-branch-point.sh "$COMMIT_HASH")
echo >&2 "Cannot find latest build. Running diff against: $BRANCH_POINT_COMMIT"
diff=$(git diff --name-only "$BRANCH_POINT_COMMIT")
echo "$diff"
Loading

0 comments on commit eab58f1

Please sign in to comment.