feat: recover or replace launch dir link if missing #1573
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: OTF UATS | |
on: | |
pull_request: | |
branches: '*' | |
env: | |
AWS_REGION : "us-west-2" | |
CODE_BUILD_PROJECT_LINUX: "NucleusUatCodeBuildLinux" | |
AWS_ROLE_TO_ASSUME: "arn:aws:iam::686385081908:role/aws-greengrass-nucleus-codebuild-uat-role-amazonlinux" | |
jobs: | |
uat-linux: | |
permissions: | |
id-token: write | |
contents: read | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
steps: | |
- name: configure aws credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: ${{ env.AWS_ROLE_TO_ASSUME }} | |
role-session-name: nucleusCI | |
aws-region: ${{ env.AWS_REGION }} | |
- name: Run UAT on linux | |
uses: aws-actions/aws-codebuild-run-build@v1 | |
with: | |
project-name: ${{ env.CODE_BUILD_PROJECT_LINUX }} | |
buildspec-override: uat/codebuild/uat_linux_buildspec.yaml |