-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating the credentials to the new format
- Loading branch information
Showing
7 changed files
with
132 additions
and
65 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<tool id="secret_tool" name="secret_tool" version="test" profile="23.0"> | ||
<requirements> | ||
<secret type="vault" inject_as_env="secret_tool_api_key" user_preferences_key="secret_tool/api_key" label="secret API Key" required="true"/> | ||
<credentials name="service1" reference="service/54687" optional="false" multiple="true" label="Your credentials set" description="Optional description of the service using credentials"> | ||
<variable name="server" inject_as_env="service1_url" label="Your Service1 server" description="You can set the server..."/> | ||
<secret name="username" inject_as_env="service1_user" label="Your Service1 username" description="Your username is your email"/> | ||
<secret name="password" inject_as_env="service1_pass" label="Your Service1 password" description="This needs to be a strong password"/> | ||
</credentials> | ||
</requirements> | ||
<command><![CDATA[ | ||
echo \$secret_tool_api_key > '$output' | ||
echo \$service1_url > '$output' && echo \$service1_user >> '$output' && echo \$service1_pass >> '$output' | ||
]]></command> | ||
<inputs> | ||
</inputs> | ||
<outputs> | ||
<data name="output" format="txt"/> | ||
</outputs> | ||
<tests> | ||
</tests> | ||
</tool> |
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 |
---|---|---|
|
@@ -11,11 +11,12 @@ | |
) | ||
|
||
from galaxy.model.db.user import get_user_by_email | ||
from galaxy_test.api.test_tools import TestsTools | ||
from galaxy_test.base.populators import ( | ||
DatasetPopulator, | ||
skip_without_tool, | ||
) | ||
|
||
# from galaxy_test.api.test_tools import TestsTools | ||
# from galaxy_test.base.populators import ( | ||
# DatasetPopulator, | ||
# skip_without_tool, | ||
# ) | ||
from galaxy_test.driver import integration_util | ||
|
||
TEST_USER_EMAIL = "[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