Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
fix: upgrade client-sdk-go version
Browse files Browse the repository at this point in the history
  • Loading branch information
akurilov committed Aug 4, 2023
1 parent fb55bbb commit 1a2b99b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 21 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,23 +51,23 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: helm/package/

# - name: Google Cloud Auth
# uses: 'google-github-actions/auth@v1'
# with:
# credentials_json: '${{ secrets.GKE_SA_KEY }}'
#
# - uses: google-github-actions/setup-gcloud@v1
# with:
# project_id: ${{ secrets.GKE_RPOJECT_ID }}
#
# - name: Kubeconfig
# run: |
# gcloud components install gke-gcloud-auth-plugin
# gcloud container clusters get-credentials ${{ secrets.GKE_CLUSTER_NAME_DEMO }} \
# --region ${{ secrets.GKE_CLUSTER_REGION }} \
# --project ${{ secrets.GKE_PROJECT_ID }}
#
# - name: Helm Upgrade
# run: |
# helm upgrade --install ${COMPONENT} helm/package/${COMPONENT}-0.0.0.tgz \
# --set podAnnotations.commit=$(git rev-parse --short HEAD),db.password.secret.enabled=false,db.protocol=mongodb+srv,db.tls.enabled=true,db.tls.insecure=true,db.hostname=${{ secrets.DB_HOST_DEMO }},db.username=${{ secrets.DB_USERNAME_DEMO }},db.password.raw=${{ secrets.DB_PASSWORD_DEMO }}
- name: Google Cloud Auth
uses: 'google-github-actions/auth@v1'
with:
credentials_json: '${{ secrets.GKE_SA_KEY }}'

- uses: google-github-actions/setup-gcloud@v1
with:
project_id: ${{ secrets.GKE_RPOJECT_ID }}

- name: Kubeconfig
run: |
gcloud components install gke-gcloud-auth-plugin
gcloud container clusters get-credentials ${{ secrets.GKE_CLUSTER_NAME_DEMO }} \
--region ${{ secrets.GKE_CLUSTER_REGION }} \
--project ${{ secrets.GKE_PROJECT_ID }}
- name: Helm Upgrade
run: |
helm upgrade --install ${COMPONENT} helm/package/${COMPONENT}-0.0.0.tgz \
--set podAnnotations.commit=$(git rev-parse --short HEAD),db.password.secret.enabled=false,db.protocol=mongodb+srv,db.tls.enabled=true,db.tls.insecure=true,db.hostname=${{ secrets.DB_HOST_DEMO }},db.username=${{ secrets.DB_USERNAME_DEMO }},db.password.raw=${{ secrets.DB_PASSWORD_DEMO }}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/SlyMarbo/rss v1.0.5
github.com/awakari/client-sdk-go v1.0.1
github.com/awakari/client-sdk-go v1.0.2
github.com/cloudevents/sdk-go/binding/format/protobuf/v2 v2.14.0
github.com/google/uuid v1.3.0
github.com/kelseyhightower/envconfig v1.4.0
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ github.com/SlyMarbo/rss v1.0.5 h1:DPcZ4aOXXHJ5yNLXY1q/57frIixMmAvTtLxDE3fsMEI=
github.com/SlyMarbo/rss v1.0.5/go.mod h1:w6Bhn1BZs91q4OlEnJVZEUNRJmlbFmV7BkAlgCN8ofM=
github.com/awakari/client-sdk-go v1.0.1 h1:4UULsLPSceCpdeDDWTqqKu9peXigoMVJz78aF5ghNtg=
github.com/awakari/client-sdk-go v1.0.1/go.mod h1:QMPZGt4vNYscux4MjeSQUloFY8iYhR81ztG44FuUmzI=
github.com/awakari/client-sdk-go v1.0.2 h1:lrt3fuhlok+Pa+cHNenK8QUdnfnnTbFG1akeGIm3cEk=
github.com/awakari/client-sdk-go v1.0.2/go.mod h1:QMPZGt4vNYscux4MjeSQUloFY8iYhR81ztG44FuUmzI=
github.com/axgle/mahonia v0.0.0-20180208002826-3358181d7394 h1:OYA+5W64v3OgClL+IrOD63t4i/RW7RqrAVl9LTZ9UqQ=
github.com/axgle/mahonia v0.0.0-20180208002826-3358181d7394/go.mod h1:Q8n74mJTIgjX4RBBcHnJ05h//6/k6foqmgE45jTQtxg=
github.com/cloudevents/sdk-go/binding/format/protobuf/v2 v2.14.0 h1:dEopBSOSjB5fM9r76ufM44AVj9Dnz2IOM0Xs6FVxZRM=
Expand Down

0 comments on commit 1a2b99b

Please sign in to comment.