Skip to content

Commit

Permalink
Added flexibility such as PROXY environment and Image selection
Browse files Browse the repository at this point in the history
  • Loading branch information
Takeshi Nakatani committed Oct 24, 2023
1 parent 2e06d68 commit bb04bd1
Show file tree
Hide file tree
Showing 21 changed files with 2,673 additions and 445 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@ jobs:
- uses: azure/setup-helm@v3
id: install

#
# Check values.yaml
#
- name: CheckValuesYaml
run: |
if grep -i 'CAUTIONS' values.yaml; then
echo "[ERROR] The values.yaml contains CAUTION information."
exit 1
fi
#
# Check scripts by shellcheck
#
Expand Down Expand Up @@ -103,7 +113,7 @@ jobs:
run: |
REPONAME=$(echo "${GITHUB_REPOSITORY}" | sed -e 's#^.*/##g')
cd "${GITHUB_WORKSPACE}"/..
helm template dummy "${REPONAME}" --set k2hr3.unscopedToken=dummy_token --set k2hr3.clusterName=dummy_k2hr3 | sed -e 's/^# Source:.*$//g' > /tmp/test_template.result
helm template dummy "${REPONAME}" --set k2hr3.unscopedToken=dummy_token --set k2hr3.clusterName=dummy_k2hr3 | sed -e 's/^# Source:.*$//g' -e 's#image:[[:space:]]*.*/#image: #g' > /tmp/test_template.result
diff /tmp/test_template.result "${GITHUB_WORKSPACE}"/.github/workflows/helm_template.result
#
Expand Down
Loading

0 comments on commit bb04bd1

Please sign in to comment.