Skip to content

Feat/move minio binary to s3#18602

Merged
calexiou merged 4 commits intomasterfrom
feat/move-minio-to-s3
Apr 22, 2026
Merged

Feat/move minio binary to s3#18602
calexiou merged 4 commits intomasterfrom
feat/move-minio-to-s3

Conversation

@calexiou
Copy link
Copy Markdown
Contributor

@calexiou calexiou commented Apr 22, 2026

Summary by cubic

Switch minio from a vendored Git LFS binary to build-time downloads. This reduces repo size, simplifies the Dockerfile, and ensures AAS uses a 2022 gateway-compatible build for S3 gateway support.

  • Refactors
    • Removed scripts/resources/minio and its LFS rule in .gitattributes.
    • Dockerfile no longer copies a local minio; it runs scripts/install-minio.sh.
    • scripts/install-minio.sh: for TARGETBUILD=aas, download the 2022 minio from Budibase CloudFront and chmod +x; otherwise fetch arch-specific binaries from official release URLs.

Written for commit 795b1bd. Summary will update on new commits.

@calexiou calexiou self-assigned this Apr 22, 2026
Comment thread scripts/install-minio.sh Outdated
@calexiou calexiou changed the title WIP: Feat/move minio to s3 Feat/move minio to s3 Apr 22, 2026
@calexiou calexiou changed the title Feat/move minio to s3 Feat/move minio binary to s3 Apr 22, 2026
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 4 files

Confidence score: 3/5

  • There is a concrete regression risk in scripts/install-minio.sh: wget may keep an existing minio file instead of replacing it, so installs can silently use a stale binary.
  • Because this is a high-severity, high-confidence behavior issue (7/10, 9/10) in an install path, it can directly affect user-facing setup/update reliability.
  • Pay close attention to scripts/install-minio.sh - ensure the download step reliably replaces old binaries to avoid stale versions.
Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="scripts/install-minio.sh">

<violation number="1" location="scripts/install-minio.sh:5">
P1: This download can leave a stale `minio` binary in place because `wget` does not overwrite existing files by default.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.

Comment thread scripts/install-minio.sh Outdated
Copy link
Copy Markdown
Member

@adrinr adrinr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@calexiou calexiou merged commit 57d3564 into master Apr 22, 2026
34 checks passed
@calexiou calexiou deleted the feat/move-minio-to-s3 branch April 22, 2026 12:10
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants