Skip to content

Commit

Permalink
Add 1.11.3 image (#17)
Browse files Browse the repository at this point in the history
We're adding a new rockcraft definition for the 1.11.3 coredns
version.
  • Loading branch information
petrutlucian94 authored Nov 8, 2024
1 parent 1ecd13b commit 89d70c5
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
File renamed without changes.
37 changes: 37 additions & 0 deletions 1.11.3/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: coredns
summary: ROCK for the CoreDNS Project.
description: This ROCK is a drop in replacement for the coredns/coredns image.
version: "1.11.3"
license: Apache-2.0

base: bare
build-base: [email protected]
platforms:
amd64:
arm64:

entrypoint-service: coredns
services:
coredns:
override: replace
summary: "coredns service"
startup: enabled
command: "/coredns [ -conf /etc/coredns/Corefile ]"
on-failure: shutdown

parts:
coredns:
plugin: nil
source: https://github.com/coredns/coredns
source-type: git
source-tag: v1.11.3
source-depth: 1
build-packages:
- build-essential
build-snaps:
- go/1.21/stable
stage-packages:
- ca-certificates_data
override-build: |
make
cp $CRAFT_PART_BUILD/coredns $CRAFT_PRIME
2 changes: 1 addition & 1 deletion tests/sanity/test_rock.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from k8s_test_harness.util import docker_util, env_util


@pytest.mark.parametrize("image_version", ["1.11.1"])
@pytest.mark.parametrize("image_version", ["1.11.1", "1.11.3"])
def test_sanity(image_version):
rock = env_util.get_build_meta_info_for_rock_version(
"coredns", image_version, "amd64"
Expand Down

0 comments on commit 89d70c5

Please sign in to comment.