-
- Downloads
Export ark infrastructure files
Allow developers to use the ark infrastructure work on upstream git trees. This change saves the redhat/ plus supporting files on top of the 'master' branch. A developer can then 'git merge ark-infra' to apply this infrastructure. "NO_CONFIGCHECKS make dist-configs" to create the configs. And away they go. Utilize the daily rawhide_release builds to create this branch. It fits with the theme and is quick and easy to do in this job. Note I use the 'ark-latest' as the source of the export. This should include any environment fixes for the developer. Tested by copy-n-pasting manual each step in the script to generate the original ark-infra branch. The gitlab-ci.yml change should be intuitive enough to skip testing. V2: Use git-archive and better sed regexp
... | ... | @@ -57,6 +57,20 @@ RELEASE=$(git describe) |
git checkout ark-latest | ||
git reset --hard "$RELEASE" | ||
# Create ark-infra branch | ||
git checkout ark-infra | ||
git reset --hard master | ||
|
||
# Using ark-latest because it has latest fixes | ||
git archive --format=tar ark-latest makefile Makefile.rhelver redhat/ | tar -x | ||
# Manually add hook instead of cherry-pick | ||
# Add to middle to avoid git merge conflicts | ||
sed -i '/# We are using a recursive / i include Makefile.rhelver\n' Makefile | ||
git add makefile Makefile.rhelver Makefile redhat | ||
git commit -m 'ARK infrastructure files' | ||
printf "All done! | ||
To push all the release artifacts, run: | ||
... | ... |