system-config/playbooks/roles/sync-project-config
Ian Wienand 5795119373
Revert "Update to tip of master in periodic jobs"
This reverts commit 32978fe729.

The update to the project-config code is moved into the dependent
change in base-jobs, alongside the same thing for system-config.
This way the workaround is in one place.

This also expands the notes in the project-config sync role to better
explain what it is doing.

Depends-On:  https://review.opendev.org/c/opendev/base-jobs/+/862853
Change-Id: I492c01159665e7e7c6684ad36d57388e55127861
2022-11-03 16:40:54 +11:00
..
defaults Revert "Update to tip of master in periodic jobs" 2022-11-03 16:40:54 +11:00
tasks Revert "Update to tip of master in periodic jobs" 2022-11-03 16:40:54 +11:00
README.rst Revert "Update to tip of master in periodic jobs" 2022-11-03 16:40:54 +11:00

README.rst

Sync project-config to remote host

This syncs the project-config repo checked out on the bastion host (which is actually running the Ansible that runs this role) to the current host. This repo holds configuration for some production hosts and thus we want to make sure to deploy those services with the checked-out tree Zuul has prepared for a given deploy-pipeline CD job run (i.e. so we apply config updates in commit order).

Also see the setup-src to see where this checkout is setup; there are some tricks -- for example for hourly and periodic jobs we want to ensure we run from master at the time the job runs, not at the time the job was enqueued.