From 4590c84e202f36717bf23c7c59d6d6159de1e2fe Mon Sep 17 00:00:00 2001 From: Alan Bridgeman Date: Mon, 23 Jun 2025 07:59:00 -0500 Subject: [PATCH] Changed automation to match platform that are move towards --- {.github => .forgejo}/workflows/deploy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename {.github => .forgejo}/workflows/deploy.yml (96%) diff --git a/.github/workflows/deploy.yml b/.forgejo/workflows/deploy.yml similarity index 96% rename from .github/workflows/deploy.yml rename to .forgejo/workflows/deploy.yml index 04a4880..0629f49 100644 --- a/.github/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -29,7 +29,7 @@ jobs: echo "Chart Name: $CHART_NAME" - # Note, this depends on the [Harbor Helm Index](https://github.com/AlanBridgeman/harbor-helm-index) pretty heavily + # Note, this depends on the [Harbor Helm Index](https://git.bridgemanaccessible.ca/Bridgeman-Accessible/harbor-helm-index) pretty heavily # In particular, that tool allows us to treat what is an OCI registry as a Helm repository (which includes using `helm search repo`) helm repo add BridgemanAccessible https://helm.bridgemanaccessible.ca @@ -92,15 +92,15 @@ jobs: LOCAL_VERSION=$NEW_LOCAL_VERSION # Update remote URL to use the GITHUB_TOKEN for authentication - git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git + git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@git.bridgemanaccessible.ca/${{ github.repository }}.git # Setup git user details for committing the version change and tag - git config user.name "GitHub Actions" - git config user.email "actions@github.com" + git config user.name "Forgejo Actions" + git config user.email "actions@git.bridgemanaccessible.ca" # Commit the version change to the `package.json` file git add Chart.yaml - git commit -m "[Github Actions] Update Helm chart version to $(yq -r '.version' Chart.yaml)" + git commit -m "[Forgejo Actions] Update Helm chart version to $(yq -r '.version' Chart.yaml)" # Push the changes to the repository git push origin HEAD:main @@ -202,7 +202,7 @@ jobs: FILLED_VALUES_FILE="values.filled.yaml" # Download a filled version of the `values.yaml` file from a secure location - DOWNLOAD_FILE=$(curl -sSL https://secure-storage.bridgemanaccessible.ca/services-dashboard/filled-values?token=${{ secrets.SECURE_STORAGE_TOKEN }} -o $FILLED_VALUES_FILE || echo "Failed to download filled values file.") + DOWNLOAD_FILE=$(curl -sSL https://secure-storage.bridgemanaccessible.ca/services-dashboard/values.filled.yaml?token=${{ secrets.SECURE_STORAGE_TOKEN }} -o $FILLED_VALUES_FILE || echo "Failed to download filled values file.") if [ "$DOWNLOAD_FILE" == "Failed to download filled values file." ]; then echo "Error: $DOWNLOAD_FILE" exit 1