Skip to content

Commit 471263a

Browse files
Josef HarteJosef Harte
authored andcommitted
Merge branch 'masaib-1994' of github.com:ibm-mas/python-devops into masaib-1994
2 parents 06dc4bb + 0fe0ba6 commit 471263a

42 files changed

Lines changed: 5703 additions & 340 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,3 @@ jobs:
4949
with:
5050
branch: gh-pages
5151
folder: site
52-
53-
# Made with Bob

.secrets.baseline

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2025-12-25T19:13:06Z",
6+
"generated_at": "2026-01-14T11:35:47Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"
@@ -143,6 +143,16 @@
143143
"verified_result": null
144144
}
145145
],
146+
"test/src/test_backup.py": [
147+
{
148+
"hashed_secret": "4dfd3a58b4820476afe7efa2e2c52b267eec876a",
149+
"is_secret": false,
150+
"is_verified": false,
151+
"line_number": 753,
152+
"type": "Secret Keyword",
153+
"verified_result": null
154+
}
155+
],
146156
"test/src/test_db2.py": [
147157
{
148158
"hashed_secret": "a4b48a81cdab1e1a5dd37907d6c85ca1c61ddc7c",

bin/mas-devops-create-initial-users-for-saas

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ if __name__ == "__main__":
3434
parser.add_argument("--coreapi-port", required=False, default=443)
3535
parser.add_argument("--admin-dashboard-port", required=False, default=443)
3636
parser.add_argument("--manage-api-port", required=False, default=443)
37+
parser.add_argument("--mas-version", required=False, default="9.0")
3738

3839
group = parser.add_mutually_exclusive_group(required=True)
3940
group.add_argument("--initial-users-yaml-file")
@@ -56,6 +57,7 @@ if __name__ == "__main__":
5657

5758
mas_instance_id = args.mas_instance_id
5859
mas_workspace_id = args.mas_workspace_id
60+
mas_version = args.mas_version
5961
initial_users_yaml_file = args.initial_users_yaml_file
6062
initial_users_secret_name = args.initial_users_secret_name
6163
coreapi_port = args.coreapi_port
@@ -66,6 +68,7 @@ if __name__ == "__main__":
6668
logger.info("--------------")
6769
logger.info(f"mas_instance_id: {mas_instance_id}")
6870
logger.info(f"mas_workspace_id: {mas_workspace_id}")
71+
logger.info(f"mas_version: {mas_version}")
6972
logger.info(f"initial_users_yaml_file: {initial_users_yaml_file}")
7073
logger.info(f"initial_users_secret_name: {initial_users_secret_name}")
7174
logger.info(f"log_level: {log_level}")
@@ -83,7 +86,7 @@ if __name__ == "__main__":
8386
config.load_kube_config()
8487
logger.debug("Loaded kubeconfig file")
8588

86-
user_utils = MASUserUtils(mas_instance_id, mas_workspace_id, client.api_client.ApiClient(), coreapi_port=coreapi_port, admin_dashboard_port=admin_dashboard_port, manage_api_port=manage_api_port)
89+
user_utils = MASUserUtils(mas_instance_id, mas_workspace_id, client.api_client.ApiClient(), mas_version, coreapi_port=coreapi_port, admin_dashboard_port=admin_dashboard_port, manage_api_port=manage_api_port)
8790

8891
if initial_users_secret_name is not None:
8992

mkdocs.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,3 @@ extra:
112112
social:
113113
- icon: fontawesome/brands/github
114114
link: https://github.com/ibm-mas/python-devops
115-
116-
# Made with Bob

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def get_version(rel_path):
6464
'semver', # BSD License
6565
'boto3', # Apache Software License
6666
'slack_sdk', # MIT License
67+
"packaging", # Apache Software License
6768
],
6869
extras_require={
6970
'dev': [

0 commit comments

Comments
 (0)