-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Minor fixed and workflow changes - Bumped all charts - Updated workflow to use GH pages again - Updated foundry-vtt CI values to use dnsConfig - Fixed small non-breaking mistake in foundry-vtt deployment - Updated helm homepage with current chart versions * Fixed missing newline * Split lint and install into 2 jobs * Trigger workflows on workflow file change * Fixed lint job * Disabled PSP by default since it is now deprecated
- Loading branch information
Showing
10 changed files
with
92 additions
and
30 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,13 +3,15 @@ on: | |
push: | ||
paths: | ||
- charts/** | ||
- .github/workflows/** | ||
pull_request: | ||
paths: | ||
- charts/** | ||
- .github/workflows/** | ||
|
||
jobs: | ||
lint-test: | ||
name: "Lint and Test" | ||
lint-charts: | ||
name: Lint Charts | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: "Checkout" | ||
|
@@ -55,45 +57,98 @@ jobs: | |
run: ct lint --config ct.yaml | ||
if: steps.list-changed.outputs.changed == 'true' && github.ref != 'refs/heads/main' | ||
|
||
install-charts: | ||
name: Install Charts | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: "Set Up Helm" | ||
uses: azure/[email protected] | ||
if: github.ref != 'refs/heads/main' | ||
with: | ||
version: v3.4.1 | ||
|
||
- name: "Set Up Python" | ||
uses: actions/[email protected] | ||
if: github.ref != 'refs/heads/main' | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: "Set up chart-testing" | ||
uses: helm/[email protected] | ||
if: github.ref != 'refs/heads/main' | ||
with: | ||
version: v3.3.0 | ||
|
||
- name: "Save Testing Values from Secret" | ||
shell: bash | ||
env: | ||
SECRET_VALUES: ${{ secrets.FOUNDRY_SECRET_VALUES }} | ||
run: echo "$SECRET_VALUES" | base64 -d > ./charts/foundry-vtt/ci/test-values.yaml | ||
if: github.ref != 'refs/heads/main' | ||
|
||
- name: "Run chart-testing (list-changed)" | ||
id: list-changed | ||
if: github.ref != 'refs/heads/main' | ||
run: | | ||
changed=$(ct list-changed --config ct.yaml) | ||
if [[ -n "$changed" ]]; then | ||
echo "::set-output name=changed::true" | ||
fi | ||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
if: steps.list-changed.outputs.changed == 'true' && github.ref != 'refs/heads/main' | ||
|
||
- name: Run chart-testing (install) | ||
run: ct install --config ct.yaml | ||
run: ct install --config ct.yaml --debug | ||
if: steps.list-changed.outputs.changed == 'true' && github.ref != 'refs/heads/main' | ||
|
||
- name: Get Branch name | ||
id: branch-name | ||
uses: tj-actions/branch-names@v6 | ||
if: github.ref != 'refs/heads/main' | ||
|
||
release_on_nexus: | ||
release-on-nexus: | ||
name: Release Chart on Nexus | ||
runs-on: ubuntu-22.04 | ||
needs: lint-test | ||
needs: | ||
- lint-charts | ||
- install-charts | ||
if: github.ref == 'refs/heads/main' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodule: recursive | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Install Helm | ||
uses: azure/setup-helm@v1 | ||
with: | ||
version: v3.4.0 | ||
|
||
- name: Run chart-releaser | ||
uses: ntwklr/nexus-helm-chart-releaser-action@v0.0.5 | ||
uses: helm/chart-releaser-action@v1.1.0 | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
|
||
- name: Setup Hugo | ||
uses: peaceiris/actions-hugo@v2 | ||
with: | ||
hugo-version: 'latest' | ||
|
||
- name: Build Hugo | ||
run: | | ||
git submodule init | ||
git submodule update | ||
cd hugo | ||
hugo --minify | ||
cp -r ./public ../public | ||
cd .. | ||
- name: Deploy Hugo | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
charts_repo_url: https://repo.mahahe.it/repository/helm/ | ||
username: "${{ secrets.NEXUS_USERNAME }}" | ||
password: "${{ secrets.NEXUS_PASSWORD }}" | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./public | ||
cname: helm.mahahe.it | ||
keep_files: true |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,7 @@ foundryvtt: | |
password: "password" | ||
persistence: | ||
enabled: false | ||
dnsConfig: | ||
options: | ||
- name: ndots | ||
value: "1" |
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,10 @@ Welcome to the Official MaHaHe Helm Repository! Here you will find various appli | |
|
||
The Applications we offer at the moment are listed down here. Watch this website often to discover new applications and new versions for them. | ||
|
||
- ```Prometheus PVE [email protected]``` | ||
- ```Prometheus Haproxy [email protected]``` | ||
- ```[email protected]``` | ||
- ```Prometheus PVE [email protected]``` | ||
- ```Prometheus Haproxy [email protected]``` | ||
- ```[email protected]``` | ||
- ```[email protected]``` | ||
|
||
#### License | ||
|
||
|