Update startup probe #203
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: Helm Chart CI | |
on: | |
- pull_request | |
# - push | |
# Only run the latest job | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.ref || github.run_id }}' | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Install Helm | |
uses: azure/setup-helm@v4 | |
with: | |
version: v3.13.3 | |
- name: Setup Bats and Bats libs | |
uses: bats-core/[email protected] | |
with: | |
bats-version: 1.11.0 | |
support-path: ${{ github.workspace }}/tests/test-common/bats-support | |
assert-path: ${{ github.workspace }}/tests/test-common/bats-assert | |
detik-install: false | |
- name: Login to Github Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create k8s Kind Cluster | |
uses: helm/[email protected] | |
with: | |
node_image: "kindest/node:v1.29.0" | |
config: ./.github/workflows/ci/kind-config.yaml | |
cluster_name: chart-testing | |
- name: Setup Image registry | |
run: |- | |
./.github/workflows/ci/setup-image-registry.sh | |
- name: Setup Nginx Ingress Controller | |
run: |- | |
./.github/workflows/ci/setup-nginx-ingress-controller.sh | |
- name: Modify /etc/hosts | |
run: |- | |
sudo echo "127.0.0.1 wildfly.local" | sudo tee -a /etc/hosts | |
- name: Run Tests | |
run: |- | |
cd tests/bats | |
export IMAGE_REGISTRY=localhost:5001 && export PUSH_TO_REGISTRY=true && export USE_OPENSHIFT=false && export BATS_LIBS_BASEDIR=../test-common && export CLUSTER_CLIENT=kubectl && bats --timing --trace --verbose-run -r . |