diff --git a/opensearch-k8s-operator.yaml b/opensearch-k8s-operator.yaml new file mode 100644 index 00000000000..b5d3210d4a0 --- /dev/null +++ b/opensearch-k8s-operator.yaml @@ -0,0 +1,42 @@ +package: + name: opensearch-k8s-operator + version: 2.6.1 + epoch: 0 + description: OpenSearch Kubernetes Operator + copyright: + - license: Apache-2.0 + +pipeline: + - uses: git-checkout + with: + repository: https://github.com/opensearch-project/opensearch-k8s-operator + tag: v${{package.version}} + expected-commit: b2417013b570cc2dec3acd8204c15f73ba887efa + + - uses: go/bump + with: + modroot: ./opensearch-operator + deps: golang.org/x/net@v0.23.0 google.golang.org/protobuf@v1.33.0 + + - uses: go/build + with: + packages: ./opensearch-operator + output: manager + +subpackages: + - name: ${{package.name}}-compat + pipeline: + - runs: | + mkdir -p ${{targets.contextdir}} + ln -sf /usr/bin/manager ${{targets.contextdir}}/manager + +update: + enabled: true + github: + identifier: opensearch-project/opensearch-k8s-operator + strip-prefix: v + +test: + pipeline: + - runs: | + manager --help