Skip to content

Commit

Permalink
feat: Create initial kubernetes-replicator package (#30904)
Browse files Browse the repository at this point in the history
This includes remediating all CVEs found after initial build.

Smoke test added to ensure build was successful.

Signed-off-by: philroche <[email protected]>

---------

Signed-off-by: philroche <[email protected]>
  • Loading branch information
philroche authored Oct 16, 2024
1 parent acc5ee8 commit ca7a794
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions kubernetes-replicator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package:
name: kubernetes-replicator
version: 2.10.2
epoch: 0
description: Kubernetes controller for synchronizing secrets & config maps across namespaces
copyright:
- license: Apache-2.0

pipeline:
- uses: git-checkout
with:
repository: https://github.com/mittwald/kubernetes-replicator
tag: v${{package.version}}
expected-commit: 8f4de965a57b974b446fae30048269894fd4ff3d

- uses: go/build
with:
packages: .
output: kubernetes-replicator

update:
enabled: true
github:
identifier: mittwald/kubernetes-replicator
strip-prefix: v

test:
pipeline:
- runs: |
set -x
# Confirm the build was successful with a smoke test to check that 'Usage of kubernetes-replicator' string
# is present in --help output
kubernetes-replicator --help 2>&1 | grep "Usage of kubernetes-replicator:"

0 comments on commit ca7a794

Please sign in to comment.