Skip to content

feat: support OpenTofu job containers - #30

Merged
xnoto merged 1 commit into
mainfrom
fix/public-tf-runners
Aug 28, 2026
Merged

feat: support OpenTofu job containers#30
xnoto merged 1 commit into
mainfrom
fix/public-tf-runners

Conversation

@xnoto

@xnoto xnoto commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Linear: No ticket — the cluster running arc-tf is down currently and it should never have been switched to those runners.

Allow reusable OpenTofu jobs to run in an optional caller-supplied container.

Implementation Details

  • Add an optional container-image input.
  • Apply it to test, plan, and apply jobs only when provided.
  • Preserve ARC behavior for callers that omit the input.

Testing

  • Parsed .github/workflows/opentofu.yml as YAML.
  • Ran git diff --check.
  • GitHub Actions CI pending.

Rollback and operational impact

  • Omit container-image or revert this change to return jobs to their runner-native environment.
  • No infrastructure resources change.

Completion Status

  • Fully addresses the verified requirements

@xnoto
xnoto requested a review from a team as a code owner August 28, 2026 05:11
@github-actions

Copy link
Copy Markdown

Shared workflows CI passed

View the workflow run.

Validation output (redacted, last 12000 characters)

[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/gitleaks/gitleaks.
[INFO] Initializing environment for https://github.com/rhysd/actionlint.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/gitleaks/gitleaks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/rhysd/actionlint.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
check for case conflicts.................................................Passed
check for merge conflicts................................................Passed
check for broken symlinks............................(no files to check)Skipped
check vcs permalinks.....................................................Passed
detect destroyed symlinks................................................Passed
detect private key.......................................................Passed
mixed line ending........................................................Passed
trim trailing whitespace.................................................Passed
Detect hardcoded secrets.................................................Passed
Lint GitHub Actions workflow files.......................................Passed

@xnoto
xnoto merged commit a626b5c into main Aug 28, 2026
2 checks passed
@xnoto
xnoto deleted the fix/public-tf-runners branch August 28, 2026 05:13
@xnoto xnoto mentioned this pull request Aug 28, 2026
1 task
xnoto added a commit that referenced this pull request Aug 28, 2026
## Summary
Linear: No ticket — reverting the containerized OpenTofu runner
migration so infrastructure recovery can proceed manually.

Revert the optional job-container interface and Bash defaults introduced
by PRs #30 and #31.

## Implementation Details
- Remove the `container-image` reusable-workflow input.
- Remove job container and shell defaults from test, plan, and apply.

## Testing
- Parsed `.github/workflows/opentofu.yml` as YAML.
- Ran `git diff --check`.

## Rollback and operational impact
- Revert this PR to restore optional job-container support.
- No infrastructure resources change.

## Completion Status
- [x] Fully reverts the merged runner-container changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant