You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 12, 2024. It is now read-only.
*[Using a helios job config file](#using-a-helios-job-config-file)
16
17
*[Deploying Your Job](#deploying-your-job)
17
18
*[Checking deployment status and history](#checking-deployment-status-and-history)
18
19
*[Undeploying](#undeploying)
@@ -87,12 +88,9 @@ For some use cases, you may want to pass some environment variables to the job t
87
88
88
89
The last line of output in the command output is the canonical job ID. Most times, you will only need the `jobName:jobVersion` parts, but in the event that you create two jobs with the same name and version, you can unambiguously choose which one you intend to operate on by supplying the full ID.
89
90
90
-
As a current best practice, it is advised to put your `create` command lines into
91
-
version-controlled files in your project directory, one file per create statement. This way,
92
-
when you go to do subsequent job creations and deployments, you've got a record of what you did the
93
-
last time.
91
+
### Using a Helios job config file
94
92
95
-
`helios create -d <DOMAINS> -f <HELIOS_JOB_CONFIG_FILE_PATH> JOB_NAME IMAGE_NAME` will merge
job parameters in the file `<HELIOS_JOB_CONFIG_FILE_PATH>` with other command line arguments. CLI
97
95
args take precedence. The job configuration file should be valid JSON with a schema that matches the
98
96
output of `helios inspect -d <DOMAINS> <EXISTING_JOB_NAME> --json`. Here's an example:
@@ -126,6 +124,11 @@ output of `helios inspect -d <DOMAINS> <EXISTING_JOB_NAME> --json`. Here's an ex
126
124
}
127
125
```
128
126
127
+
A current best practice is to save all your job creation parameters in
128
+
version-controlled files in your project directory. This allows you to tie
129
+
your helios job params to changes in your application code.
130
+
131
+
129
132
Deploying Your Job
130
133
---
131
134
Now that you've created a Helios job, you can deploy it to Helios hosts. You'll need to find a running Helios host to do so. You can see which hosts are available using the CLI. For example:
0 commit comments