#346 sop_mass_branching: Remove PDC and update koji blocking section
Merged 17 days ago by jnsamyak. Opened 2 months ago by lenkaseg.
lenkaseg/infra-docs-fpo update_docs_eol  into  master

@@ -165,12 +165,6 @@ 

  * [ ] Configure an outage in Koji to disable Rawhide builds.

  * [ ] Cancel all running builds for Rawhide by listing and selecting relevant tasks, and then cancel each task.

  

- ==== PDC (Product Definition Center)

- 

- * [ ] Create a new "product-release" in PDC using the provided script.

- * [ ] Clone or update the releng repository on PDC backend.

- * [ ] Run the `create-new-release-branches.py` script to set up the new release branches, ensuring to use the `--createfile` argument.

- 

  ==== Koji

  

  * [ ] Run the `make-koji-release-tags` script from the releng repository to handle builds from the new branch.

@@ -128,52 +128,10 @@ 

  * https://src.fedoraproject.org/rpms/fedora-release

  * https://src.fedoraproject.org/rpms/fedora-repos

  

- == PDC

- 

- The "product-release" needs to be created in PDC.

- 

- In the `scripts/pdc/` directory, run:

- 

- ```

- $ python create-product-release.py fedora $TOKEN Fedora $NEW_VERSION

- ```

- 

- On `pdc-backend01.stg` (for testing) or `pdc-backend01` (for production)

- clone (or update an existing one) the releng repo:

- 

- ```

- $ git clone https://pagure.io/releng.git

- ```

- 

- In the `scripts/pdc/` directory, run (see the `--help` of the script for

- information on how to run it):

- 

- ```

- $ python create-new-release-branches.py ... --createfile

- ```

- 

- NOTE: The `--createfile` argument is necessary, that file is needed for the next step.

- 

- [NOTE]

- ====

- Due to memory leak issue in pdc, we need to set the config in

- `/etc/pdc.d/fedora.json`:

- ```

- {

-   "fedora":

-     {

-       "host": "http://pdc-web02.iad2.fedoraproject.org/rest_api/v1/",

-       "develop": false,

-       "ssl-verify": false

-     }

- }

- ```

- ====

  

  == dist-git

  

- Now that pdc has the new release and each package has been branched in

- pdc we need to update dist-git in two steps:

+ Now we need to update dist-git in two steps:

  

  * Create the new branch in git

  * Update the gitolite.conf to allow user to push to this new branch
@@ -182,7 +140,7 @@ 

  

  === Create the git branches

  

- On `pkgs01.stg` (for testing) or `pkgs02` (for production), run:

+ On `pkgs01.stg` (for testing) or `pkgs01` (for production), run:

  

  ```

  $ sudo -u pagure python /usr/local/bin/mass-branching-git.py <new branch name> <input file>
@@ -603,15 +561,11 @@ 

  $ ln -s ../f{rawhide}-build/latest ./latest

  ----

  

- === Update block_retired.py script

- 

- https://pagure.io/releng/blob/main/f/scripts/block_retired.py[block_retired.py]

- script in releng repo should be updated with rawhide release and also

- branched release should be added to the script.

- 

- Please look at this

- https://pagure.io/releng/c/9eb97f491f7a767ab8b90498adfa3b34ee235247?branch=main[block_retired.py

- commit] as an example.

+ === Make sure branched release does not have set EOL

+ Presence/absence of EOL date is the way the

+ https://pagure.io/fedora-infra/toddlers/blob/main/f/toddlers/plugins/koji_block_retired.py[toddler

+ koji_block_retired] distinguishes between stable and branched releases. EOL should be filled

+ once a release becomes stable.

  

  === Updating MirrorManager

  

This section should be updated by someone with the knowledge of the process. What's the way of creating a new branch in distgit and update of the gitolite conf without the file generated by the pdc?
@jnsamyak @ppolakov

rebased onto 25d3f58

2 months ago

@patrikp @jnsamyak ping, how are you branching new release nowadays guys? Can Lenka remove the mentioned script?

rebased onto 9c01f10

17 days ago

Apologies for missing this, thanks @zlopez for pointing it out today, These changes look good to me!

How were we doing the PDC work, we were scraping all the package names from the pkg machine and negating it with the retired packages we had from lookaside. and then using that input to create branches.

Merging this, and I'll add new steps in another PR!

Pull-Request has been merged by jnsamyak

17 days ago