Skip to content

Commit

Permalink
Merge pull request #1 from Ebury/PC-1926-github-runners-customize-module
Browse files Browse the repository at this point in the history
[PC-1926] Update AWS cli to v2 and kubectl 1.28.14
  • Loading branch information
sgmac authored Aug 8, 2024
2 parents 1d1abe5 + e1b1cda commit 3586c63
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 289 deletions.
37 changes: 0 additions & 37 deletions .github/CONTRIBUTING.md

This file was deleted.

52 changes: 0 additions & 52 deletions .github/workflows/pr-title.yml

This file was deleted.

96 changes: 0 additions & 96 deletions .github/workflows/pre-commit.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/release-please.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/terraform-min-max.yml

This file was deleted.

6 changes: 6 additions & 0 deletions modules/user_data/cloud-init-ephemeral.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ runcmd:
- chmod a+r -R /home/ubuntu/actions-runner
- systemctl enable this.service

# install kubectl/aws
- apt remove awscli -y
- snap install kubectl --channel=1.28/stable --classic
- snap install aws-cli --classic


power_state:
mode: reboot

Expand Down
6 changes: 6 additions & 0 deletions modules/user_data/cloud-init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@ runcmd:
- mv actions-runner /home/ubuntu/actions-runner
- chown -R ubuntu:ubuntu /home/ubuntu

# install kubectl/aws
- apt remove awscli -y
- snap install kubectl --channel=1.28/stable --classic
- snap install aws-cli --classic


# configure actions-runner
- PERSONAL_ACCESS_TOKEN=`aws ssm get-parameter --with-decryption --name ${SSM_PARAMETER_NAME} --region ${REGION} | jq -r '.Parameter.Value'`
- >
Expand Down

0 comments on commit 3586c63

Please sign in to comment.