Skip to content

Conversation

henrygr
Copy link
Member

@henrygr henrygr commented Nov 10, 2026 •

(stale)NOTE: deploy-azure github action CANNOT be run here, and is intended for future use on public github, as it is intended to be used with OIDC on public github. The job WILL fail and nothing will change in the deplyoment

NEW NOTE: The deploy pipeline MIGHT work on ntnu's enterprize github now, but will need to be confirmed

@henrygr henrygr requested a review from a team as a code owner November 10, 2026 19:18
`az containerapp job start --image` creates an execution that drops the
job's command and env overrides, so the container ran the image's
default CMD and crashed without DATABASE_URL. Update the job's template
image first, then start it plainly so the full job template applies.
Verified working end-to-end in Azure (execution gspotter-migrate-rzw4u6i).
The NTNU Entra tenant blocks app registrations, so a client-secret
service principal is not possible. Instead, a user-assigned managed
identity (id-gspotter-ci) gets a federated identity credential for
this repo's main branch via git.ntnu.no's Actions OIDC issuer, plus
Contributor on the resource group and AcrPush on the registry.

Also: document the required GitHub secrets and update the deploy
workflow's login to OIDC (client-id/tenant-id/subscription-id).
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant