Skip to content

Commit

Permalink
readd upgrade tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dcmcand committed Nov 5, 2024
1 parent b7c4d54 commit 2c1608a
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project_name: do-pytest
provider: do
domain: do.nebari.dev
project_name: aws-pytest
provider: aws
domain: aws.nebari.dev
certificate:
type: self-signed
security:
Expand Down Expand Up @@ -48,22 +48,31 @@ theme:
terraform_state:
type: remote
namespace: dev
digital_ocean:
region: nyc3
kubernetes_version: 1.21.5-do.0
amazon_web_services:
kubernetes_version: '1.20'
region: us-east-1
node_groups:
general:
instance: s-2vcpu-4gb
instance: m5.2xlarge
min_nodes: 1
max_nodes: 1
gpu: false
single_subnet: false
permissions_boundary:
user:
instance: g-2vcpu-8gb
min_nodes: 1
instance: m5.xlarge
min_nodes: 0
max_nodes: 5
gpu: false
single_subnet: false
permissions_boundary:
worker:
instance: g-2vcpu-8gb
min_nodes: 1
instance: m5.xlarge
min_nodes: 0
max_nodes: 5
gpu: false
single_subnet: false
permissions_boundary:
profiles:
jupyterlab:
- display_name: Small Instance
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project_name: do-pytest
provider: do
domain: do.nebari.dev
project_name: aws-pytest
provider: aws
domain: aws.nebari.dev
certificate:
type: self-signed
security:
Expand Down Expand Up @@ -45,22 +45,31 @@ theme:
terraform_state:
type: remote
namespace: dev
digital_ocean:
region: nyc3
kubernetes_version: 1.21.5-do.0
amazon_web_services:
kubernetes_version: '1.20'
region: us-east-1
node_groups:
general:
instance: s-2vcpu-4gb
instance: m5.2xlarge
min_nodes: 1
max_nodes: 1
gpu: false
single_subnet: false
permissions_boundary:
user:
instance: g-2vcpu-8gb
min_nodes: 1
instance: m5.xlarge
min_nodes: 0
max_nodes: 5
gpu: false
single_subnet: false
permissions_boundary:
worker:
instance: g-2vcpu-8gb
min_nodes: 1
instance: m5.xlarge
min_nodes: 0
max_nodes: 5
gpu: false
single_subnet: false
permissions_boundary:
profiles:
jupyterlab:
- display_name: Small Instance
Expand Down
6 changes: 3 additions & 3 deletions tests/tests_unit/test_upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ def qhub_users_import_json():
"old_qhub_config_path_str,attempt_fixes,expect_upgrade_error",
[
(
"./qhub-config-yaml-files-for-upgrade/qhub-config-do-310.yaml",
"./qhub-config-yaml-files-for-upgrade/qhub-config-aws-310.yaml",
False,
False,
),
(
"./qhub-config-yaml-files-for-upgrade/qhub-config-do-310-customauth.yaml",
"./qhub-config-yaml-files-for-upgrade/qhub-config-aws-310-customauth.yaml",
False,
True,
),
(
"./qhub-config-yaml-files-for-upgrade/qhub-config-do-310-customauth.yaml",
"./qhub-config-yaml-files-for-upgrade/qhub-config-aws-310-customauth.yaml",
True,
False,
),
Expand Down

0 comments on commit 2c1608a

Please sign in to comment.