Skip to content

Commit

Permalink
fix 修改为使用 Helm 部署应用程序
Browse files Browse the repository at this point in the history
  • Loading branch information
xyctruth committed Feb 28, 2022
1 parent ab439a1 commit 1c01714
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,21 @@ jobs:
fi
echo ::set-output name=VERSION::${VERSION}
# TODO 修改为使用 Helm 部署应用程序
- name: 'Deploy'
uses: 'deliverybot/helm@v1'
with:
release: 'profiler-dev'
namespace: 'profiler-system'
chart: 'profiler'
token: '${{ github.token }}'
values: |
image.tag: ${{ steps.get_version.outputs.VERSION }}
value-files: >-
[
"values.dev.yaml"
]
env:
KUBECONFIG_FILE: '${{ secrets.KUBE_CONFIG_DATA }}'
- name: deploy to cluster
uses: steebchen/[email protected]
with: # defaults to latest kubectl binary version
Expand Down
2 changes: 1 addition & 1 deletion charts/profiler/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ image:
repository: xyctruth/profiler
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v0.2.5"
tag: "latest"

imagePullSecrets: []
nameOverride: ""
Expand Down
2 changes: 1 addition & 1 deletion charts/profiler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ image:
repository: xyctruth/profiler
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v0.2.5"
tag: "v0.2.6"

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit 1c01714

Please sign in to comment.