Skip to content

Commit

Permalink
[PC-1926] Update AWS cli to v2 and kubectl 1.28.14
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Galvan <sergalma@gmail.com>
  • Loading branch information
sgmac committed Aug 8, 2024
1 parent 1d1abe5 commit 924ff38
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 289 deletions.
37 changes: 0 additions & 37 deletions .github/CONTRIBUTING.md

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/check-pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: GitHub Actions - Check PR Title
on:
pull_request:
types: [opened, reopened, edited, synchronize]
jobs:
Jira-PR-Title:
# Github Runnner in `tools-staging` runner set
runs-on: arc-runner-set
steps:
- name: "Check PR Title"
if: ${{ (github.actor != 'dependabot[bot]') && (github.actor != 'EburyCrowdin') }}
uses: Ebury/github-tools/.github/workflows/check-pr-title-reusable-workflow.yml@master
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 924ff38

Please sign in to comment.