generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
capi/Makefile: support all Flatcar Container Linux channels
This change adds support for building all channels of Flatcar Container Linux. It also fixes an issue that made the build fail when make was called directly instead of using the wrapper script hack/image-build-flatcar.sh.
- Loading branch information
Showing
5 changed files
with
64 additions
and
17 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/sh -ue | ||
|
||
channel="$1" | ||
|
||
curl -s \ | ||
"https://www.flatcar-linux.org/releases-json/releases-$channel.json" \ | ||
| jq -r 'to_entries[] | "\(.key)"' \ | ||
| grep -v "current" \ | ||
| sort \ | ||
| tail -n1 |
File renamed without changes.