-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move and rename package repositories (part 2)
Catalyst 4 has totally changed the way repositories are handled. It only works when the name of the directory containing the repository matches the configured name of that repository. We already renamed coreos to coreos-overlay accordingly, but we actually want entirely different names and more convenient locations too. The repositories are now known as gentoo-subset and flatcar-overlay, and they live under scripts/repos. Using the same name as upstream Gentoo would have been problematic, and just "flatcar" would have looked awkward in documentation. Signed-off-by: James Le Cuirot <[email protected]>
- Loading branch information
Showing
68 changed files
with
198 additions
and
229 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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Keep portage-stable packages updated | ||
name: Keep gentoo-subset packages updated | ||
on: | ||
schedule: | ||
- cron: '0 7 * * 1' | ||
|
@@ -35,10 +35,10 @@ jobs: | |
git config --global user.name "Flatcar Buildbot" | ||
git config --global user.email "[email protected]" | ||
old_head=$(git -C scripts rev-parse HEAD) | ||
packages_list=$(realpath scripts/.github/workflows/portage-stable-packages-list) | ||
packages_list=$(realpath scripts/.github/workflows/gentoo-subset-packages-list) | ||
gentoo_repo=$(realpath gentoo) | ||
build_scripts=$(realpath flatcar-build-scripts) | ||
pushd scripts/sdk_container/src/third_party/portage-stable | ||
pushd scripts/repos/gentoo-subset | ||
while read -r package; do | ||
if [[ ! -e "${package}" ]]; then | ||
# If this happens, it means that the package was moved to overlay | ||
|
@@ -50,7 +50,7 @@ jobs: | |
# If this happens, it means that the package was obsoleted or moved | ||
# in Gentoo. The obsoletion needs to be handled in the case-by-case | ||
# manner, while move should be handled by doing the same move | ||
# in portage-stable. The build should not break because of the move, | ||
# in gentoo-subset. The build should not break because of the move, | ||
# because most likely it's already reflected in the profiles/updates | ||
# directory. | ||
echo "::warning title=${package}::Obsolete or moved package" | ||
|
@@ -73,10 +73,10 @@ jobs: | |
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
path: scripts | ||
branch: buildbot/weekly-portage-stable-package-updates-${{steps.update-listed-packages.outputs.TODAYDATE }} | ||
branch: buildbot/weekly-gentoo-subset-package-updates-${{steps.update-listed-packages.outputs.TODAYDATE }} | ||
delete-branch: true | ||
base: main | ||
title: Weekly portage-stable package updates ${{steps.update-listed-packages.outputs.TODAYDATE }} | ||
title: Weekly gentoo-subset package updates ${{steps.update-listed-packages.outputs.TODAYDATE }} | ||
body: | | ||
CI: TODO | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
- name: Update GLSA metadata | ||
id: update-glsa-metadata | ||
run: | | ||
glsa_dir='sdk_container/src/third_party/portage-stable/metadata/glsa' | ||
glsa_dir='repos/gentoo-subset/metadata/glsa' | ||
rm -rf "${glsa_dir}" | ||
mkdir --parents "${glsa_dir}" | ||
rsync --archive rsync://rsync.gentoo.org/gentoo-portage/metadata/glsa/* "${glsa_dir}" | ||
|
@@ -30,6 +30,6 @@ jobs: | |
base: main | ||
title: Monthly GLSA metadata ${{steps.update-glsa-metadata.outputs.TODAYDATE }} | ||
body: Updated GLSA metadata | ||
commit-message: "portage-stable/metadata: Monthly GLSA metadata updates" | ||
commit-message: "gentoo-subset/metadata: Monthly GLSA metadata updates" | ||
author: Flatcar Buildbot <[email protected]> | ||
labels: main |
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
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
Oops, something went wrong.