This repository has been archived by the owner on Oct 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ART-4681] improve rpm modification scripts support
A few changes need to be made to support running microshift rebase script: - The modification script should be run inside of the upstream source directory instead of distgit directory. This is because distgit repos for rpms only contain specfile, tarball source, and patch files, which is not much useful. Though this is a breaking change, no rpms in supported OCP versions use this feature so it is ok to make this breaking change. - Enhance `command` modification to pass environment variables to the script. We need this ability to pass the pullspecs of release images to microshift rebase script. Example config: ```yaml modifications: - action: command command: microshift-rebase env: RELEASE_NAME: "{release_name}" ``` With this enhancement, we can rebase and build 4.11 microshift rpm (openshift-eng/ocp-build-data#1998) by explicitly invoking doozer with `doozer --group openshift-4.11 --assembly=4.11.6 --rpms=microshift rpms:rebase-and-build --version 4.11.6 --release $release.p?`
- Loading branch information
Showing
7 changed files
with
69 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters