You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
toolkit/sync
Louis Abel 32792d7ca0
increase workers of createrepo
1 month ago
..
README.md update readme 2 years ago
common Adjust vars for syncs 2 months ago
common_8 fix vars 2 months ago
common_9 fix 9 vars 2 months ago
gen-torrents.sh Run / source sync things from other directories 8 months ago
import-snapshot-publish-aws.sh fix import script 4 months ago
lh-release-sync-to-staging.sh set retain to 1d 2 months ago
minor-release-sync-to-staging.sh set retain to 1d 2 months ago
prep-staging-8.sh increase workers of createrepo 1 month ago
propagate-image.sh Fixes to image propagaion script to adjust permission on snapshot objects 2 months ago
sign-repos-only.sh kickstart 2 years ago
stage-live-images.sh remove unused var 1 year ago
symlink-images-and-checksum.sh begin ISO magic 10 months ago
sync-file-list-parallel.sh add sig to list generation 3 months ago
sync-full-file-list.sh just in case, use full path for bg processes 8 months ago
sync-root-file-list.sh just in case, use full path for bg processes 8 months ago
sync-sig-file-list.sh generating the list in the wrong place 8 months ago
sync-to-prod-9.sh hardlinking should be post-sync to prod before file list 8 months ago
sync-to-prod-sig.sh add delete option to sig syncs 3 months ago
sync-to-prod.delete.sh temporary safeguard 2 months ago
sync-to-prod.sh temporary safeguard 2 months ago
sync-to-staging-9.sh move generate confs and add testing script 8 months ago
sync-to-staging-fpsync-testing.sh move generate confs and add testing script 8 months ago
sync-to-staging-sig.sh add delete option to sig syncs 3 months ago
sync-to-staging.delete.sh fix vars 2 months ago
sync-to-staging.sh fix vars 2 months ago
test.sh fixes 2 years ago

README.md

sync

These scripts assist in syncing to staging and to prod for releases, whether they are full point releases, simple update releases, or a brand new repository being added. Each script here has a specific purpose.

What to do?

When the scripts are being ran, they are usually ran with a specific purpose or a reason. They are also ran in a certain order.

The below are common vars files. common_X will override what's in common.

.
├── common
├── common_8

These are for the releases in general. What they do is noted below.

├── gen-torrents.sh                  -> Generates torrents for images
├── minor-release-sync-to-staging.sh -> Syncs a minor release to staging
├── prep-staging-8.sh                -> Preps staging updates and signs repos
├── sign-repos-only.sh               -> Signs the repomd (only)
├── sync-to-prod.sh                  -> Syncs staging to production
├── sync-to-staging.sh               -> Syncs a provided compose to staging
├── sync-to-staging-sig.sh           -> Syncs a sig provided compose to staging

Generally, you will only run minor-release-sync-to-staging.sh when a full minor release is being produced. So for example, if 8.5 has been built out, you would run that after a compose. gen-torrents.sh would be ran shortly after.

When doing updates, the order of operations (preferably) would be:

  • sync-to-staging.sh
  • sync-to-staging-sig.sh Only if sigs are updated
  • prep-staging-X.sh -> This is required to ensure the groups, compos, and module data stay sane. This helps us provide older packages in the repos.
  • sync-to-prod.sh -> After the initial testing, it is sent to prod.