Skip to content

Release MacOS hosts #297

Release MacOS hosts

Release MacOS hosts #297

name: Release MacOS hosts
on:
workflow_dispatch: {}
schedule:
- cron: 0 10 * * *
permissions:
id-token: write
contents: read
jobs:
release_hosts:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
# TODO use aws ssm
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/envoy-ci
role-duration-seconds: 900
aws-region: us-east-2
- name: Release MacOS available hosts
working-directory: terraform
run: |
./release-hosts.sh