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

Create FinalizeDeveloperRelease step in Jenkins #11

Open
cookersjs opened this issue Feb 12, 2021 · 0 comments
Open

Create FinalizeDeveloperRelease step in Jenkins #11

cookersjs opened this issue Feb 12, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@cookersjs
Copy link
Contributor

Tried to do it before I finished, but the 'chown -R' command outlined below needs sudo access for the Jenkins user and I figured that's not worth my mucking around.

This will be in the Release notes, but these are the things that would be good for Jenkins to do automatically. Until then, they will be done manually:

releaseVersion = 75
previousReleaseVersion = 74

  • Delete download/${previousReleaseVersion}/ (eg. rm -r 74/)
  • Change all file permissions of download/${releaseVersion}/ to www-data:reactome (chown -R www-data:reactome 75/)
  • Archive download/${releaseVersion}/ on S3 (tar -zcf 75-download.tgz 75/; aws s3 cp 75-download.tgz s3://reactome/private/releases/75/)
  • Symlink download/75/ to ‘current’ (rm current; ln -s 75/ current)
  • Archive ‘release_current’ as 75_release_current_final.sql.gz , storing it on s3 using aws s3 cp 75_release_current_final_sql.gz s3://reactome/private/releases/75/
  • Archive 'release_current' as test_reactome_${releaseVersion}.sql.gz, storing it on S3 using aws s3 cp test_reactome_75.sql.gz s3://reactome/private/databases/release/final/
  • Do an equivalent of UpdateGKCurrent: update the 'current' database on Release using either of the 'release_final' databases created
  • Email developers list saying that it is ready for review

I'll also be adding all these steps to the Release document so that they still get completed

@cookersjs cookersjs added the enhancement New feature or request label Feb 12, 2021
@SolomonShorser-OICR SolomonShorser-OICR self-assigned this Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants