Skip to content

ci-automation/gc: pass ORACLECLOUD* variables to mantle container - #4239

Merged
tormath1 merged 1 commit into
mainfrom
tormath1/oci-gc
Aug 27, 2026
Merged

ci-automation/gc: pass ORACLECLOUD* variables to mantle container#4239
tormath1 merged 1 commit into
mainfrom
tormath1/oci-gc

Conversation

@tormath1

Copy link
Copy Markdown
Contributor

Otherwise the variable is not present in the container:

 /work/ci-automation/garbage_collect_cloud.sh: line 28: ORACLECLOUD_TENANCY: unbound variable

Follow-up from: #4143 (this does not need to be backported)

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@tormath1 tormath1 self-assigned this Aug 25, 2026
Copilot AI lite review requested due to automatic review settings August 25, 2026 10:14
@tormath1
tormath1 requested a review from a team as a code owner August 25, 2026 10:14
@tormath1 tormath1 added the main label Aug 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Ensures OCI garbage collection inside the mantle container receives the required ORACLECLOUD_* credentials from the host environment, fixing failures like ORACLECLOUD_TENANCY: unbound variable during garbage_collect_cloud.sh.

Changes:

  • Pass ORACLECLOUD_TENANCY, ORACLECLOUD_USER, ORACLECLOUD_FINGERPRINT, ORACLECLOUD_PRIVATE_KEY, and ORACLECLOUD_COMPARTMENT_ID through docker run --env ... for the mantle garbage-collector container.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@tormath1
tormath1 merged commit 29a1573 into main Aug 27, 2026
5 of 6 checks passed
@tormath1
tormath1 deleted the tormath1/oci-gc branch August 27, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants