Skip to content

Commit

Permalink
Release kraken 0.4.11
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmaanT committed Feb 17, 2021
1 parent 1911bd2 commit 92a64f2
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 16 deletions.
4 changes: 4 additions & 0 deletions cdk/kraken/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.4.11 (2021-02-17)

* Hotfix deploy job

## 0.4.10 (2021-02-13)

* Modify deploy script to fully fail if a single command fails
Expand Down
2 changes: 1 addition & 1 deletion cdk/kraken/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
],
"main": "lib/index.js",
"license": "MIT",
"version": "0.4.10",
"version": "0.4.11",
"jest": {
"clearMocks": true,
"collectCoverage": true,
Expand Down
5 changes: 1 addition & 4 deletions cdk/kraken/src/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,7 @@ export class DeployJob extends CheckoutJob {
if: `github.ref == 'refs/heads/${fullConfig.defaultBranch}'`,
steps: [{
name: 'Deploy',
run: dedent`# default options to make sure failures stop script execution
set -euo pipefail
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
run: dedent`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
export KUBECONFIG=/kubeconfig.conf
Expand Down
5 changes: 1 addition & 4 deletions cdk/kraken/test/__snapshots__/custom.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ Object {
"REPOSITORY": "\${{ github.repository }}",
},
"name": "Deploy",
"run": "# default options to make sure failures stop script execution
set -euo pipefail
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
"run": "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
export KUBECONFIG=/kubeconfig.conf
Expand Down
6 changes: 0 additions & 6 deletions cdk/kraken/test/__snapshots__/labs-application.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@ jobs:
- uses: actions/checkout@v2
- name: Deploy
run: |-
# default options to make sure failures stop script execution
set -euo pipefail
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
export KUBECONFIG=/kubeconfig.conf
Expand Down Expand Up @@ -396,9 +393,6 @@ jobs:
- uses: actions/checkout@v2
- name: Deploy
run: |-
# default options to make sure failures stop script execution
set -euo pipefail
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
export KUBECONFIG=/kubeconfig.conf
Expand Down
2 changes: 1 addition & 1 deletion cdk/kraken/version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.4.10"
"version": "0.4.11"
}

0 comments on commit 92a64f2

Please sign in to comment.