-
Notifications
You must be signed in to change notification settings - Fork 34
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
3139.0.0 - ./run_sdk_container -t fails #1335
Comments
Latest one does work. The challenge just is that I would need that exact version.
|
I think my changes were too radical, seems you have still a mix of |
hi @JanneKiiskila, That release still used submodules. So try the following: git clone https://github.com/flatcar/scripts --branch stable-3139.2.3 scripts-3139
cd scripts-3139
git submodule init
git submodule update
patch -p1 <<EOF
diff --git a/ci-automation/ci-config.env b/ci-automation/ci-config.env
index 40f6a6a959..2c1ddbd608 100644
--- a/ci-automation/ci-config.env
+++ b/ci-automation/ci-config.env
@@ -9,12 +9,12 @@ BUILDCACHE_PATH_PREFIX="/srv/bincache"
BUILDCACHE_USER="bincache"
RELEASES_SERVER="mirror.release.flatcar-linux.net"
-CONTAINER_REGISTRY="ghcr.io/flatcar-linux"
+CONTAINER_REGISTRY="ghcr.io/flatcar"
GC_BUCKET="flatcar-linux"
# No PIGZ on Flatcar
-PIGZ="docker run --rm -i ghcr.io/flatcar-linux/pigz --fast"
+PIGZ="docker run --rm -i ghcr.io/flatcar/pigz --fast"
CI_GIT_AUTHOR="flatcar-ci"
CI_GIT_EMAIL="[email protected]"
diff --git a/sdk_lib/sdk_container_common.sh b/sdk_lib/sdk_container_common.sh
index 11325ff6dc..177010e125 100644
--- a/sdk_lib/sdk_container_common.sh
+++ b/sdk_lib/sdk_container_common.sh
@@ -8,7 +8,7 @@
# globals
#
sdk_container_common_versionfile="sdk_container/.repo/manifests/version.txt"
-sdk_container_common_registry="ghcr.io/flatcar-linux"
+sdk_container_common_registry="ghcr.io/flatcar"
sdk_container_common_env_file="sdk_container/.sdkenv"
# Check for podman and docker; use docker if present, podman alternatively.
EOF
./run_sdk_container -t The repository itself has redirects from flatcar-linux -> flatcar after the rename, but that doesn't extend to containers images on ghcr.io. |
@jepio - thank you, I will try that - appreciate the support! |
Is it a known issue that the bincache does not seem to have anything for 3193? A lot of the other releases are found there, for multiple 3033 versions but then it jumps to 3374. |
3193 was not a Flatcar release, 3139 is. Yes, this is expected. Bincache has limited storage capacity and so we only keep current releases, and some number of historic releases. Are you sure you want to rebuild 3139? It's very old and very vulnerable. |
Description
Can't build older version of flatcar (3139.0.0).
Impact
Can't start the docker/SDK following the instructions.
Environment and steps to reproduce
Ubuntu 22.04 host machine.
Take the normal steps as detailed in the documentation - https://www.flatcar.org/docs/latest/reference/developer-guides/sdk-modifying-flatcar/.
1st it fails to fetch images, as the GitHub domain for
flatcar
has changed fromflatcar-linux
toflatcar
. I wonder why GitHub redirection is not working?Anyways, once you fix that by doing a global search & replace for flatcar-linux to flatcar you can continue.
Run the SDK.
See above. Just run the sdk container.
Expected behavior
It should work as assumed.
Additional information
Seems the work area from git's point of view also gets messed up, once you run that command.
The text was updated successfully, but these errors were encountered: