Enable startupProbe in some containers #1372
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: Lint codebase | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." | |
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" | |
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
with: | |
# Full git history is needed to get a proper list of changed files within `super-linter` | |
fetch-depth: 0 | |
- name: Lint Code Base | |
uses: github/super-linter@v4 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
DEFAULT_BRANCH: main | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
FILTER_REGEX_EXCLUDE: '.*doc/.*|.*github/.*' | |
helm-readme-generator: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Generate container 'helm-readme-generator' | |
run: | | |
git clone https://github.com/bitnami-labs/readme-generator-for-helm | |
docker build \ | |
-t helm-readme-generator \ | |
readme-generator-for-helm/ | |
- name: Check README values synced | |
run: | | |
set -ex | |
cd chart/ | |
cp README.md README_old.md | |
docker run --rm \ | |
-v "${PWD}":/my_helm \ | |
-w /my_helm \ | |
helm-readme-generator \ | |
readme-generator \ | |
--readme README.md \ | |
--values values.yaml | |
if ! cmp README.md README_old.md >/dev/null 2>&1 | |
then | |
echo "Files aren't equal" | |
diff README_old.md README.md | |
exit 1 | |
else | |
echo "Files look equal!" | |
fi |