5 Commits

Author SHA1 Message Date
Clark Boylan
f8bb46d810 Restore setup-org.yaml
This tasks file was removed when we rewrote the gitea management into
python. Unfortunately our gitea rename project tasks rely on this tasks
file to create new orgs if they are needed to rename a project.

Restore this file so that we can rename projects in this manner. Note we
move it into playbooks/ and rename it to gitea-rename-setup-org.yaml to
make it clear that the gitea management role doesn't use this set of
tasks, only the gitea project rename playbook does.

Change-Id: I782f6e56cad18bdcbf9504d51af15caa950a5752
2019-09-18 12:40:19 -07:00
James E. Blair
2c6e1e2061 Fix gitea rename playbook org creation
The org creation task list requires a list of the existing orgs.
Copy that from the gitea creation playbook.

Change-Id: Ia21f6211004f8dde3cacf4fb549ea8418a6d2888
2019-05-31 09:11:16 -07:00
Clark Boylan
3f1d5ccdde More repo rename playbook fixes
These fixes were either missed by the omnibus or introduced by new
changes since the big opendev migration.

Change-Id: I58e2b2c93567b47b161fdbbf143ff58738a577b8
2019-05-31 09:07:26 -07:00
Clark Boylan
8ef8d900e2 Omnibus rename repo playbook fixes
During the great opendev git migration we ran into a number of issues
with out existing renaming playbook. This attempts to capture the lot of
them and includes:

  - Fixing mysql configuration file paths
  - Set mysql defaults file arg before database name
  - Use storyboard group instead of hostname
  - Run storyboard db update against storyboard-dev too
  - Create the new org dirs on review.opendev.org before moving repos
  - Create new orgs in gitea before moving repos
  - Use https when talking to gitea instead of http (to avoid problems
    with redirects)

Details at our etherpad here:
  https://etherpad.openstack.org/p/the-great-opendev-git-migration

Change-Id: I5f8ed779b3f1186c2ec540730f6b4f5f51a5016c
2019-04-24 08:56:16 -07:00
James E. Blair
7da7002dc1 Add gitea to project rename playbook
Change-Id: Idca623ff59f3318c762ffd5c65e3c739fac819af
Story: 2004627
Task: 29706
2019-03-01 09:30:46 -08:00