Skip to content

Commit

Permalink
eks release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Delyc committed Dec 11, 2024
1 parent a8b7d94 commit dc57b2c
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/release-publish-cluster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Deploy to EKS

on:
push:
branches:
- main
- 343-feature-request-reduce-the-need-for-container-interaction-in-demo-environment

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code

Check failure on line 14 in .github/workflows/release-publish-cluster.yaml

View workflow job for this annotation

GitHub Actions / Run yamllint

14:5 [indentation] wrong indentation: expected 6 but found 4
uses: actions/checkout@v3

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v3
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- name: Setup kubectl
uses: azure/setup-kubectl@v3
with:
version: 'latest'

Check failure on line 27 in .github/workflows/release-publish-cluster.yaml

View workflow job for this annotation

GitHub Actions / Run yamllint

27:18 [quoted-strings] string value is redundantly quoted with double quotes

- name: Authenticate kubectl with EKS
run: |
aws eks update-kubeconfig --region us-east-1 --name mpm
- name: Deploy to EKS
run: |
kubectl apply -f k8s/deployments
kubectl apply -f k8s/services
kubectl apply -f k8s/secrets

0 comments on commit dc57b2c

Please sign in to comment.