Env Demo
Env Demo
Env Demo
Git fetch
Git checkout <branche_name>
Make sure the job artifacts are the latest (.env Build) and you can execute import_jobs without
any problem (test it on another vm)
Cd home/testauto/automationportalv2/
Mkdir sprint
Cd sprint
Docker ps
And get the id of build-backend
Docker cp id:/ap_v2/backend/apps .
Git pull
git push
go to DEPLOY>Dev>automationportal.yml
Search for: JOBS_ARTIFACT and replace all jobs artifacts url with the new job artifact url from
(.env)
Wait for the APV2 plan to end (the merge of migrations and version.xml)
Go to Push Docker Images
In automationportal.yml search for backend and replace the value of image with image_url
Go down until you see command and make sur we have sleep 120:
For postgres:
For redis:
1- go to portainer https://dev-deploy-portainer.my-nx.com/#!/home
Select dev:
2- Go to Jenkins: https://jenkins.my-nx.com/
Go to the plan of create snapshot with the name “fix stack” and make sure the snapshot is
created
Return to Jenkins once again and select refresh staging demo environment
Choose the snapshot and the environment(== demo) then click on build
Go to the plan and make sure the image is created
Add a name and Fill the other fields the same as the screenshot