-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor provisioner tests env (#3424)
* Bump Go in github action, remove redundant caching * Bump buildpack * Change test environment Now tests are run without buildpack by default. This changes DB code to remove special handling of test environment. * Update e2e provision request * Improve Makefile aesthetically * Fix test command in docs
- Loading branch information
Showing
8 changed files
with
92 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 38 additions & 38 deletions
76
components/provisioner/e2e_test/requests/provision.graphql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
mutation ($name: String! | ||
, $provider: String! | ||
, $providerSecret: String! | ||
, $kubernetesVersion: String! | ||
, $machineType: String! | ||
, $diskType: String! | ||
, $region: String!) { | ||
provisionRuntime( | ||
config: { | ||
, $provider: String! | ||
, $providerSecret: String! | ||
, $kubernetesVersion: String! | ||
, $machineType: String! | ||
, $diskType: String! | ||
, $region: String!) { | ||
provisionRuntime( | ||
config: { | ||
runtimeInput: { name: $name, description: "" } | ||
clusterConfig: { | ||
gardenerConfig: { | ||
name: $name | ||
kubernetesVersion: $kubernetesVersion | ||
diskType: $diskType | ||
volumeSizeGB: 32 | ||
machineType: $machineType | ||
region: $region | ||
provider: $provider | ||
targetSecret: $providerSecret | ||
workerCidr: "10.250.0.0/19" | ||
podsCidr: "10.64.0.0/11" | ||
servicesCidr: "10.243.0.0/16" | ||
autoScalerMin: 2 | ||
autoScalerMax: 4 | ||
maxSurge: 4 | ||
maxUnavailable: 1 | ||
providerSpecificConfig: { | ||
azureConfig: { vnetCidr: "10.250.0.0/19" } | ||
gcpConfig: {zones: ["europe-west3-b"]} | ||
} | ||
} | ||
gardenerConfig: { | ||
name: $name | ||
kubernetesVersion: $kubernetesVersion | ||
diskType: $diskType | ||
volumeSizeGB: 32 | ||
machineType: $machineType | ||
region: $region | ||
provider: $provider | ||
targetSecret: $providerSecret | ||
podsCidr: "10.60.0.0/16" | ||
workerCidr: "10.250.0.0/16" | ||
servicesCidr: "10.240.0.0/16" | ||
autoScalerMin: 2 | ||
autoScalerMax: 4 | ||
maxSurge: 4 | ||
maxUnavailable: 1 | ||
providerSpecificConfig: { | ||
azureConfig: { vnetCidr: "10.250.0.0/19" } | ||
gcpConfig: {zones: ["europe-west3-b"]} | ||
} | ||
} | ||
} | ||
} | ||
) { | ||
id | ||
operation | ||
state | ||
message | ||
runtimeID | ||
} | ||
} | ||
} | ||
) { | ||
id | ||
operation | ||
state | ||
message | ||
runtimeID | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters