From 87f19bf23736d8fce7149b8f9af48baf282f2c84 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 7 Apr 2021 23:48:27 +0000 Subject: [PATCH 1/4] chore(release): 0.6.2 [skip ci] ## [0.6.2](https://github.com/CoCreate-app/CoCreateWS/compare/v0.6.1...v0.6.2) (2021-04-07) ### Bug Fixes * test deploy ([4321c26](https://github.com/CoCreate-app/CoCreateWS/commit/4321c26436da83daaeb3dceaf591dcbc4a05aa9b)) --- CHANGELOG.md | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f05775..f997bb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## [0.6.2](https://github.com/CoCreate-app/CoCreateWS/compare/v0.6.1...v0.6.2) (2021-04-07) + + +### Bug Fixes + +* test deploy ([4321c26](https://github.com/CoCreate-app/CoCreateWS/commit/4321c26436da83daaeb3dceaf591dcbc4a05aa9b)) + ## [0.6.1](https://github.com/CoCreate-app/CoCreateWS/compare/v0.6.0...v0.6.1) (2021-04-07) diff --git a/package.json b/package.json index 175c33c..4854501 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cocreate/cocreatews", - "version": "0.6.1", + "version": "0.6.2", "description": "CoCreateWS", "keywords": [ "cocreatews", From d5b61e7b9347c82e7a009ab890891a920a795a95 Mon Sep 17 00:00:00 2001 From: jiuchen1986 <33239761+jiuchen1986@users.noreply.github.com> Date: Wed, 7 Apr 2021 17:05:56 -0700 Subject: [PATCH 2/4] temporary force package to run --- .github/workflows/automation.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/automation.yml b/.github/workflows/automation.yml index b152a60..7b23ed7 100644 --- a/.github/workflows/automation.yml +++ b/.github/workflows/automation.yml @@ -53,7 +53,7 @@ jobs: package: runs-on: ubuntu-latest needs: release - if: needs.release.outputs.new_release_published == 'true' + # if: needs.release.outputs.new_release_published == 'true' env: IMAGE: docker.pkg.github.com/cocreate-app/cocreatews/cocreatews VERSION: ${{ needs.release.outputs.new_release_version }} @@ -79,7 +79,7 @@ jobs: runs-on: ubuntu-latest needs: - release - # - package + - package # if: needs.release.outputs.new_release_published == 'true' env: VERSION: ${{ needs.release.outputs.new_release_version }} From b0d23f949191ab446869ac879dbacc519c5c9b3f Mon Sep 17 00:00:00 2001 From: jiuchen1986 <33239761+jiuchen1986@users.noreply.github.com> Date: Wed, 7 Apr 2021 17:13:16 -0700 Subject: [PATCH 3/4] temporary dry run kubectl --- .github/workflows/automation.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/automation.yml b/.github/workflows/automation.yml index 7b23ed7..a445d8b 100644 --- a/.github/workflows/automation.yml +++ b/.github/workflows/automation.yml @@ -53,7 +53,7 @@ jobs: package: runs-on: ubuntu-latest needs: release - # if: needs.release.outputs.new_release_published == 'true' + if: needs.release.outputs.new_release_published == 'true' env: IMAGE: docker.pkg.github.com/cocreate-app/cocreatews/cocreatews VERSION: ${{ needs.release.outputs.new_release_version }} @@ -79,7 +79,7 @@ jobs: runs-on: ubuntu-latest needs: - release - - package + #- package # if: needs.release.outputs.new_release_published == 'true' env: VERSION: ${{ needs.release.outputs.new_release_version }} @@ -107,4 +107,4 @@ jobs: run: | ./kubectl config view --raw sed -i "s/IMAGE_TAG/${VERSION}/g" k8s/kustomization.yaml - ./kubectl kustomize k8s/ | ./kubectl apply -f - + ./kubectl kustomize k8s/ | ./kubectl apply --dry-run=server -o yaml -f - From 26e9093d807f4997fa76d87f67b4152aa60db2e7 Mon Sep 17 00:00:00 2001 From: jiuchen1986 <33239761+jiuchen1986@users.noreply.github.com> Date: Wed, 7 Apr 2021 17:16:05 -0700 Subject: [PATCH 4/4] clean all the debug content --- .github/workflows/automation.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/automation.yml b/.github/workflows/automation.yml index a445d8b..262c47a 100644 --- a/.github/workflows/automation.yml +++ b/.github/workflows/automation.yml @@ -79,8 +79,8 @@ jobs: runs-on: ubuntu-latest needs: - release - #- package - # if: needs.release.outputs.new_release_published == 'true' + - package + if: needs.release.outputs.new_release_published == 'true' env: VERSION: ${{ needs.release.outputs.new_release_version }} KUBECONFIG_FILE: ${{ secrets.KUBECONFIG }} @@ -99,12 +99,10 @@ jobs: KUBECONFIG_FILE: ${{ secrets.KUBECONFIG }} run: | echo ${KUBECONFIG_FILE} | base64 -d > ${KUBECONFIG} - cat ${KUBECONFIG} - name: Apply deployment env: GITHUB_TOKEN: ${{ secrets.GITHUB }} run: | - ./kubectl config view --raw sed -i "s/IMAGE_TAG/${VERSION}/g" k8s/kustomization.yaml - ./kubectl kustomize k8s/ | ./kubectl apply --dry-run=server -o yaml -f - + ./kubectl kustomize k8s/ | ./kubectl apply -f -