From f4d390b77b6b259717634d9aa761c54c271248a8 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Wed, 30 Nov 2022 06:15:36 -0800 Subject: [PATCH 1/3] Use returnnameonly, it's like returnidonly in create drivefile (#1579) * Document nameonly in create/update inboundssoprofile * Use returnnameonly, it's like returnidonly in create drivefile --- src/GamCommands.txt | 2 ++ src/gam/gapi/cloudidentity/inboundsso.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/GamCommands.txt b/src/GamCommands.txt index 499dfaca..a19e5f43 100644 --- a/src/GamCommands.txt +++ b/src/GamCommands.txt @@ -1555,8 +1555,10 @@ gam print group-members|groups-members [todrive] gam create inboundssoprofile [name ] [entityid ] [loginurl ] [logouturl ] [changepasswordurl ] + [returnnameonly] gam update inboundssoprofile [entityid ] [loginurl ] [logouturl ] [changepasswordurl ] + [returnnameonly] gam delete inboundssoprofile gam info inboundssoprofile gam show inboundssoprofiles diff --git a/src/gam/gapi/cloudidentity/inboundsso.py b/src/gam/gapi/cloudidentity/inboundsso.py index c5f5f7e0..d9f82813 100644 --- a/src/gam/gapi/cloudidentity/inboundsso.py +++ b/src/gam/gapi/cloudidentity/inboundsso.py @@ -49,7 +49,7 @@ def parse_profile(body, i): elif myarg == 'entityid': body.setdefault('idpConfig', {})['entityId'] = sys.argv[i+1] i += 2 - elif myarg == 'nameonly': + elif myarg == 'returnnameonly': name_only = True i += 1 elif myarg == 'loginurl': From d543fb9917ea3466a5160ea6b01c2c90dc43b6f3 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 30 Nov 2022 09:16:22 -0500 Subject: [PATCH 2/3] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f63ebbe7..b63bfe32 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -696,7 +696,7 @@ jobs: $gam user $gam_user delete shareddrive "${driveid}" nukefromorbit echo "printer model count:" $gam print printermodels | wc -l - ssoprofile=$($gam create inboundssoprofile name "El Goog ${newbase}" loginurl https://www.google.com logouturl https://www.google.com changepasswordurl https://www.google.com entityid ElGoog name_only) + ssoprofile=$($gam create inboundssoprofile name "El Goog ${newbase}" loginurl https://www.google.com logouturl https://www.google.com changepasswordurl https://www.google.com entityid ElGoog return_name_only) $gam create inboundssocredential profile "id:${ssoprofile}" generate_key $gam create inboundssoassignment profile "id:${ssoprofile}" orgunit "${newou}" mode SAML_SSO $gam delete ou "${newou}" From ba7a8d89378fec1e34df41b33e8afd1e9ee1a789 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 30 Nov 2022 09:51:49 -0500 Subject: [PATCH 3/3] Update build.yml --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b63bfe32..cc812e42 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -69,6 +69,11 @@ jobs: python: "3.10" jid: 10 arch: x86_64 + - os: ubuntu-22.04 + goal: test + python: "3.12.0-alpha - 3.12" + jid: 11 + arch: x86_64 steps: