diff --git a/consul-k8s.yaml b/consul-k8s.yaml new file mode 100644 index 00000000000..4bb78d3591c --- /dev/null +++ b/consul-k8s.yaml @@ -0,0 +1,57 @@ +package: + name: consul-k8s + version: 1.5.3 + epoch: 0 + description: The consul-k8s includes first-class integrations between Consul and Kubernetes. + copyright: + - license: MPL-2.0 + dependencies: + runtime: + - go-discover + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/hashicorp/consul-k8s + expected-commit: 2cb07690ef4f557e65cd0606af30deafd18c3f6a + tag: v${{package.version}} + + - uses: go/build + with: + modroot: ./control-plane/cni + output: consul-cni + packages: . + + - uses: go/build + with: + modroot: ./control-plane + output: consul-k8s-control-plane + packages: . + +subpackages: + - name: ${{package.name}}-cli + description: "CLI for interacting with Consul on Kubernetes" + pipeline: + - uses: go/build + with: + modroot: ./cli + output: consul-k8s + packages: . + test: + pipeline: + - name: Verify help + runs: | + consul-k8s --help + +update: + enabled: true + github: + identifier: hashicorp/consul-k8s + strip-prefix: v + +test: + pipeline: + - name: Verify help + runs: | + consul-cni --help + consul-k8s-control-plane --help diff --git a/go-discover.yaml b/go-discover.yaml new file mode 100644 index 00000000000..54232076c6e --- /dev/null +++ b/go-discover.yaml @@ -0,0 +1,33 @@ +#nolint:valid-pipeline-git-checkout-tag +package: + name: go-discover + version: 0_git20240923 + epoch: 0 + description: go-discover is a Go (golang) library and command line tool to discover ip addresses of nodes in cloud environments based on meta information like tags provided by the environment. + copyright: + - license: MPL-2.0 + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/hashicorp/go-discover + expected-commit: 275a71457aa412bf20df9f9b77c380667164a5e6 + branch: master + + - uses: go/build + with: + output: discover + packages: ./cmd/discover + +update: + enabled: true + git: {} + schedule: + period: daily + reason: Upstream does not maintain tags or releases + +test: + pipeline: + - name: Verify help + runs: | + discover --help