Open ba1997 opened 7 months ago
Elbaas Repo Tagging
bash-3.2$ git branch
* master
bash-3.2$
bash-3.2$ git remote -v
origin git@github.ibm.com:NetworkTribe/ELBaaS-VPC.git (fetch)
origin git@github.ibm.com:NetworkTribe/ELBaaS-VPC.git (push)
bash-3.2$
bash-3.2$ date
Tue Jan 9 20:38:42 PST 2024
bash-3.2$
bash-3.2$
bash-3.2$ git pull
Already up to date.
bash-3.2$ git log --oneline | head -20
b8db2f2ec issue_10792: Garageshell and API microservice changes for vertical scale workflow (#10793)
551b41edd add and delete entry in event counter table when lb is provisioned/deprovisioned (#11004)
e5c97fef2 issue_9775: vCPU scaling workflow (#10775)
59d19cffa Merge pull request #10867 from NetworkTribe/issue_10769
1706f98f7 Merge branch 'master' into issue_10769
2bebc8bb2 Issue_10852: DB migration changes for lb hit table (#10882)
de5eee646 Merge branch 'master' into issue_10769
e9f266a5a Merge pull request #10934 from NetworkTribe/fix_temp
ab3c492b4 remove files named with different casing
194a5c58c Update issue templates
d0796b632 Update issue templates
17dfd7c39 Update issue templates
a8b0e3ce9 Create monthly-revalidation-of-network-policies-NLB.md
d34712358 Delete monthly-revalidation-of-network-policies-NLB
fdcadfec2 Create monthly-revalidation-of-network-policies-NLB
d82a63756 feat: 4th Zone (#10861)
800ea4f51 Merge branch 'master' into issue_10769
016f1dc18 Merge pull request #10864 from NetworkTribe/build
dc196538f Merge branch 'master' into issue_10769
e036a3bfb issue_10769: check that subnet exists in map when selecting subnet
bash-3.2$
bash-3.2$
bash-3.2$ git tag v24.1.1 -m "api activity internal_portal iam_proxy workflow service_broker dns_monitoring billing housekeeping wingman"
bash-3.2$ git push origin v24.1.1
Enumerating objects: 1, done.
Counting objects: 100% (1/1), done.
Writing objects: 100% (1/1), 251 bytes | 251.00 KiB/s, done.
Total 1 (delta 0), reused 0 (delta 0), pack-reused 0
remote: detect-secrets-stream (beta) ver=4-eac8b67f7eb4ee9ae336e330b3c17671e22376af FAQ: https://ibm.biz/detect-secrets-stream-faq
remote:
remote: Successfully send push metadata.
remote: Push info collect pre-receive hook finished within 3 seconds.
To github.ibm.com:NetworkTribe/ELBaaS-VPC.git
* [new tag] v24.1.1 -> v24.1.1
bash-3.2$
bash-3.2$
Integration Image Build Job : https://wcp-vpc-lbaas-team-lbaas-vpc-deploy-jenkins.swg-devops.com/job/LBaaS_Deploy/job/Integration/job/ICR_SGIGNED/job/Integration_build_publish_sign_ICR/549/console
DB Migration
{"level":"info","message":"migration table exists","time":"2024-01-12T00:01:59.606859686"}
{"level":"info","message":"Operation version","time":"2024-01-12T00:01:59.633755269"}
{"level":"info","message":"get version","time":"2024-01-12T00:01:59.633781853"}
{"level":"info","message":"Query sql","sql":"\nselect version, dirty from migrations order by id desc limit 1;\n","time":"2024-01-12T00:01:59.633786728"}
{"dirty":0,"level":"info","message":"Current version","time":"2024-01-12T00:01:59.693670311","version":66}
{"dirty":false,"level":"info","message":"Success","time":"2024-01-12T00:01:59.693706311","version":66}
Integration deploy: https://wcp-vpc-lbaas-team-lbaas-vpc-deploy-jenkins.swg-devops.com/job/LBaaS_Deploy/job/Integration/job/ICR_SGIGNED/job/Integration_deploy/247/console
Staging
DB Migration
{"level":"info","message":"migration table exists","time":"2024-01-12T00:04:28.887001299"}
{"level":"info","message":"Operation version","time":"2024-01-12T00:04:28.915700549"}
{"level":"info","message":"get version","time":"2024-01-12T00:04:28.915734257"}
{"level":"info","message":"Query sql","sql":"\nselect version, dirty from migrations order by id desc limit 1;\n","time":"2024-01-12T00:04:28.915742132"}
{"dirty":0,"level":"info","message":"Current version","time":"2024-01-12T00:04:28.978044132","version":66}
{"dirty":false,"level":"info","message":"Success","time":"2024-01-12T00:04:28.978094132","version":66}
Stage US-EAST Deploy: https://wcp-vpc-lbaas-team-lbaas-vpc-deploy-jenkins.swg-devops.com/job/LBaaS_Deploy/job/Staging/job/ICR_SIGNED/job/Staging_deploy/164/console
Stage US-SOUTH Deploy https://wcp-vpc-lbaas-team-lbaas-vpc-deploy-jenkins.swg-devops.com/job/LBaaS_Deploy/job/Staging/job/ICR_SIGNED/job/Staging_deploy/165/console
Commands to delete a tag
git tag --delete tagname
git push --delete origin tagname
Description: v24.1.1 tagging ,Integration and Staging Environment Deployment
Acceptance criteria:
[x] Build the code for Integration environment
[x] Travis Build should be passed if tag created for ELbaaS and Riaas repo
[x] Deploy the code into Integration environment and verify the PODS are running post Deployment.
[x] Build the code for Staging environment
[x] Perform Pre-deployment check like scaling down the service-broker-pod to 0 on Secondary Cluster
[x] Deploy the code into Secondary Cluster [US-South or US-East]
[x] Scale down the service-broker-pod to 0 again since it is started during deployment
[x] Post deployment in Staging perform the AT test and check the status of Jenkins job for success for both US-East and US-South clusters.
[x] Run AT jobs for ALB and NLB
[x] Switch to the Primary to Secondary and Perform the Deployment on new Secondary Cluster
[ ] Check any Workflow Changes on Below folder
[ ] Check any DB Changes on Below folder
[ ] Completed Below security scan ?
[ ] Verify the Wiki calendar and update any missing PRs https://github.ibm.com/NetworkTribe/ELBaaS-VPC/wiki/2023-Release-Calendar