-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4181 from broadinstitute/dev
Dev
- Loading branch information
Showing
10 changed files
with
227 additions
and
153 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,11 +47,11 @@ jobs: | |
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- name: update image tag in the broad seqr chart | ||
- name: update image tag in the dev broad seqr chart | ||
uses: mikefarah/[email protected] | ||
with: | ||
cmd: > | ||
yq -i '.hail-search.image.tag = "${{ github.event.workflow_run.head_sha }}"' charts/broad-seqr/values-dev.yaml | ||
yq -i '.hail-search.image.tag = "${{ github.event.workflow_run.head_sha }}"' charts/dev-broad-seqr/values.yaml | ||
- name: Commit and Push changes | ||
uses: Andro999b/[email protected] | ||
|
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 |
---|---|---|
|
@@ -47,11 +47,11 @@ jobs: | |
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- name: update image tag in the broad seqr chart | ||
- name: update image tag in the dev broad seqr chart | ||
uses: mikefarah/[email protected] | ||
with: | ||
cmd: > | ||
yq -i '.seqr.image.tag = "${{ github.event.workflow_run.head_sha }}"' charts/broad-seqr/values-dev.yaml | ||
yq -i '.seqr.image.tag = "${{ github.event.workflow_run.head_sha }}"' charts/dev-broad-seqr/values.yaml | ||
- name: Commit and Push changes | ||
uses: Andro999b/[email protected] | ||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -60,6 +60,7 @@ def test_get_project_collaborator_options(self): | |
users.update(self.COLLABORATOR_JSON) | ||
users.pop('[email protected]', None) | ||
self.assertDictEqual(response_json, users) | ||
return url | ||
|
||
def test_get_all_collaborator_options(self): | ||
url = reverse(get_all_collaborator_options) | ||
|
@@ -425,7 +426,7 @@ def _assert_403_response(self, response, **kwargs): | |
_test_delete_collaborator_group_response = _assert_403_response | ||
|
||
def test_get_project_collaborator_options(self, *args, **kwargs): | ||
super(AnvilUsersAPITest, self).test_get_project_collaborator_options(*args, **kwargs) | ||
url = super(AnvilUsersAPITest, self).test_get_project_collaborator_options(*args, **kwargs) | ||
self.mock_list_workspaces.assert_not_called() | ||
self.assertEqual(self.mock_get_ws_acl.call_count, 1) | ||
self.mock_get_ws_acl.assert_called_with( | ||
|
@@ -436,6 +437,10 @@ def test_get_project_collaborator_options(self, *args, **kwargs): | |
self.mock_get_groups.assert_not_called() | ||
self.mock_get_group_members.assert_called_with(self.collaborator_user, 'Analysts', use_sa_credentials=True) | ||
|
||
self.mock_get_ws_acl.side_effect = lambda *args: {} | ||
response = self.client.get(url) | ||
self.assertEqual(response.status_code, 200) | ||
self.assertDictEqual(response.json(), {'test_user_collaborator': MAIN_COLLABORATOR_JSON['test_user_collaborator']}) | ||
|
||
def test_set_password(self): | ||
super(AnvilUsersAPITest, self).test_set_password() | ||
|
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
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