RSDK-9175: DataSync API Go SDK #16732
Workflow file for this run
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
name: Pull Request Update | |
concurrency: | |
group: pullrequest-${{ github.head_ref }} | |
cancel-in-progress: true | |
on: | |
pull_request_target: | |
branches: [ main ] | |
types: [ labeled ] | |
# To test workflow updates you need to work in a branch directly on viamrobotics/rdk | |
# and tag your working branch instead of @main in any viamrobotics/rdk "uses" below. | |
# Don't forget to tag back to @main before merge. | |
jobs: | |
test: | |
if: (github.event.label.name == 'safe to test' || github.event.label.name == 'appimage') | |
uses: viamrobotics/rdk/.github/workflows/test.yml@main | |
secrets: | |
MONGODB_TEST_OUTPUT_URI: ${{ secrets.MONGODB_TEST_OUTPUT_URI }} | |
DOCKER_PUBLIC_READONLY_PAT: ${{ secrets.DOCKER_PUBLIC_READONLY_PAT }} | |
# This lets people add an "appimage" tag to have appimages built for the PR | |
appimage: | |
needs: [test] | |
if: | | |
always() && !cancelled() && contains(github.event.pull_request.labels.*.name, 'safe to test') && | |
!contains(github.event.pull_request.labels.*.name, 'appimage-ignore-tests') && | |
contains(github.event.pull_request.labels.*.name, 'appimage') && needs.test.result == 'success' | |
uses: viamrobotics/rdk/.github/workflows/appimage.yml@main | |
with: | |
release_type: 'pr' | |
secrets: | |
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }} | |
appimage-ignore-tests: | |
if: | | |
always() && !cancelled() && contains(github.event.pull_request.labels.*.name, 'safe to test') && | |
contains(github.event.pull_request.labels.*.name, 'appimage-ignore-tests') | |
uses: viamrobotics/rdk/.github/workflows/appimage.yml@main | |
with: | |
release_type: 'pr' | |
secrets: | |
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }} | |
# This lets people add a "static-build" tag to have static binaries built for the PR | |
static: | |
needs: [test] | |
if: | | |
always() && !cancelled() && contains(github.event.pull_request.labels.*.name, 'safe to test') && | |
!contains(github.event.pull_request.labels.*.name, 'static-ignore-tests') && | |
contains(github.event.pull_request.labels.*.name, 'static-build') && needs.test.result == 'success' | |
uses: viamrobotics/rdk/.github/workflows/staticbuild.yml@main | |
with: | |
release_type: 'pr' | |
secrets: | |
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }} | |
static-ignore-tests: | |
if: | | |
always() && !cancelled() && contains(github.event.pull_request.labels.*.name, 'safe to test') && | |
contains(github.event.pull_request.labels.*.name, 'static-ignore-tests') | |
uses: viamrobotics/rdk/.github/workflows/staticbuild.yml@main | |
with: | |
release_type: 'pr' | |
secrets: | |
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }} | |
droid: | |
needs: test | |
uses: viamrobotics/rdk/.github/workflows/droid.yml@main | |
with: | |
release_type: 'pr' | |
secrets: | |
GCP_CREDENTIALS: ${{ secrets.GCP_CREDENTIALS }} | |
macos: | |
uses: viamrobotics/rdk/.github/workflows/macos.yml@main | |
license_finder: | |
uses: viamrobotics/rdk/.github/workflows/license_finder.yml@main |