Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement REPREPRO_GIT_BRANCH for reprepro importer #1106

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

j-rivero
Copy link
Contributor

@j-rivero j-rivero commented Jan 9, 2024

Expose REPREPRO_GIT_BRANCH variable as a Jenkins parameter

@j-rivero
Copy link
Contributor Author

j-rivero commented Jan 9, 2024

Tested in ros-infrastructure/reprepro-updater#193

Diff:

diff -ur -I '.*<id>dashboard_portlet_.*</id>.*' /tmp/current_xml_configuration/reprepro_importer.xml /tmp/pr_xml_configuration/reprepro_importer.xml
--- /tmp/current_xml_configuration/reprepro_importer.xml	2024-01-09 17:45:46.792857439 +0000
+++ /tmp/pr_xml_configuration/reprepro_importer.xml	2024-01-09 17:44:24.084328232 +0000
@@ -21,6 +21,11 @@
                     <description>Repository to host the new imported packages. Should match entry in reprepro.ini</description>
                 </hudson.model.StringParameterDefinition>
                 <hudson.model.StringParameterDefinition>
+                    <name>REPREPRO_GIT_BRANCH</name>
+                    <defaultValue></defaultValue>
+                    <description>Branch of the repository to be used for code and REPREPRO_IMPORT_YAML_FILE (empty implies uses default)</description>
+                </hudson.model.StringParameterDefinition>
+                <hudson.model.StringParameterDefinition>
                     <name>REPREPRO_IMPORT_YAML_FILE</name>
                     <defaultValue></defaultValue>
                     <description>Name of the reprepo import file</description>

@j-rivero j-rivero merged commit 7dabc85 into master Jan 9, 2024
1 check passed
@j-rivero j-rivero deleted the jrivero/use_reprepro_git_branch branch January 9, 2024 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant