datatracker/dev/deploy-to-container
dependabot[bot] eba8fc6c6c
chore(deps): bump yargs in /dev/deploy-to-container (#5300)
Bumps [yargs](https://github.com/yargs/yargs) from 17.5.1 to 17.7.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v17.5.1...v17.7.1)

---
updated-dependencies:
- dependency-name: yargs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 15:59:09 -04:00
..
.editorconfig ci: deploy-to-container tool 2022-10-26 00:04:02 -04:00
.gitignore ci: deploy-to-container tool 2022-10-26 00:04:02 -04:00
.npmrc ci: deploy-to-container tool 2022-10-26 00:04:02 -04:00
cli.js ci: fix build workflow to handle non-existant shared test volume 2022-12-22 22:25:33 -05:00
package-lock.json chore(deps): bump yargs in /dev/deploy-to-container (#5300) 2023-03-13 15:59:09 -04:00
package.json chore(deps): bump yargs in /dev/deploy-to-container (#5300) 2023-03-13 15:59:09 -04:00
README.md ci: deploy to container tool cleanup + docs 2022-10-26 00:10:29 -04:00
settings_local.py ci: add shared test volume to sandbox deploy 2022-12-22 17:15:35 -05:00
start.sh ci: add shared test volume to sandbox deploy 2022-12-22 17:15:35 -05:00

Datatracker Deploy to Container Tool

This tool takes a release.tar.gz build file and deploys it as a container, along with its own database container.

Requirements

  • Node 16.x or later
  • Docker

Usage

  1. From the dev/deploy-to-container directory, run the command:
npm install
  1. Make sure you have a release.tar.gz tarball in the project root directory.
  2. From the project root directory (back up 2 levels), run the command: (replacing the branch and domain arguments)
node ./dev/deploy-to-container/cli.js --branch main --domain something.com

A container named dt-app-BRANCH and dt-db-BRANCH (where BRANCH is the argument provided above) will be created.