-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add minio-operator-sidecar package (#33587)
Signed-off-by: Jamon Camisso <[email protected]>
- Loading branch information
1 parent
44b7fd7
commit 743e12d
Showing
1 changed file
with
27 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,11 @@ | ||
package: | ||
name: minio-operator | ||
version: 6.0.4 | ||
epoch: 1 | ||
epoch: 2 | ||
description: Minio Operator creates/configures/manages Minio on Kubernetes | ||
copyright: | ||
- license: AGPL-3.0-only | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- bash | ||
- build-base | ||
- ca-certificates-bundle | ||
- go | ||
|
||
pipeline: | ||
- uses: git-checkout | ||
with: | ||
|
@@ -30,15 +22,38 @@ pipeline: | |
modroot: ./cmd/operator | ||
packages: . | ||
output: minio-operator | ||
ldflags: -s -w -X github.com/minio/operator/pkg.ReleaseTag=${{package.full-version}} -X github.com/minio/operator/pkg.Version=${{package.full-version}} -X github.com/minio/operator/pkg.ShortCommitID=$(git rev-parse HEAD) | ||
|
||
- uses: strip | ||
ldflags: -w -X github.com/minio/operator/pkg.ReleaseTag=${{package.full-version}} -X github.com/minio/operator/pkg.Version=${{package.full-version}} -X github.com/minio/operator/pkg.ShortCommitID=$(git rev-parse HEAD) | ||
|
||
- runs: | | ||
mkdir ${{targets.destdir}}/licenses | ||
cp CREDITS LICENSE ${{targets.destdir}}/licenses/ | ||
subpackages: | ||
- name: ${{package.name}}-sidecar | ||
description: sidecar for minio-operator | ||
pipeline: | ||
- uses: go/bump | ||
working-directory: ./sidecar | ||
with: | ||
deps: github.com/golang-jwt/jwt/[email protected] | ||
- uses: go/build | ||
working-directory: ./sidecar | ||
with: | ||
modroot: ./cmd/sidecar | ||
packages: . | ||
output: minio-operator-sidecar | ||
ldflags: -w -X github.com/minio/operator/sidecar/pkg.ReleaseTag=${{package.full-version}} -X github.com/minio/operator/sidecar/pkg.Version=${{package.full-version}} -X github.com/minio/operator/sidecar/pkg.ShortCommitID=$(git rev-parse HEAD) | ||
- runs: | | ||
mkdir ${{targets.contextdir}}/licenses | ||
cp CREDITS LICENSE ${{targets.contextdir}}/licenses/ | ||
- name: ${{package.name}}-sidecar-compat | ||
description: compatibility symlinks package for minio-operator-sidecar Dockerfile | ||
pipeline: | ||
- runs: | | ||
mkdir -p ${{targets.contextdir}}/ | ||
ln -sf /usr/bin/minio-operator-sidecar ${{targets.contextdir}}/minio-operator-sidecar | ||
- name: ${{package.name}}-compat | ||
description: compatibility symlinks package for minio-operator Dockerfile | ||
pipeline: | ||
|