Release validator_node@0.1.2 #1
Workflow file for this run
This file contains hidden or 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: Create Validator Release | ||
| on: | ||
| push: | ||
| tags: | ||
| - "validator_node@*" | ||
| permissions: | ||
| id-token: write | ||
| contents: read | ||
| jobs: | ||
| release: | ||
|
Check failure on line 13 in .github/workflows/release-validator.yml
|
||
| uses: ./.github/workflows/_release-template.yml | ||
| with: | ||
| tag: ${{ github.ref }} | ||
| secrets: inherit | ||
| rebuild-ec2: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Configure AWS Credentials | ||
| uses: aws-actions/configure-aws-credentials@v2 | ||
| with: | ||
| aws-region: us-east-1 | ||
| role-to-assume: ${{ secrets.IAM_WORKFLOW_ROLE_PROTOCOL }} | ||
| role-session-name: protocol-core-session-id-${{ github.run_id }} | ||
| role-duration-seconds: 1200 | ||
| - name: "Trigger rebuild via SSM" | ||
| run: | | ||
| aws ssm send-command \ | ||
| --region us-east-1 \ | ||
| --timeout-seconds 18000 \ | ||
| --document-name "AWS-RunShellScript" \ | ||
| --targets Key=tag:ValidatorTag,Values=ValidatorNodeEc2 \ | ||
| --parameters commands=["bash /workspace/protocol-core/aws/validator-infra/rebuild-and-run.sh"] | ||