fix: whoops #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
paths: | |
- 'chart/**' | |
branches-ignore: | |
- main | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
environment: Dev | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- id: kubeconfig | |
name: Kubectl Config | |
env: | |
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} | |
run: | | |
if ! [ -d ~/.kube ]; then mkdir ~/.kube; fi | |
if ! [ -f ~/.kube/config ]; then touch ~/.kube/config; fi | |
chmod go-rwx ~/.kube/config | |
echo $KUBE_CONFIG | base64 -d > ~/.kube/config | |
- id: clusterinfo | |
name: Cluster Info | |
run: | | |
kubectl cluster-info | |
- name: Helm Debug Dry Run | |
id: dryrun | |
# note that --set mongoConnectionString is a hack just to validate output | |
run: | | |
helm upgrade --dry-run --debug --install -f chart/values.yaml ntt-infra chart \ | |
--set mongoConnectionString=CON_STR_VALUE |