File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 "upgrade-cdk" : " yarn upgrade cdkactions@latest cdkactions-cli@latest"
1414 },
1515 "dependencies" : {
16- "@pennlabs/kraken" : " ^0.4.12 " ,
16+ "@pennlabs/kraken" : " ^0.5.0 " ,
1717 "cdkactions" : " ^0.2.1" ,
1818 "constructs" : " ^3.2.80"
1919 },
Original file line number Diff line number Diff line change 22# yarn lockfile v1
33
44
5- " @pennlabs/kraken@^0.4.12 " :
6- version "0.4.12 "
7- resolved "https://registry.yarnpkg.com/@pennlabs/kraken/-/kraken-0.4.12 .tgz#1e01fcbc07f74c55bf08694d9c224c92a9a29b77 "
8- integrity sha512-Wul9blNqPSnZDTv3zw40tN1bPYXP7/6BgFgopBYbCGFNig9/T7fMBoo8ueRaxrDN5721kkMT7LFElXqFo4VR3g ==
5+ " @pennlabs/kraken@^0.5.0 " :
6+ version "0.5.0 "
7+ resolved "https://registry.yarnpkg.com/@pennlabs/kraken/-/kraken-0.5.0 .tgz#b79d24f3d34a1ef4aff7edc0e90e5bd9388c1897 "
8+ integrity sha512-4QHJ7hPoxswsNpELdlDXX73GKecelCdPXKf7MEJYZ3Xe3UCZGEStVLYFoJUEev+KaxN0IxxTqYZ3kfPqabqEIQ ==
99 dependencies :
1010 cdkactions "^0.2.0"
1111 constructs "^3.2.80"
Original file line number Diff line number Diff line change @@ -204,15 +204,13 @@ jobs:
204204 deploy :
205205 runs-on : ubuntu-latest
206206 container :
207- image : pennlabs/helm-tools:c964e53d3e3e88d36677e84f5437da40a289c7a4
207+ image : pennlabs/helm-tools:39b60af248944898fcbc58d1fe5b0f1995420aef
208208 if : github.ref == 'refs/heads/master'
209209 steps :
210210 - uses : actions/checkout@v2
211211 - name : Deploy
212212 run : |-
213- curl -s -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $DO_AUTH_TOKEN" "https://api.digitalocean.com/v2/kubernetes/clusters/${K8S_CLUSTER_ID}/kubeconfig" > /kubeconfig.conf
214-
215- export KUBECONFIG=/kubeconfig.conf
213+ aws eks --region us-east-1 update-kubeconfig --name production --role-arn arn:aws:iam::${AWS_ACCOUNT_ID}:role/kubectl
216214
217215 # get repo name (by removing owner/organization)
218216 RELEASE_NAME=${REPOSITORY#*/}
@@ -240,6 +238,9 @@ jobs:
240238 exit 1
241239 env :
242240 IMAGE_TAG : ${{ github.sha }}
241+ AWS_ACCOUNT_ID : ${{ secrets.AWS_ACCOUNT_ID }}
242+ AWS_ACCESS_KEY_ID : ${{ secrets.GH_AWS_ACCESS_KEY_ID }}
243+ AWS_SECRET_ACCESS_KEY : ${{ secrets.GH_AWS_SECRET_ACCESS_KEY }}
243244 DO_AUTH_TOKEN : ${{ secrets.DO_AUTH_TOKEN }}
244245 K8S_CLUSTER_ID : ${{ secrets.K8S_CLUSTER_ID }}
245246 REPOSITORY : ${{ github.repository }}
You can’t perform that action at this time.
0 commit comments