The Dev Deployment Upload Service runs an HTTP server that accepts ZIP file uploads to the /upload endpoint.
Verify that the service is ready to accept uploads via the /upload-status endpoint.
When an upload is complete, the application unzips the file at the configured location and exits with a 0 code. If anything goes wrong during execution, it exits with code 1, and a helpful message is printed to stderr.
To install it, download the zip file, extract it, and copy the correct executable somewhere in the PATH (usually /usr/local/bin).
USAGE: dev-deployment-upload-service.
Arguments are passed using env vars:
| Environment variable | Required | Description | Default value |
|---|---|---|---|
|
Yes |
Where the uploaded zip file will be extracted. If it does not exist, it will be created. |
empty |
|
Yes |
Port where the HTTP Server will run. |
empty ( |
|
Yes |
API Key used as a queryParam for the |
empty |
|
No |
Subpath where the API endpoints will be based. |
|
|
Note
|
The Dev Deployment Upload Service requires the system to have both the tar and gzip libraries installed.
|