Skip to content

ci/release: copy secondary artifacts from bincache - #3482

Merged
tormath1 merged 2 commits into
mainfrom
tormath1/mirror
Nov 13, 2025
Merged

ci/release: copy secondary artifacts from bincache#3482
tormath1 merged 2 commits into
mainfrom
tormath1/mirror

Conversation

@tormath1

Copy link
Copy Markdown
Contributor

This logic takes care of copying binary packages, SDK and packages containers to cloudflare bucket in the r2:flatcar/mirror/ location. It was previously handled by the copy-to-origin.sh helper on the origin servers.

Let's keep the script running if there is an error and we will monitor the CI output on the next release to be sure that everything works fine. Once validated, we can lift this security.
mirror is already backed-up and ready to be migrated but we need this logic first to be sure that everything is copied for newer releases.

$ rclone lsd r2:flatcar/mirror/containers/ | head
           0 2000-01-01 01:00:00        -1 2605.32.1
           0 2000-01-01 01:00:00        -1 3033.3.10
           0 2000-01-01 01:00:00        -1 3033.3.11
$ rclone lsd r2:flatcar/mirror/boards/amd64-usr/4487.0.0 | head
           0 2000-01-01 01:00:00        -1 pkgs

How to use

Run a release.

Testing done

None.

Comment thread ci-automation/release.sh Outdated
Comment thread ci-automation/release.sh
@pothos pothos changed the title ci/release: copy secondary artifacts to bincache ci/release: copy secondary artifacts from bincache Nov 13, 2025
@pothos

pothos commented Nov 13, 2025

Copy link
Copy Markdown
Member

I've changed the title and best would be to also do this change in the commit message ('copy from bincache' not 'to')

Or change it to 'copy to bucket'?

@github-actions

github-actions Bot commented Nov 13, 2025

Copy link
Copy Markdown

Build action triggered: https://github.com/flatcar/scripts/actions/runs/19337783777

@tormath1

Copy link
Copy Markdown
Contributor Author

I've changed the title and best would be to also do this change in the commit message ('copy from bincache' not 'to')

Or change it to 'copy to bucket'?

Correct, thanks! I typed too fast.

this logic takes care of copying binary packages, SDK and packages
containers to cloudflare bucket in the `r2:flatcar/mirror/` location

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This does not seem to be used anywhere here and can be misleading

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@tormath1
tormath1 merged commit 2930d06 into main Nov 13, 2025
1 of 5 checks passed
@github-project-automation github-project-automation Bot moved this from ✅ Testing / in Review to Implemented in Flatcar tactical, release planning, and roadmap Nov 13, 2025
@tormath1
tormath1 deleted the tormath1/mirror branch November 13, 2025 16:02
@tormath1

Copy link
Copy Markdown
Contributor Author

cherry-picked to:

  • flatcar-4515
  • flatcar-4459
  • flatcar-4081

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants