Altinn/altinn-authorization

Deploy & Patching W22

Opened this issue · 0 comments

Tuesday

  • Deploy1 all components to production2.
  • Deploy updates to APIM (if updated since last deploy)
    • Check apim deploys to tt for updates to #resourceregistry and #authentication. If none of them have been deployed the last week, no change needed.
  • Go grab a coffee
  • Post-deploy4 all components in production.

Wednesday

  • Deploy1 all components to TT02.
  • Deploy updates to APIM (if updated since last deploy)
    • Check apim deploys to at for updates to #resourceregistry and #authentication. If none of them have been deployed the last week, no change needed.
  • Go grab a coffee
  • Post-deploy4 all components in TT02.

Thursday

Go through all github pull-requests from the dependency bots in all repos.

Footnotes

  1. Approve pending prod releases by clicking the blue production chip and clicking approve. image-20240306133832594 2

  2. Look for any blue production chips. image-20240306133137061

  3. Check if there are any awaiting deployments to production for Auditlog
    Awaiting deployment of Prod
    Click on the awaiting deployment. You can see that a deployment to TT02 was successfull last week. Click on Review deployments
    Detailed view of Awaiting deployment of prod
    Click on the prod checkbox and then click approve and deploy. This will trigger a deployment to production.
    Review deployment of prod

  4. This is done after checking that everything is running as it should. 2

  5. Verify that the newly deployed package has the right image tag Properties of container app
    Check the provisioning status in the container apps overview page
    provision status of container app 2

  6. Verify the function app deployment status in the deployment logs in deployment center of the function app
    deployment status of function app 2

  7. The new components are deployed via github actions. For auditlog, a release is scheduled every wednesday. Go to https://github.com/Altinn/altinn-auth-audit-log/releases and check if there are any draft release is found.
    Releases list
    click on Edit Draft and set the release title as the tag version f.eks in the picture you can see that the tag is 2024.4.3 and the release title therefore should be set as 2024.4.3.
    Edit release notes draft
    Scroll down and you will find the button "Publish Release"
    Publish release
    once the publish release is clicked, release notes will be published and a deploy will be triggered to TT02.
    Published release
    You can see that the deploy is triggered and the approvers are notified about the awaiting deployment of Auditlog
    Awaiting deployment of TT02
    Click on the awaiting deployment
    Detailed view of Awaiting deployment of TT02
    Click on review deployments. Click the tt02 checkbox and click approve and deploy button
    Review of TT02 deployment
    Now you can see that a deployment is triggered to TT02
    deploy progress of TT02
    Once the package is successfully deployed to TT02, you can see that a deployment to production is triggered. This will be approved by the deployer on the following Tuesday
    Image showing tt02 deployed and producntion deployment is triggered