Skip to content

Commit

Permalink
Add apko v0.14.1 to list of apko versions (#66)
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Hazy <[email protected]>
  • Loading branch information
sfc-gh-mhazy authored May 14, 2024
1 parent 44a98c9 commit 920d240
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependenc
bazel_dep(name = "buildifier_prebuilt", version = "6.1.0", dev_dependency = True)

toolchain = use_extension("//apko:extensions.bzl", "apko")
toolchain.toolchain(apko_version = "v0.13.1")
toolchain.toolchain(apko_version = "v0.14.1")
use_repo(toolchain, "apko_toolchains")

register_toolchains("@apko_toolchains//:all")
Expand Down
7 changes: 7 additions & 0 deletions apko/private/versions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
# Add new versions by running
# ./scripts/mirror_apko.sh
APKO_VERSIONS = {
"v0.14.1": {
"darwin_amd64": "sha256-KivC5S1QhQB2MlUSrAHrgG0W2qs++TPRvmDOQwigaX4=",
"darwin_arm64": "sha256-7sLM+rurysY0GXlFFu4M6Jad5qb5+9pZ44TdthywaQs=",
"linux_386": "sha256-VzZpFYsHds2ynsqPSqbQbd9ue6DvLeJD4Am7JF03LnU=",
"linux_amd64": "sha256-/USFPoRbxH00WzWEDHbRoO+Hjhaf+PmvSLWVyqkUVs4=",
"linux_arm64": "sha256-xKdsyqyuyfArHHBa+7R6bgDVytE4YU/V5yLlm60Lvro=",
},
"v0.13.1": {
"darwin_amd64": "sha256-4TR9HqR3vgRauBrgWZdfa5e37JTJJr9N6jppJptJHvs=",
"darwin_arm64": "sha256-DzE17CSC+5Vm3HVPKoUy09Jgyg5e4Wh6Cxe97ryGb2A=",
Expand Down
2 changes: 1 addition & 1 deletion apko/tests/versions_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ load("//apko/private:versions.bzl", "APKO_VERSIONS")

def _smoke_test_impl(ctx):
env = unittest.begin(ctx)
asserts.equals(env, "v0.13.1", APKO_VERSIONS.keys()[0])
asserts.equals(env, "v0.14.1", APKO_VERSIONS.keys()[0])
return unittest.end(env)

# The unittest library requires that we export the test cases as named test rules,
Expand Down

0 comments on commit 920d240

Please sign in to comment.