properly configure the service monitor when running with tls enabled #15
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: ci | |
on: | |
push: | |
branches: | |
- "**" | |
tags: | |
- "*" | |
env: | |
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | |
HELM_DIR: ./cockroachdb | |
jobs: | |
############################ tests ############################ | |
lint-helm: | |
runs-on: [self-hosted] | |
steps: | |
- uses: eniblock/build/actions/setup@develop | |
- run: earthly +lint | |
############################ helm ############################ | |
helm-publish: | |
runs-on: [self-hosted] | |
needs: [lint-helm] | |
steps: | |
- uses: eniblock/build/actions/setup@develop | |
- run: | | |
earthly \ | |
--secret registry_password=${{ github.token }} \ | |
+publish \ | |
--tag=${{ env.TAG }} | |
- name: Generate job summary | |
run: | | |
cat <<"EOF" >> $GITHUB_STEP_SUMMARY | |
## Helm package | |
Helm package was generated with tag `${{ env.TAG }}` | |
Use it directly with | |
~~~bash | |
helm install cockroachdb oci://ghcr.io/eniblock/cockroachdb --version ${{ env.TAG }} | |
~~~ | |
or as a helm dependency in your `Chart.yaml`: | |
~~~yaml | |
dependencies: | |
- name: cockroachdb | |
version: "${{ env.TAG }}" | |
repository: "oci://ghcr.io/eniblock" | |
~~~ | |
EOF |