...
If Sage is not allowed access to the server, then it is the external site’s responsibility to get the Orchestrator running in whatever environment chosen. If Docker is not supported by the system, please let us know as we do have solutions for workarounds (e.g. using Java to execute, etc.).
Typical Infrastructure Setup Steps
Create a workflow infrastructure GitHub repository for the Challenge. We have created two templates in Sage-Bionetworks-Challenges that you may use as a starting point.
Create the Challenge site on Synapse. This can easily be done with
challengeutils
:On the live site, go to the CHALLENGE tab and create as many Evaluation Queues as needed, e.g. one per sub-challenge, etc. by clicking on Challenge Tools > Create Evaluation Queue. By default,
create-challenge
will create an Evaluation Queue for writeups, which you will already see listed here.While still on the live site, go to the FILES tab and create a new Folder called "Logs" by clicking on Files Tools > Add New Folder.
On the staging site, go to the FILES tab and create a new File by clicking on Files Tools > Upload or Link to a File > Link to URL.
Add an Annotation to the File called ROOT_TEMPLATE by clicking on Files Tools > Annotations > Edit. The "Value" will be the path to the workflow script, written as:
Create a cloud compute environment with the required memory and volume specifications. Once it spins up, log into the instance and clone the orchestrator:
While still on the instance, change directories to
SynapseWorkflowOrchestrator/
and create a copy of the.envTemplate
file as.env
(or simply rename it to.env
):Open
.env
and enter values for the following property variables:Return to the workflow infrastructure repository and clone it onto your local machine. Open the repo in your editor of choice and make the following edits to the scripts:
On the instance, change directories to
SynapseWorkflowOrchestrator/
and kick-start the orchestrator with:Go to the staging site and click on the TABLES tab. Create a new Submission View by clicking on Table Tools > Add Submission View. Under "Scope", add the Evaluation Queue(s) you are interested in monitoring (you may add more than one), then click Next. On the next screen, select which information to display, then hit Save. A Synapse table of the submissions and their metadata is now available for viewing and querying.
On the live site, go to the CHALLENGE tab and share the appropriate Evaluation Queues with the Participants team, giving them "Can submit" permissions.
Use the
copyWiki
command provided by synapseutils to copy over all pages from the staging site to the live site. When usingcopyWiki
, it is important to also specify thedestinationSubPageId
parameter. This ID can be found in the URL of the live site, where it is the integer following.../wiki/
, e.g.On the instance, enter:
For a visual reference, a diagram of the orchestrator and its interactions with Synapse is provided below:
...