Skip to content

Commit

Permalink
Add redis-sentinel-6.2
Browse files Browse the repository at this point in the history
Signed-off-by: Furkan Türkal <furkan.turkal@chainguard.dev>
  • Loading branch information
Dentrax committed Jul 18, 2023
1 parent cd5fd32 commit 5a0bdfd
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages.txt
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,7 @@ newrelic-infrastructure-agent
kaf
dask-gateway
http-echo
redis-sentinel-6.2
src
prometheus-redis-exporter
guac
Expand Down
62 changes: 62 additions & 0 deletions redis-sentinel-6.2.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5a0bdfd

Please sign in to comment.