-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'chore_release-7.0.0' into edge
- Loading branch information
Showing
436 changed files
with
8,657 additions
and
2,287 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 |
---|---|---|
|
@@ -181,7 +181,7 @@ jobs: | |
echo 'type=develop' >> $GITHUB_OUTPUT | ||
elif [ "${{ format('{0}', github.ref == 'refs/heads/edge') }}" = "true" ] ; then | ||
echo "both develop builds for edge" | ||
echo 'variants=["release", "internal-release"]' >> GITHUB_OUTPUT | ||
echo 'variants=["release", "internal-release"]' >> $GITHUB_OUTPUT | ||
echo 'type=develop' >> $GITHUB_OUTPUT | ||
elif [ "${{ format('{0}', endsWith(github.ref, 'app-build-internal')) }}" = "true" ] ; then | ||
echo "internal-release builds for app-build-internal suffixes" | ||
|
@@ -313,7 +313,7 @@ jobs: | |
make -C app-shell-odd dist-ot3 | ||
deploy-release-app: | ||
name: 'Deploy built release-variant app artifacts to S3' | ||
name: 'Deploy built app artifacts to S3' | ||
runs-on: 'ubuntu-22.04' | ||
needs: ['js-unit-test', 'backend-unit-test', 'build-app', 'determine-build-type'] | ||
if: contains(fromJSON(needs.determine-build-type.outputs.variants), 'release') || contains(fromJSON(needs.determine-build-type.outputs.variants), 'internal-release') | ||
|
@@ -348,15 +348,18 @@ jobs: | |
- name: 'deploy internal-release release builds to s3' | ||
run: | | ||
aws s3 --profile=deploy sync --acl=public-read to_upload_internal-release/ s3://${{ env._APP_DEPLOY_BUCKET_OT3 }}/${{ env._APP_DEPLOY_FOLDER_OT3 }} | ||
- name: 'create GH release' | ||
- name: 'upload windows artifacts to GH release' | ||
uses: 'ncipollo/[email protected]' | ||
if: needs.determine-build-type.outputs.type == 'release' | ||
with: | ||
allowUpdates: true | ||
replacesArtifacts: true | ||
omitBodyDuringUpdate: true | ||
omitDraftDuringUpdate: true | ||
omitNameDuringUpdate: true | ||
omitPrereleaseDuringUpdate: true | ||
- name: 'upload windows artifact to GH release' | ||
artifacts: ./artifacts/*/*.exe | ||
artifactContentType: application/vnd.microsoft.portable-executable | ||
- name: 'upload macos artifacts to GH release' | ||
uses: 'ncipollo/[email protected]' | ||
if: needs.determine-build-type.outputs.type == 'release' | ||
with: | ||
|
@@ -365,11 +368,21 @@ jobs: | |
omitDraftDuringUpdate: true | ||
omitNameDuringUpdate: true | ||
omitPrereleaseDuringUpdate: true | ||
artifacts: ./artifacts/**/*.exe ./artifacts/**/*.dmg ./artifacts/**/*.AppImage | ||
artifactContentType: application/vnd.microsoft.portable-executable | ||
- name: 'detect internal-release build data for notification' | ||
artifacts: ./artifacts/*/*.dmg | ||
artifactContentType: application/octet-stream | ||
- name: 'upload linux artifacts to GH release' | ||
uses: 'ncipollo/[email protected]' | ||
if: needs.determine-build-type.outputs.type == 'release' | ||
with: | ||
allowUpdates: true | ||
omitBodyDuringUpdate: true | ||
omitDraftDuringUpdate: true | ||
omitNameDuringUpdate: true | ||
omitPrereleaseDuringUpdate: true | ||
artifacts: ./artifacts/*/*.AppImage | ||
artifactContentType: application/octet-stream | ||
- name: 'detect build data for notification' | ||
id: names | ||
if: contains(fromJSON(needs.determine-build-type.outputs.variants), 'internal-release') | ||
shell: bash | ||
run: | | ||
for variant in release internal-release ; do | ||
|
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 |
---|---|---|
@@ -1,11 +1,14 @@ | ||
name: 'Start Internal-Release OT-3 build' | ||
name: 'Start Flex build' | ||
on: | ||
push: | ||
branches: | ||
- edge | ||
- '*internal-release*' | ||
- 'release*' | ||
- 'chore_release*' | ||
tags: | ||
- ot3@* | ||
- v* | ||
pull_request: | ||
types: | ||
- opened | ||
|
@@ -16,7 +19,7 @@ jobs: | |
handle-push: | ||
runs-on: 'ubuntu-latest' | ||
if: github.event_name == 'push' | ||
name: "Start an OT-3 build for a branch/tag push" | ||
name: "Start a Flex build for a branch/tag push" | ||
steps: | ||
- name: 'start build' | ||
uses: octokit/[email protected] | ||
|
@@ -39,7 +42,7 @@ jobs: | |
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, 'ot3-build') | ||
name: "Start an OT-3 build for a requested PR" | ||
name: "Start a Flex build for a requested PR" | ||
steps: | ||
- name: 'start build' | ||
uses: octokit/[email protected] | ||
|
5 changes: 4 additions & 1 deletion
5
...ows/start-internal-release-ot2-build.yaml → .github/workflows/start-ot2-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
Oops, something went wrong.