|
| 1 | +1. Go to https://buildkite.com/julialang |
| 2 | +2. In the top-right-hand corner, click on the white "New Pipeline" button. |
| 3 | +3. You are now on a page that says "New Pipeline". Fill in the fields as follows: |
| 4 | + - Name: `julia-release-1.9` |
| 5 | + - Description: `https://github.com/JuliaLang/julia` |
| 6 | + - Git Repository: |
| 7 | + - Step i. Click on the dropdown that says "Any account", and click on `JuliaLang`. |
| 8 | + - Step ii: Click on the text field that says " [email protected]:your/repo.git", and from the dropdown menu that appears, click on `JuliaLang/julia`. |
| 9 | + - Step iii: Next to "Checkout using", click on the radio button for `HTTPS`. Once you do that, the URL should automatically change to `https://github.com/JuliaLang/julia.git` |
| 10 | + - Auto-create webhooks: make sure that this checkbox IS checked. |
| 11 | + - Teams: select the following two teams: |
| 12 | + - `[ALL USERS] Base Julia CI (build and read)` |
| 13 | + - `Base Julia CI (Slack notifications)` |
| 14 | +4. At the bottom of the page, click on the green "Create Pipeline" button. |
| 15 | +5. Go to https://buildkite.com/julialang/julia-release-1-dot-9 and click on the white "Edit steps" button. |
| 16 | +6. Delete ALL text in the text box. |
| 17 | +7. Into the text box, paste the exact contents from the folllowing file: https://github.com/JuliaCI/julia-buildkite/blob/main/pipelines/main/0_webui.yml |
| 18 | +8. Click on the white "Save Steps" button. |
| 19 | +9. Go to https://buildkite.com/julialang/julia-release-1-dot-9 and click on the white "Pipeline Settings" (or just "Settings") button in the top-right-hand corner. |
| 20 | +10. In the left-hand side, under "Pipeline Settings", click on "General". Then, scroll down to the bottom of the page. In the "Pipeline Management" section, click on the white "Make Pipeline Public" button. If you are asked for confirmation, click on the green "Make Pipeline Public" button to confirm your decision. |
| 21 | +11. Go to https://buildkite.com/julialang/julia-release-1-dot-9 and click on the white "Pipeline Settings" (or just "Settings") button in the top-right-hand corner. |
| 22 | +12. In the left-hand side, under "Pipeline Settings", click on "Builds". Then, in the "Build Skipping" section, do the following actions: |
| 23 | + - Step i: Make sure that the "Skip Intermediate Builds" checkbox IS checked. |
| 24 | + - Step ii: Make sure that the "Cancel Intermediate Builds" checkbox IS checked. |
| 25 | + - Step iii: Under "Skip Intermediate Builds", in the text box, enter the following text: `!master !main !release-*` |
| 26 | + - Step iv: Under "Cancel Intermediate Builds", in the text box, enter the following text: `!master !main !release-*` |
| 27 | + - Step v: Click on the green "Save Build Skipping" button. |
| 28 | +13. Go to https://buildkite.com/julialang/julia-release-1-dot-9 and click on the white "Pipeline Settings" (or just "Settings") button in the top-right-hand corner. |
| 29 | +14. In the left-hand side, under "Pipeline Settings", click on "GitHub". Then, in the "Branch Limiting" section, do the following actions: |
| 30 | + - Step i: For "Branch Filter Pattern", enter the following text: `release-1.9 v1.9.*` |
| 31 | + - Step ii: Click on the green "Save Branch Limiting" button. |
| 32 | +15. You are still on the "Pipeline Settings ⟶ GitHub" page. In the "GitHub Settings" section, do the following actions: |
| 33 | + - Step i: Make sure that the radio button for "Trigger builds after pushing code" IS selected. |
| 34 | + - Step ii: Make sure that the checkbox for "Filter after pushing code" IS selected. |
| 35 | + - Step iii: Under "Filter builds using a conditional", enter the following text: `(build.pull_request.base_branch == null) || (build.pull_request.base_branch == "release-1.9") || (build.pull_request.base_branch == "backports-release-1.9")` |
| 36 | + - Step iv: Make sure that the checkbox for "Build Pull Requests" IS selected. |
| 37 | + - Step v: Under "Build Pull Requests", make sure that the checkbox for "Build pull requests from third-party forked repositories" IS selected. |
| 38 | + - **Step vi: Under "Build pull requests from third-party forked repositories", make sure that the checkbox for "Prefix third-party fork branch names" IS selected. It's important to make sure you complete this step.** |
| 39 | + - Step vii: Make sure that the checkbox for "Build tags" IS selected. |
| 40 | + - Step viii: Make sure that the checkbox for "Cancel deleted branch builds" IS selected. |
| 41 | + - Step ix: Make sure that the checkbox for "Update commit statuses" IS selected. |
| 42 | + - Step x: Under "Update commit statuses", for "Show blocked builds in GitHub as", from the drop-down menu, select "Pending". |
| 43 | + - Step xi: Make sure that the checkbox for "Create a status for each job" is NOT selected. |
| 44 | + - Step xii: Make sure that the checkbox for "Separate statuses for pull requests" is NOT selected. |
| 45 | + - Step xiii: At the bottom of the page, click on the green "Save GitHub Settings" button. |
| 46 | +16. Go to https://buildkite.com/julialang/julia-release-1-dot-9 and click on the white "Pipeline Settings" button. |
| 47 | +17. In the left-hand side, under "Pipeline Settings", click on "Teams". Then do the following actions: |
| 48 | + - Step i: Next to "Base Julia CI (Slack notifications)", click on the text `Full Access` and change it to `Read Only`. |
| 49 | + - Step ii: Next to "[ALL USERS] Base Julia CI (build & read)", click on the text `Full Access` and change it to `Build & Read`. |
0 commit comments