Compare commits

...

2 commits

Author SHA1 Message Date
c14fa914f1
chore(dispatch): remove unused anchors
Some checks failed
Validate Charts / Get Charts being Changed (pull_request) Successful in 6s
Validate Charts / Lint (pull_request) Failing after 7s
Validate Charts / Audit (pull_request) Failing after 7s
Validate Charts / Outdated APIs (pull_request) Failing after 7s
2024-11-14 17:27:26 +01:00
828459af2d
chore: update release 2024-11-13 07:06:32 +01:00
2 changed files with 8 additions and 7 deletions

View file

@ -40,7 +40,7 @@ jobs:
fetch-depth: 0
- name: Publish
env:
FORGEJO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FORGEJO_TOKEN: ${{ secrets.REPO_TOKEN }}
REPO: ${{ github.repository }}
RELEASE_DIR: dist
RELEASE_NOTES: /var/ci-os/templates/release-notes-template.md
@ -58,11 +58,12 @@ jobs:
echo "packing $chart"
helm package "$chart" -d dist
cd dist
curl --user "tommy:$FORGEJO_TOKEN" \
--upload-file "$TAG.tgz" \
https://code.252.no/api/packages/tommy/generic/$CHART_NAME/$CHART_VERSION/$TAG.tgz
curl --user ${{ github.repository_owner }}:${{ secrets.REGISTRY_TOKEN }} \
--upload-file "dist/$TAG.tgz" \
https://code.252.no/api/packages/${{ github.repository_owner }}/generic/$CHART_NAME/$CHART_VERSION/$TAG.tgz
cd ..
echo "$RELEASE_NOTES"
echo "$TAG"
forgejo-release create

View file

@ -31,7 +31,7 @@ spec:
- -c
- |
dispatch database init || true
env: &dispatchEnv
env:
- name: MJML_PATH
value: /node_modules/.bin
- name: DISPATCH_UI_URL
@ -57,7 +57,7 @@ spec:
imagePullPolicy: {{ coalesce $.Values.image.pullPolicy .pullPolicy }}
{{- end }}
command: ["dispatch", "database", "upgrade"]
env: &dispatchEnv
env:
- name: MJML_PATH
value: /node_modules/.bin
- name: DISPATCH_UI_URL