feat: update version to 0.0.6 in Makefile; add helm deployment instructions to README; remove commented-out deployment steps from workflow
All checks were successful
Build and Push to Private Registry101 / build (push) Successful in 9s
All checks were successful
Build and Push to Private Registry101 / build (push) Successful in 9s
This commit is contained in:
@@ -28,10 +28,4 @@ jobs:
|
||||
name: Build Docker image
|
||||
- run: docker push kube-reg.fairfaxmedia.net/papi/svc1:${{ steps.extract_branch.outputs.branch }} # Push the Docker image
|
||||
name: Push Docker image
|
||||
#- env:
|
||||
#KUBEB64: '${{ secrets.KUBEB64 }}'
|
||||
#run: mkdir -p $HOME/.kube &&echo "$KUBEB64" | base64 -d > $HOME/.kube/config &&
|
||||
#curl https://fairfaxmedia.net/helm -o /usr/local/bin/helm && chmod +xxx /usr/local/bin/helm &&
|
||||
#/usr/local/bin/helm upgrade --install papi papi-helm/ --set image.tag=${{ steps.extract_branch.outputs.branch }} # Deploy the Helm chart
|
||||
|
||||
|
||||
|
||||
2
Makefile
2
Makefile
@@ -1,5 +1,5 @@
|
||||
ENV=dev
|
||||
VER=0.0.5
|
||||
VER=0.0.6
|
||||
TAG=${ENV}-${VER}
|
||||
REGISTRY=kube-reg.fairfaxmedia.net
|
||||
SVC=papi/svc1
|
||||
|
||||
@@ -98,6 +98,15 @@ run the following:
|
||||
[swagger-ui](https://papi.kube-dev.fairfaxmedia.net/docs)
|
||||
|
||||
|
||||
### helm deployment
|
||||
```bash
|
||||
helm upgrade papi ./papi-helm/ -f ./papi-helm/v.${ENV}.yaml --set image.tag=${TAG} --set env.VERSION=${VER}
|
||||
```
|
||||
or alternatively
|
||||
```bash
|
||||
make deploy
|
||||
```
|
||||
|
||||
### postman-like hopscotch collection:
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user