Skip to content

Commit

Permalink
Revert "Move from bors to GitHub Merge Queue"
Browse files Browse the repository at this point in the history
This reverts commit 25a8f96.
  • Loading branch information
charleskawczynski committed May 25, 2023
1 parent 0aa982d commit cde9235
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/CodeCov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ on:
push:
branches:
- main
- trying
- staging
tags: '*'
pull_request:
merge_group:

jobs:
codecov:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ on:
push:
branches:
- main
- trying
- staging
tags: '*'
pull_request:
merge_group:

jobs:
test:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ on:
push:
branches:
- main
- trying
- staging
tags: '*'
pull_request:
merge_group:

jobs:
docbuild:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/julia_formatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ on:
push:
branches:
- main
- trying
- staging
tags: '*'
pull_request:
merge_group:

jobs:
format:
Expand Down
12 changes: 12 additions & 0 deletions bors.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
status = [
# "ci 1.8.5 - ubuntu-latest",
# "ci 1.8.5 - windows-latest",
# "ci 1.8.5 - macos-latest",
"buildkite/climaatmos-ci",
"docbuild",
"format",
]
delete_merged_branches = true
timeout_sec = 72000
block_labels = [ "do-not-merge-yet" ]
cut_body_after = "<!--"
2 changes: 1 addition & 1 deletion regression_tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Regression tests are performed at the end of `examples/hybrid/driver.jl`, after
After these steps are performed at the end of the driver, additional jobs are run:

1) Print `computed_mse` for all jobs to make updating `regression_tests/mse_tables.jl` easy
2) If we're on the github queue merging branch (all tests have passed, and the PR is effectively merging), move the `NCDataset`s from the scratch directory onto the dedicated folder on the Caltech Central cluster.
2) If we're on the staging branch (all tests have passed, and the PR is effectively merging), move the `NCDataset`s from the scratch directory onto the dedicated folder on the Caltech Central cluster.

## How we track which dataset to compare against

Expand Down
2 changes: 1 addition & 1 deletion regression_tests/move_output.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if haskey(ENV, "BUILDKITE_COMMIT") && haskey(ENV, "BUILDKITE_BRANCH")

using Glob
@show readdir(joinpath(@__DIR__, ".."))
if startswith(branch, "gh-readonly-queue/main/")
if branch == "staging"
commit_sha = commit[1:7]
mkpath(cluster_data_prefix)
path = joinpath(cluster_data_prefix, commit_sha)
Expand Down

0 comments on commit cde9235

Please sign in to comment.