-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'edge' into app_odd-update-run-failed-modal
- Loading branch information
Showing
362 changed files
with
15,065 additions
and
11,516 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: 'Start Internal-Release OT-2 build' | ||
on: | ||
push: | ||
branches: | ||
- edge | ||
- '*internal-release*' | ||
tags: | ||
- ot3@* | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- labeled | ||
|
||
jobs: | ||
handle-push: | ||
runs-on: 'ubuntu-latest' | ||
if: github.event_name == 'push' | ||
name: "Start an OT-2 build for a branch/tag push" | ||
steps: | ||
- name: 'start build' | ||
uses: octokit/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.OT2_BUILD_CROSSREPO_ACCESS }} | ||
with: | ||
route: POST /repos/{owner}/{repo}/actions/workflows/{workflow-id}/dispatches | ||
owner: opentrons | ||
repo: buildroot | ||
workflow-id: build.yml | ||
ref: opentrons-develop | ||
inputs: | | ||
{ | ||
"buildroot-ref": "-", | ||
"monorepo-ref": "${{ github.ref }}", | ||
"infra-stage": "stage-prod" | ||
} | ||
handle-pr: | ||
runs-on: 'ubuntu-latest' | ||
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'Opentrons/opentrons' && contains(github.event.pull_request.labels.*.name, 'ot2-build') | ||
name: "Start an OT-2 build for a requested PR" | ||
steps: | ||
- name: 'start build' | ||
uses: octokit/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.OT2_BUILD_CROSSREPO_ACCESS }} | ||
with: | ||
route: POST /repos/{owner}/{repo}/actions/workflows/{workflow-id}/dispatches | ||
owner: opentrons | ||
repo: buildroot | ||
workflow-id: build.yml | ||
ref: opentrons-develop | ||
inputs: | | ||
{ | ||
"buildroot-ref": "-", | ||
"monorepo-ref": "refs/heads/${{ github.head_ref }}", | ||
"infra-stage": "stage-prod" | ||
} |
7 changes: 2 additions & 5 deletions
7
.github/workflows/start-ot3-build.yaml → ...ows/start-internal-release-ot3-build.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.