Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump mc package to rebuild bitnami compat #40929

Merged
merged 1 commit into from
Jan 30, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions mc.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: mc
version: "0.20250117.232550"
epoch: 0
epoch: 1
description: Multi-Cloud Object Storage
copyright:
- license: AGPL-3.0-or-later
@@ -12,6 +12,7 @@ environment:
- build-base
- busybox
- ca-certificates-bundle
- curl
- go
- perl

@@ -36,13 +37,27 @@ pipeline:
- uses: strip

subpackages:
- name: mc-bitnami-2024-compat
- name: mc-bitnami-2025-compat
description: "compat package with bitnami/minio-client image"
pipeline:
- name: Check if the 2025/debian-12 path exists in GitHub
runs: |
# Make sure we fail on any error
set -e
# The path we need to check
URL="https://github.com/bitnami/containers/tree/main/bitnami/minio-client/2025/debian-12"
# Grab the HTTP status from the first line (e.g., "HTTP/2 200")
# and extract the status code field (should be "200" if OK).
CODE="$(curl $URL -s -o /dev/null -w "%{http_code}")"
if [ "$CODE" != "200" ]; then
echo "ERROR: The GitHub path '$URL' does not exist or is not accessible. HTTP status code: $CODE"
exit 1
fi
# in case of build please check the URL above and update the year.
- uses: bitnami/compat
with:
image: minio-client
version-path: 2024/debian-12
version-path: 2025/debian-12
- runs: |
mkdir -p ${{targets.subpkgdir}}/opt/bitnami/minio-client/bin/
chmod g+rwX ${{targets.subpkgdir}}/opt/bitnami
Loading