Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move upgrade/patch steps onto the each sub-component #491

Closed
vdelendik opened this issue Nov 9, 2021 · 3 comments
Closed

move upgrade/patch steps onto the each sub-component #491

vdelendik opened this issue Nov 9, 2021 · 3 comments
Milestone

Comments

@vdelendik
Copy link
Contributor

As we started support of independent sub-component setup we have to reorganize upgrade process and make it fully independent as well on each sub-component level.

Exact requirements still TBD

@vdelendik
Copy link
Contributor Author

done for jenkins-master, mcloud and selenoid.
it is organized via executing ./zebrunner.sh setup on every sub-module level automatically and regenerating required files automatically. due to the presence of CE installer all these steps should be done automatically which is guarantee the same process for every upgrade.
Also for all above sub-module some allowed customizations in variables.env and/or .env should be preserved

@vdelendik
Copy link
Contributor Author

vdelendik commented Jul 23, 2022

to test follow regular upgrade checklist with minor adjustments:

  1. setup CE using master branch (2.0 release in master branch)
  2. do basic acceptance
  3. inject some customizations into the:
jenkins-master/variables.env //inject user token insted of password for admin
mcloud/variables.env //specify valid STF_TOKEN and maybe SECRET
selenoid/.env //CPU or MEMORY
  1. restart and do basic again to verify that infra is ok
  2. switch to the develop branch and pull sub-modules recursively
git checkout develop
git pull --recurse-submodules
  1. run ./zebrunner.sh upgrade, confirm action and services restart
    -> all custom settings in variables.env/.env files should be preserved
  2. do again basic acceptance to see that new selenoid, pipeline 1.8 version in jenkins and 2.2 STF are good enough

Note: pay attention to jenkins availability, during development seems like I corrupted it somehow and couldn't finish upgrade scenario successfully

@ghost
Copy link

ghost commented Jul 28, 2022

Verified fixed. Created a separate issue for VNC session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant