Skip to content

Commit

Permalink
Merge pull request #388 from tapis-project/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
mpackard authored Sep 5, 2024
2 parents 68bdfbd + 8f6c8c7 commit 56e3186
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
- [Security: 1.6.2 to 1.6.3 (tapis/securitymigrate, securityadmin, securityapi, securityexport)](https://github.com/tapis-project/tapis-security/blob/dev/tapis-securityapi/CHANGELOG.md)
- [Globus-Proxy: 1.6.2 to 1.6.4 (tapis/globus-proxy)](https://github.com/tapis-project/globus-proxy/blob/dev/CHANGELOG.md)

### Breaking Changes for Deployer Admins

- If using the globus-proxy component, you must provide 2 variables in host_vars: `globus_client_id` and `globus_client_secret`. They correspond to the id and secret of the service client, as described here: https://docs.globus.org/guides/recipes/automate-with-service-account/ .


## 1.6.3

Expand Down
2 changes: 2 additions & 0 deletions playbooks/roles/globus-proxy/defaults/main/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ globus_proxy_show_traceback: false
globus_proxy_tenants:
- dev
- admin
globus_client_id: null
globus_client_secret: null

7 changes: 7 additions & 0 deletions playbooks/roles/globus-proxy/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
---


- name: Check mandatory variables are defined
assert:
that:
- globus_client_id != None
- globus_client_secret != None

- include_tasks: '{{ tapisctl_action }}.yml'

Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
"log_level": "{{globus_proxy_log_level}}",
"tenants": {{globus_proxy_tenants|to_json}},
"show_traceback": {{globus_proxy_show_traceback|to_json}},
"use_sk": true
}
"use_sk": true,
"client_id": "{{ globus_client_id }}",
"client_secret": "{{ globus_client_secret }}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@ data:
"log_level": "{{globus_proxy_log_level}}",
"tenants": {{globus_proxy_tenants|to_json}},
"show_traceback": {{globus_proxy_show_traceback|to_json}},
"use_sk": true
"use_sk": true,
"client_id": "{{ globus_client_id }}",
"client_secret": "{{ globus_client_secret }}"
}

0 comments on commit 56e3186

Please sign in to comment.