Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
9181696
feat: add support for Spot VMs and validation for provisioning options
OliverTrautvetter Mar 4, 2026
1b7f037
Merge branch 'main' into bootstrap_with_spot_vms
OliverTrautvetter Mar 5, 2026
1ff3b6f
chore(docs): Auto-update docs and licenses
OliverTrautvetter Mar 5, 2026
f5cdbb3
Update internal/bootstrap/gcp/gcp.go
OliverTrautvetter Mar 5, 2026
7b78e18
feat: enhance instance creation logging for spot VM fallback
OliverTrautvetter Mar 5, 2026
bd82e50
Merge branch 'bootstrap_with_spot_vms' of https://github.com/codesphe…
OliverTrautvetter Mar 5, 2026
2c6a424
test: improve GetInstance error handling in GCPBootstrapper tests
OliverTrautvetter Mar 5, 2026
e234f5f
Update internal/bootstrap/gcp/gcp.go
OliverTrautvetter Mar 5, 2026
af02bd5
feat: implement waitForInstanceRunning to ensure instance readiness a…
OliverTrautvetter Mar 5, 2026
274983c
Merge origin/main into bootstrap_with_spot_vms
OliverTrautvetter Mar 12, 2026
d1554ae
ref: simplify IP extraction and enhance instance handling in EnsureCo…
OliverTrautvetter Mar 12, 2026
28a135f
Merge branch 'main' into bootstrap_with_spot_vms
OliverTrautvetter Mar 13, 2026
67f88ec
chore(docs): Auto-update docs and licenses
OliverTrautvetter Mar 13, 2026
74b936c
fix: mockery
OliverTrautvetter Mar 13, 2026
75075e7
Merge branch 'bootstrap_with_spot_vms' of https://github.com/codesphe…
OliverTrautvetter Mar 13, 2026
df5efc3
chore(docs): Auto-update docs and licenses
OliverTrautvetter Mar 13, 2026
482fdbd
fix: update install profile from 'dev' to 'minimal' in GCP Bootstrapp…
OliverTrautvetter Mar 13, 2026
d7f87ff
Merge branch 'bootstrap_with_spot_vms' of https://github.com/codesphe…
OliverTrautvetter Mar 13, 2026
6d1d398
test: add test for spot vm
OliverTrautvetter Mar 16, 2026
8461787
test: update spot vm tests
OliverTrautvetter Mar 16, 2026
b0de0d8
Potential fix for pull request finding
OliverTrautvetter Mar 16, 2026
d47f56d
Potential fix for pull request finding
OliverTrautvetter Mar 16, 2026
3101c02
Potential fix for pull request finding
OliverTrautvetter Mar 16, 2026
b102983
ref: streamline VM management and enhance error handling in GCPBootst…
OliverTrautvetter Mar 18, 2026
22966a2
Potential fix for pull request finding
OliverTrautvetter Mar 18, 2026
f5c6529
ref: update GCP bootstrap command flags to clarify VM options and exc…
OliverTrautvetter Mar 18, 2026
e6edb90
chore(docs): Auto-update docs and licenses
OliverTrautvetter Mar 18, 2026
a88d436
fix: handle not found error in instance polling with retry logic
OliverTrautvetter Mar 18, 2026
38761a6
Merge branch 'bootstrap_with_spot_vms' of https://github.com/codesphe…
OliverTrautvetter Mar 18, 2026
b947458
fix: update IsNotFoundError function to always return false and impro…
OliverTrautvetter Mar 18, 2026
a83bd6d
fix: update mockGetInstanceNotFoundThenRunning to return a googleapi.…
OliverTrautvetter Mar 18, 2026
31e115f
fix: simplify instance retrieval logic in GCP Bootstrapper tests
OliverTrautvetter Mar 18, 2026
6611096
ref: fix comments in GCP Bootstrapper tests for clarity
OliverTrautvetter Mar 18, 2026
7d2a154
fix: enhance GCP instance management and testing for spot VMs
OliverTrautvetter Mar 18, 2026
0f1d1e8
Merge branch 'main' into bootstrap_with_spot_vms
OliverTrautvetter Mar 18, 2026
87a7feb
Merge branch 'main' into bootstrap_with_spot_vms
OliverTrautvetter Mar 19, 2026
051249f
chore(docs): Auto-update docs and licenses
OliverTrautvetter Mar 19, 2026
cbf803b
Merge remote-tracking branch 'origin/main' into bootstrap_with_spot_vms
OliverTrautvetter Mar 19, 2026
ba12703
fix: Correct indentation in EnsureComputeInstances test case
OliverTrautvetter Mar 19, 2026
eca66d7
chore(docs): Auto-update docs and licenses
OliverTrautvetter Mar 19, 2026
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
20 changes: 10 additions & 10 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -929,9 +929,9 @@ License URL: https://github.com/helm/helm/blob/v4.1.3/LICENSE

----------
Module: k8s.io/api
Version: v0.35.2
Version: v0.35.3
License: Apache-2.0
License URL: https://github.com/kubernetes/api/blob/v0.35.2/LICENSE
License URL: https://github.com/kubernetes/api/blob/v0.35.3/LICENSE

----------
Module: k8s.io/apiextensions-apiserver/pkg/apis/apiextensions
Expand All @@ -941,15 +941,15 @@ License URL: https://github.com/kubernetes/apiextensions-apiserver/blob/v0.35.1/

----------
Module: k8s.io/apimachinery/pkg
Version: v0.35.2
Version: v0.35.3
License: Apache-2.0
License URL: https://github.com/kubernetes/apimachinery/blob/v0.35.2/LICENSE
License URL: https://github.com/kubernetes/apimachinery/blob/v0.35.3/LICENSE

----------
Module: k8s.io/apimachinery/third_party/forked/golang
Version: v0.35.2
Version: v0.35.3
License: BSD-3-Clause
License URL: https://github.com/kubernetes/apimachinery/blob/v0.35.2/third_party/forked/golang/LICENSE
License URL: https://github.com/kubernetes/apimachinery/blob/v0.35.3/third_party/forked/golang/LICENSE

----------
Module: k8s.io/apiserver/pkg/endpoints/deprecation
Expand All @@ -965,15 +965,15 @@ License URL: https://github.com/kubernetes/cli-runtime/blob/v0.35.2/LICENSE

----------
Module: k8s.io/client-go
Version: v0.35.2
Version: v0.35.3
License: Apache-2.0
License URL: https://github.com/kubernetes/client-go/blob/v0.35.2/LICENSE
License URL: https://github.com/kubernetes/client-go/blob/v0.35.3/LICENSE

----------
Module: k8s.io/client-go/third_party/forked/golang/template
Version: v0.35.2
Version: v0.35.3
License: BSD-3-Clause
License URL: https://github.com/kubernetes/client-go/blob/v0.35.2/third_party/forked/golang/LICENSE
License URL: https://github.com/kubernetes/client-go/blob/v0.35.3/third_party/forked/golang/LICENSE

----------
Module: k8s.io/component-base/version
Expand Down
3 changes: 2 additions & 1 deletion cli/cmd/bootstrap_gcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ func AddBootstrapGcpCmd(parent *cobra.Command, opts *GlobalOptions) {
flags.StringVar(&bootstrapGcpCmd.CodesphereEnv.FolderID, "folder-id", "", "GCP Folder ID (optional)")
flags.StringVar(&bootstrapGcpCmd.CodesphereEnv.SSHPublicKeyPath, "ssh-public-key-path", "~/.ssh/id_rsa.pub", "SSH Public Key Path (default: ~/.ssh/id_rsa.pub)")
flags.StringVar(&bootstrapGcpCmd.CodesphereEnv.SSHPrivateKeyPath, "ssh-private-key-path", "~/.ssh/id_rsa", "SSH Private Key Path (default: ~/.ssh/id_rsa)")
flags.BoolVar(&bootstrapGcpCmd.CodesphereEnv.Preemptible, "preemptible", false, "Use preemptible VMs for Codesphere infrastructure (default: false)")
flags.BoolVar(&bootstrapGcpCmd.CodesphereEnv.Preemptible, "preemptible", false, "Use preemptible VMs for Codesphere infrastructure. Mutually exclusive with --spot (default: false)")
flags.BoolVar(&bootstrapGcpCmd.CodesphereEnv.Spot, "spot", false, "Use Spot VMs for Codesphere infrastructure. Falls back to standard VMs if spot capacity unavailable. Mutually exclusive with --preemptible (default: false)")
flags.IntVar(&bootstrapGcpCmd.CodesphereEnv.DatacenterID, "datacenter-id", 1, "Datacenter ID (default: 1)")
flags.StringVar(&bootstrapGcpCmd.CodesphereEnv.CustomPgIP, "custom-pg-ip", "", "Custom PostgreSQL IP (optional)")
flags.StringVar(&bootstrapGcpCmd.CodesphereEnv.InstallConfigPath, "install-config", "config.yaml", "Path to install config file (optional)")
Expand Down
3 changes: 2 additions & 1 deletion docs/oms_beta_bootstrap-gcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,15 @@ oms beta bootstrap-gcp [flags]
--openbao-password string OpenBao password (optional)
--openbao-uri string URI for OpenBao (optional)
--openbao-user string OpenBao username (optional) (default "admin")
--preemptible Use preemptible VMs for Codesphere infrastructure (default: false)
--preemptible Use preemptible VMs for Codesphere infrastructure. Mutually exclusive with --spot (default: false)
--project-name string Unique GCP Project Name (required)
--project-ttl string Time to live for the GCP project. Cleanup workflows will remove it afterwards. (default: 2 hours) (default "2h")
--region string GCP Region (default: europe-west4) (default "europe-west4")
--registry-type string Container registry type to use (options: local-container, artifact-registry) (default: artifact-registry) (default "local-container")
--registry-user string Custom Registry username (only for GitHub registry type) (optional)
--secrets-dir string Directory for secrets (default: /etc/codesphere/secrets) (default "/etc/codesphere/secrets")
--secrets-file string Path to secrets files (optional) (default "prod.vault.yaml")
--spot Use Spot VMs for Codesphere infrastructure. Falls back to standard VMs if spot capacity unavailable. Mutually exclusive with --preemptible (default: false)
--ssh-private-key-path string SSH Private Key Path (default: ~/.ssh/id_rsa) (default "~/.ssh/id_rsa")
--ssh-public-key-path string SSH Public Key Path (default: ~/.ssh/id_rsa.pub) (default "~/.ssh/id_rsa.pub")
--ssh-quiet Suppress SSH command output (default: false)
Expand Down
Loading
Loading