From 12ab042f363b2e93bee4c0bbeba5afa2d6aa377c Mon Sep 17 00:00:00 2001 From: Anant Thazhemadam Date: Fri, 6 Oct 2023 14:18:48 +0530 Subject: [PATCH] ci: run Documentation builds on buildkite instead of GHA The doc builds are starting to get too big for GHA, so port them over to Buildkite instead. This also allows us to run the docs builds on GPU machines. --- .buildkite/pipeline.yml | 20 +++++++++++++++++++ .github/workflows/Documentation.yml | 30 ----------------------------- 2 files changed, 20 insertions(+), 30 deletions(-) delete mode 100644 .github/workflows/Documentation.yml diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 26668b555a..7e1677fe10 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -40,3 +40,23 @@ steps: timeout_in_minutes: 680 # Don't run Buildkite if the commit message includes the text [skip tests] if: build.message !~ /\[skip tests\]/ + +steps: + - label: "Documentation" + plugins: + - JuliaCI/julia#v1: + version: "1" + command: | + julia --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: "*" + if: build.message !~ /\[skip docs\]/ && !build.pull_request.draft + timeout_in_minutes: 1000 + +env: + SECRET_DOCUMENTER_KEY: "yBJHrf5zUPu3VFotb0W4TRdauMTGgNUei3ax0xrVTmcrrP3EX8zSGaj9MNZji9H6JqyNEhCqZMGcHhxR5XK0f97YjhAp5rDNpwV6FbIXY8FXgFyIOLAenYUklta1W6fNM7KTz3Dq3UnKBAprKhQBwUw3SldTuvtm+IhiVT2rFmADqxMSQcv+5LivYEgAFrrd6LX+PHhonj38VN46z5Bi3TOIGAnByVlZssX7cOwaRg/8TloLPsWAUlQiPr89Vdlow9k6SQV8W9mf00/Rq4LFd1Eq1EYTCSmReVawMxVpXh1mj7MSabf9ppVWYOmjP5Rzatk8YFWlJf80HVvzY7tXRQ==;U2FsdGVkX1/UmKrEQkyqoZY6GckLGmpV5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omyvZ6DcqDABJyWIV7kejbT0TlspicebTzP/kMyTPrGM9TchZjMdv6bPp8jRf4lUGWBjD4i1Diris5aM=" \ No newline at end of file diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml deleted file mode 100644 index 0b002ce573..0000000000 --- a/.github/workflows/Documentation.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Documentation - -on: - push: - branches: - - master - tags: '*' - pull_request: - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@latest - with: - version: '1' - - name: Install dependencies - run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' - - name: Build and deploy - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token - DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key - run: julia --project=docs/ --code-coverage=user docs/make.jl - - uses: julia-actions/julia-processcoverage@v1 - with: - directories: src,lib/NeuralPDELogging/src - - uses: codecov/codecov-action@v3 - with: - files: lcov.info