diff --git a/packages.txt b/packages.txt index 9aa3366dbf8..798520c675a 100644 --- a/packages.txt +++ b/packages.txt @@ -730,6 +730,7 @@ newrelic-infrastructure-agent kaf dask-gateway http-echo +redis-sentinel-6.2 src prometheus-redis-exporter guac diff --git a/redis-sentinel-6.2.yaml b/redis-sentinel-6.2.yaml new file mode 100644 index 00000000000..86eb6ffc8bc --- /dev/null +++ b/redis-sentinel-6.2.yaml @@ -0,0 +1,62 @@ +#nolint:valid-pipeline-git-checkout-commit,valid-pipeline-git-checkout-tag +package: + name: redis-sentinel-6.2 + version: 6.2.13 + epoch: 0 + description: "Redis Sentinel provides high availability for Redis." + copyright: + - license: Apache-2.0 + +environment: + contents: + packages: + - build-base + - busybox + - ca-certificates-bundle + - curl + - openssl + - procps + - redis-6.2 + +pipeline: + - uses: git-checkout + with: + branch: main + repository: https://github.com/bitnami/containers + + - runs: | + mkdir -p "${{targets.destdir}}"/opt/bitnami + mkdir -p "${{targets.destdir}}"/opt/bitnami/licenses + mkdir -p "${{targets.destdir}}"/opt/bitnami/scripts + + cd bitnami/redis-sentinel/6.2/debian-11 + + cp -R ./prebuildfs/opt/bitnami/* ${{targets.destdir}}/opt/bitnami/ + cp -R ./rootfs/opt/bitnami/scripts ${{targets.destdir}}/opt/bitnami/ + chmod g+rwX "${{targets.destdir}}"/opt/bitnami + + - working-directory: redis-sentinel + pipeline: + - if: ${{build.arch}} == 'x86_64' + uses: fetch + with: + uri: https://downloads.bitnami.com/files/stacksmith/redis-sentinel-${{package.version}}-0-linux-amd64-debian-11.tar.gz + expected-sha512: 7ac049c72ac21af9d0d7f11a683e3653e6f327537595056d1dea376606b49a49698be1a3b64dbc46867f5ef562830ee6ac969a9bf561805d42f1877ad18f32e6 + - if: ${{build.arch}} == 'aarch64' + uses: fetch + with: + uri: https://downloads.bitnami.com/files/stacksmith/redis-sentinel-${{package.version}}-0-linux-arm64-debian-11.tar.gz + expected-sha512: 0bfb64cd7118a74cdaa7893578a59e03e5b92a72cb6a328ced19c91151bcd927b61e74ccd6e7139df89daa79286f495e9338498a658c6d8bcfb48db9d91f926c + - runs: | + mv files/redis-sentinel/* ${{targets.destdir}}/opt/bitnami/ + + - runs: | + ${{targets.destdir}}/opt/bitnami/scripts/redis-sentinel/postunpack.sh + + - uses: strip + +update: + enabled: false + manual: true # This requires manual updates because of the upstream repo does not release tags and branches. + github: + identifier: bitnami/containers