Skip to content

Add beta support for Oracle Cloud#624

Open
TheOnlyOne001 wants to merge 1 commit into
woodpecker-ci:mainfrom
TheOnlyOne001:codex/oracle-autoscaler-provider
Open

Add beta support for Oracle Cloud#624
TheOnlyOne001 wants to merge 1 commit into
woodpecker-ci:mainfrom
TheOnlyOne001:codex/oracle-autoscaler-provider

Conversation

@TheOnlyOne001

Copy link
Copy Markdown

Closes #102.

Summary

  • add an oracle provider backed by the official OCI Go SDK
  • wire the provider into the autoscaler CLI and provider flag registration
  • launch agents with cloud-init user data, SSH authorized key metadata, pool/image freeform tags, subnet/VNIC config, and optional flexible shape sizing
  • list and terminate only instances tagged for the configured autoscaler pool
  • document the required Oracle Cloud environment variables

Validation

  • docker run --rm -v ${PWD}:/work -w /work golang:1.26.3 go test ./providers/oracle
  • docker run --rm -v ${PWD}:/work -w /work golang:1.26.3 go test ./...

Notes

This was tested with mocked OCI compute client calls rather than live OCI credentials. The tests cover launch request construction, user-data encoding, pool/state filtering with pagination, termination lookup, duplicate-instance safety, and client error wrapping.

@6543

6543 commented Jul 7, 2026

Copy link
Copy Markdown
Member

@TheOnlyOne001 sorry for the late review ... it mostly looks clean ... could you:

@6543 6543 added the new provider Add new cloud provider label Jul 7, 2026
@6543 6543 changed the title feat: add Oracle Cloud autoscaler provider Add beta support for Oracle Cloud Jul 7, 2026
@6543

6543 commented Jul 7, 2026

Copy link
Copy Markdown
Member

ah and mark support as beta in readme see #671

as we maintainers have no access to oracle cloud to test out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new provider Add new cloud provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Oracle Autoscaler support

2 participants