|
| 1 | +package: |
| 2 | + name: external-dns-0.16 |
| 3 | + version: "0.16.1" |
| 4 | + epoch: 1 # GHSA-mh63-6h87-95cp |
| 5 | + description: Configure external DNS servers (AWS Route53, Google CloudDNS and others) for Kubernetes Ingresses and Services. |
| 6 | + copyright: |
| 7 | + - paths: |
| 8 | + - '*' |
| 9 | + license: Apache-2.0 |
| 10 | + dependencies: |
| 11 | + provides: |
| 12 | + - external-dns=${{package.full-version}} |
| 13 | + |
| 14 | +var-transforms: |
| 15 | + - from: ${{package.version}} |
| 16 | + match: ^(\d+)\.\d+\.\d+$ |
| 17 | + replace: "$1" |
| 18 | + to: major-version |
| 19 | + |
| 20 | +environment: |
| 21 | + contents: |
| 22 | + packages: |
| 23 | + - build-base |
| 24 | + - busybox |
| 25 | + - ca-certificates-bundle |
| 26 | + - go |
| 27 | + |
| 28 | +pipeline: |
| 29 | + - uses: git-checkout |
| 30 | + with: |
| 31 | + expected-commit: 017f7687ca393138b565e51757a6fa8010902066 |
| 32 | + repository: https://github.com/kubernetes-sigs/external-dns |
| 33 | + tag: v${{package.version}} |
| 34 | + |
| 35 | + - uses: go/bump |
| 36 | + with: |
| 37 | + deps: |- |
| 38 | + github.com/golang-jwt/jwt/[email protected] |
| 39 | +
|
| 40 | + - runs: | |
| 41 | + # Our global LDFLAGS conflict with a Makefile parameter |
| 42 | + unset LDFLAGS |
| 43 | + make build |
| 44 | + mkdir -p ${{targets.destdir}}/usr/bin |
| 45 | + mv build/external-dns ${{targets.destdir}}/usr/bin/ |
| 46 | +
|
| 47 | + - uses: strip |
| 48 | + |
| 49 | +subpackages: |
| 50 | + - name: ${{package.name}}-iamguarded-compat |
| 51 | + pipeline: |
| 52 | + - uses: iamguarded/build-compat |
| 53 | + with: |
| 54 | + package: external-dns |
| 55 | + version: ${{vars.major-version}} |
| 56 | + - name: Create symlinks |
| 57 | + runs: | |
| 58 | + mkdir -p /opt/iamguarded/external-dns/bin |
| 59 | + ln -s /usr/bin/external-dns /opt/iamguarded/external-dns/bin/external-dns |
| 60 | + - uses: iamguarded/finalize-compat |
| 61 | + with: |
| 62 | + package: external-dns |
| 63 | + version: ${{vars.major-version}} |
| 64 | + test: |
| 65 | + environment: |
| 66 | + contents: |
| 67 | + packages: |
| 68 | + - ${{package.name}} |
| 69 | + pipeline: |
| 70 | + - runs: | |
| 71 | + /opt/iamguarded/external-dns/bin/external-dns --version |
| 72 | + /opt/iamguarded/external-dns/bin/external-dns --help |
| 73 | + - uses: iamguarded/test-compat |
| 74 | + with: |
| 75 | + package: external-dns |
| 76 | + version: ${{vars.major-version}} |
| 77 | + |
| 78 | +update: |
| 79 | + enabled: true |
| 80 | + github: |
| 81 | + identifier: kubernetes-sigs/external-dns |
| 82 | + strip-prefix: v |
| 83 | + tag-filter: v0.16. |
| 84 | + |
| 85 | +test: |
| 86 | + pipeline: |
| 87 | + # AUTOGENERATED |
| 88 | + - runs: | |
| 89 | + external-dns --version |
| 90 | + external-dns --help |
0 commit comments