diff --git a/.gitlab/issue_templates/deploy-new-stack-in-production.md b/.gitlab/issue_templates/deploy-new-stack-in-production.md index 9b4363f..fde09b1 100644 --- a/.gitlab/issue_templates/deploy-new-stack-in-production.md +++ b/.gitlab/issue_templates/deploy-new-stack-in-production.md @@ -1,17 +1,18 @@ /title production: Deploy new stack -/milestone % +/milestone %"Extend archive coverage [Roadmap - Collect]" + +/labels ~"activity::Deployment" -/label ~"activity::deployment" - [ ] [swh-charts](https://gitlab.softwareheritage.org/swh/infra/ci-cd/swh-charts/-/blob/production/swh/values/production.yaml?ref_type=heads#L126): Checkout production branch - [ ] [swh-charts](https://gitlab.softwareheritage.org/swh/infra/ci-cd/swh-charts/-/blob/production/swh/values/production.yaml?ref_type=heads#L143): Adapt values to reference the new lister and loader (equivalent to what was done for staging) - [ ] Deploy (push branch and let argocd do its job) - [ ] Tag grafana with "deployment service=loader- service= environment=production" [1] - [ ] Checks pods are doing their jobs Dashboard to follow [1] [1] https://grafana.softwareheritage.org/goto/e-c3EAWIz?orgId=1 Refs. diff --git a/.gitlab/issue_templates/deploy-new-stack-in-staging.md b/.gitlab/issue_templates/deploy-new-stack-in-staging.md index 86938d7..abb21e7 100644 --- a/.gitlab/issue_templates/deploy-new-stack-in-staging.md +++ b/.gitlab/issue_templates/deploy-new-stack-in-staging.md @@ -1,18 +1,19 @@ /title staging: Deploy new stack -/milestone % +/milestone %"Extend archive coverage [Roadmap - Collect]" + +/labels ~"activity::Deployment" -/label ~"activity::deployment" - [ ] [swh-apps](https://gitlab.softwareheritage.org/swh/infra/swh-apps/-/tree/master/apps?ref_type=heads): Build image (if required) - [ ] [swh-charts](https://gitlab.softwareheritage.org/swh/infra/ci-cd/swh-charts/-/blob/staging/values-swh-application-versions.yaml?ref_type=heads): Reference new image (if required) - [ ] [swh-charts](https://gitlab.softwareheritage.org/swh/infra/ci-cd/swh-charts/-/blob/staging/swh/values/staging.yaml?ref_type=heads#L126): Adapt values to reference the new lister and loader - [ ] Deploy (push branch and let argocd do its job) - [ ] Tag grafana with "deployment service=loader- service= environment=staging" [1] - [ ] Checks pods are doing their jobs Dashboard to follow [1] [1] https://grafana.softwareheritage.org/goto/e-c3EAWIz?orgId=1 Refs. diff --git a/.gitlab/issue_templates/deploy-new-stack-version.md b/.gitlab/issue_templates/deploy-new-stack-version.md index 6016b44..d5474da 100644 --- a/.gitlab/issue_templates/deploy-new-stack-version.md +++ b/.gitlab/issue_templates/deploy-new-stack-version.md @@ -1,24 +1,26 @@ /title Deploy new -/milestone % +/milestone %"MRO 2023" + +/labels ~"activity::Deployment" + -/label ~"activity::deployment" staging: - [ ] [swh-apps](https://gitlab.softwareheritage.org/swh/infra/swh-apps/-/tree/master/apps?ref_type=heads): Build image (if required because of new deps for example) - [ ] [swh-charts](https://gitlab.softwareheritage.org/swh/infra/ci-cd/swh-charts/-/merge_requests): Merge MR with image versions updates triggered by the CI - [ ] Push branch 'staging' && Let argocd deploy and do its job - [ ] Checks pods are doing their jobs without crashing - [ ] Tag grafana with "deployment service= service= ... environment=staging" [1] [2] production: - [ ] Merge 'staging' branch into 'production' (it should/must be a fast-forward) - [ ] Push branch 'production' && Let argocd deploy and do its job - [ ] Tag grafana with "deployment service= service= ... environment=production" [1] [2] - [ ] Checks pods are doing their jobs without crashing [1] https://grafana.softwareheritage.org/goto/e-c3EAWIz?orgId=1 [2] Only reference impacted services (e.g. storage, lister-cran, loader-git, scheduler, vault, ...) Refs. diff --git a/.gitlab/issue_templates/deploy-next-swh-version.md b/.gitlab/issue_templates/deploy-next-swh-version.md index f88e0e0..360c851 100644 --- a/.gitlab/issue_templates/deploy-next-swh-version.md +++ b/.gitlab/issue_templates/deploy-next-swh-version.md @@ -1,30 +1,31 @@ /title Deploy next swh version /milestone %"MRO 2023" -/label ~"activity::deployment" +/labels ~"activity::Deployment" + Actions: - [ ] Tags all impacted modules Includes: - - ... Dependency: - - ... staging: - [ ] storage1.staging: Upgrade package & Restart gunicorn-swh-storage (if storage is impacted) - [ ] swh-charts: Merge new versions - [ ] Let argocd deploy - [ ] Tag grafana with "deployment service= service= ... environment=staging" [1] [2] - [ ] Checks production: - [ ] saam, moma, webapp1: Upgrade swh.storage package & Restart gunicorn-swh-storage (if storage is impacted) - [ ] swh-charts: Merge staging branch into production - [ ] Let argocd deploy - [ ] Tag grafana with "deployment service= service= ... environment=production" [1] [2] - [ ] Checks diff --git a/.gitlab/issue_templates/new-physical-server.md b/.gitlab/issue_templates/new-physical-server.md index 7ecc2f9..b983b8a 100644 --- a/.gitlab/issue_templates/new-physical-server.md +++ b/.gitlab/issue_templates/new-physical-server.md @@ -1,23 +1,25 @@ /title Install the new bare metal server(s) for /milestone %"MRO 2023" +/labels ~"activity::Deployment" + Orders: Inventory: Summary: - Management address (DNS): XXX.XXX.XXX.XXX (abcd.inria.fr) - VLAN configuration: VLANXXXX/VLANXXX - Management Port: - Access Ports: - Internal IP(s): xxx.xxx.xxx.xxx - Internal DNS name(s): xxx.internal.(softwareheritage.org|.swh.network Tasks: - [ ] Declare the servers in the [inventory](https://inventory.internal.admin.swh.network) - [ ] Add the management info in the credential store - [ ] Install the OS - [ ] Add puppet configuration (if needed) - [ ] Configure firewall rules (if needed) - [ ] (other actions if needed, drop unneeded actions)