mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 11:41:27 +00:00
Images for `actions-runner:v${VERSION}` and `actions-runner:latest` tags are upgraded to Ubuntu 20.04.
If you would like not to upgrade Ubuntu in the runner image in the future, migrate to new tags suffixed with `-ubuntu-20.04` like`actions-runner:v${VERSION}-ubuntu-20.04`.
We also keep publishing the existing Ubuntu 18.04 images with new `actions-runner:v${VERSION}-ubuntu-18.04` tags. Please use it when it turned out that you had workflows dependent on Ubuntu 18.04.
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
name: EKS Integration Tests
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
IRSA_ROLE_ARN:
|
|
ASSUME_ROLE_ARN:
|
|
AWS_REGION:
|
|
|
|
jobs:
|
|
assume-role-in-runner-test:
|
|
runs-on: ['self-hosted', 'Linux']
|
|
steps:
|
|
- name: Test aws-actions/configure-aws-credentials Action
|
|
uses: aws-actions/configure-aws-credentials@v1
|
|
with:
|
|
aws-region: ${{ env.AWS_REGION }}
|
|
role-to-assume: ${{ env.ASSUME_ROLE_ARN }}
|
|
role-duration-seconds: 900
|
|
assume-role-in-container-test:
|
|
runs-on: ['self-hosted', 'Linux']
|
|
container:
|
|
image: amazon/aws-cli
|
|
env:
|
|
AWS_WEB_IDENTITY_TOKEN_FILE: /var/run/secrets/eks.amazonaws.com/serviceaccount/token
|
|
AWS_ROLE_ARN: ${{ env.IRSA_ROLE_ARN }}
|
|
volumes:
|
|
- /var/run/secrets/eks.amazonaws.com/serviceaccount/token:/var/run/secrets/eks.amazonaws.com/serviceaccount/token
|
|
steps:
|
|
- name: Test aws-actions/configure-aws-credentials Action in container
|
|
uses: aws-actions/configure-aws-credentials@v1
|
|
with:
|
|
aws-region: ${{ env.AWS_REGION }}
|
|
role-to-assume: ${{ env.ASSUME_ROLE_ARN }}
|
|
role-duration-seconds: 900
|