Skip to content

Commit f76d97c

Browse files
authored
Merge pull request #26 from thaunghtike-share/thaung/issue-17
update README for github action
2 parents 8b05b03 + 236e563 commit f76d97c

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,27 @@ helm repo update
1010
helm upgrade --install yieldpay tiphys/tiphys -f ./charts/payroll.yaml --set image.repository=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
1111
```
1212

13+
# Github Action To Create Helm chart using this repo
14+
15+
```
16+
jobs:
17+
release:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: Release code in production
21+
run: |
22+
aws eks --region us-west-2 update-kubeconfig --name ops-prod
23+
helm repo add tiphys https://opszero.github.io/tiphys
24+
helm repo update
25+
helm upgrade --install opsy \
26+
tiphys/tiphys \
27+
-n pump \
28+
--create-namespace \
29+
-f ./charts/prod.yml \
30+
--set defaultImage=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG-api \
31+
--set apps[0].image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG-js \
32+
```
33+
1334
./stage.yaml
1435

1536
```

charts/tiphys/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.5.3
18+
version: 0.5.4
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

0 commit comments

Comments
 (0)