-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added cloudbuild.yaml to test on AP clusters * debug jupyter test * parameterize scripts for autopilot * refactor cloudbuild file to use cluster_type * fix jupyter test script args * single cloudbuild for std & ap clusters * replace suffix with build_id * fix namespace_selector for gke-gmp-system
- Loading branch information
1 parent
5b347a6
commit f8c0453
Showing
4 changed files
with
76 additions
and
79 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
import yaml | ||
import sys | ||
|
||
with open("../jupyter_config/config-selfauth.yaml", "r") as yaml_file: | ||
config_file = "../jupyter_config/config-selfauth.yaml" | ||
if len(sys.argv) == 2: | ||
autopilot = (sys.argv[1] == "true") | ||
if autopilot: | ||
config_file = "../jupyter_config/config-selfauth-autopilot.yaml" | ||
|
||
with open(config_file, "r") as yaml_file: | ||
data = yaml.safe_load(yaml_file) | ||
|
||
data["hub"]["config"]["DummyAuthenticator"]["password"] = "dummy" | ||
|
||
with open("../jupyter_config/config-selfauth.yaml", 'w') as yaml_file: | ||
with open(config_file, 'w') as yaml_file: | ||
yaml.dump(data, yaml_file) |
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