Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion tasks/acs-ci-nightly/openshell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ and attaches those instances; it does not provision or manage their
credentials.

The built-in Google Cloud profile supplies the gateway-managed metadata path
that gsutil uses. The task policy binds that provider instance only to the
that gsutil uses. The workflow's Boto configuration enables gsutil's
`[GoogleCompute]` metadata credential lookup without placing a credential in
the sandbox. The task policy binds that provider instance only to the
read-only `test-platform-results-public` endpoints.
The task also points Google Cloud CLI tools at OpenShell's combined CA bundle
so `gsutil` verifies the sandbox proxy certificate without disabling TLS.
Expand Down
3 changes: 3 additions & 0 deletions tasks/acs-ci-nightly/workflow/harness.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ payloads:
- content: |
[Boto]
ca_certificates_file = /etc/openshell-tls/ca-bundle.pem

[GoogleCompute]
service_account = default
destination: /tmp/openshell-boto.cfg

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Using a fixed path in /tmp can be risky if the runner environment ever shares /tmp between concurrent executions. Consider writing this configuration to a path inside the working directory (e.g., /sandbox/boto.cfg) to ensure isolation.


agent:
Expand Down
3 changes: 3 additions & 0 deletions tasks/acs-ci-nightly/workflow/preflight.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ payloads:
- content: |
[Boto]
ca_certificates_file = /etc/openshell-tls/ca-bundle.pem

[GoogleCompute]
service_account = default
destination: /tmp/openshell-boto.cfg

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Using a fixed path in /tmp can be risky if the runner environment ever shares /tmp between concurrent executions. Consider writing this configuration to a path inside the working directory (e.g., /sandbox/boto.cfg) to ensure isolation.

agent:
Expand Down
Loading