Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create deploy script #11

Closed
afred opened this issue Jul 6, 2022 · 0 comments · Fixed by #12
Closed

Create deploy script #11

afred opened this issue Jul 6, 2022 · 0 comments · Fixed by #12
Assignees
Labels
CD 🏗️ Relating to Continuous Deployment enhancement ➕ New feature or request

Comments

@afred
Copy link
Contributor

afred commented Jul 6, 2022

User Story

As an Open Vault Developer
I can use a script from the ov_deploy repository
to deploy an version of `ov_wag` or `ov-frontend` applications
to either Production or Demo environments in the `digital-eks-dev` K8s cluster
in order to have flexible, consistent control over Open Vault deployments.

Done when

User story is true

@afred afred self-assigned this Jul 6, 2022
@mrharpo mrharpo added CD 🏗️ Relating to Continuous Deployment enhancement ➕ New feature or request labels Jul 6, 2022
@mrharpo mrharpo added this to the Demo 🏗️ milestone Jul 6, 2022
afred added a commit that referenced this issue Jul 6, 2022
* Adds ./deploy executable script for parsing command line args.
  (run ./deploy -h for usage).
* Adds module 'deployer' which takes parsed command line args and provides methods
  for various deployment operations.
* Adds Dockerfile and nginx config file for building/deploying the ov-nginx container used for
  serving both ov_wag and ov-frontend web apps.
* Adds __pycache__ to .gitignore.

Closes #11.
afred added a commit that referenced this issue Jul 6, 2022
* Adds ./deploy executable script for parsing command line args.
  (run ./deploy -h for usage).
* Adds module 'deployer' which takes parsed command line args and provides methods
  for various deployment operations.
* Adds Dockerfile and nginx config file for building/deploying the ov-nginx container used for
  serving both ov_wag and ov-frontend web apps.
* Adds __pycache__ to .gitignore.

Closes #11.
afred added a commit that referenced this issue Jul 6, 2022
* Adds ./deploy executable script for parsing command line args.
  (run ./deploy -h for usage).
* Adds module 'deployer' which takes parsed command line args and provides methods
  for various deployment operations.
* Adds Dockerfile and nginx config file for building/deploying the ov-nginx container used for
  serving both ov_wag and ov-frontend web apps.
* Adds __pycache__ to .gitignore.

Closes #11.
afred added a commit that referenced this issue Jul 6, 2022
* Adds ./deploy executable script for parsing command line args.
  (run ./deploy -h for usage).
* Adds module 'deployer' which takes parsed command line args and provides methods
  for various deployment operations.
* Adds Dockerfile and nginx config file for building/deploying the ov-nginx container used for
  serving both ov_wag and ov-frontend web apps.
* Adds __pycache__ to .gitignore.

Closes #11.
afred added a commit that referenced this issue Jul 6, 2022
* Adds ./deploy executable script for parsing command line args.
  (run ./deploy -h for usage).
* Adds module 'deployer' which takes parsed command line args and provides methods
  for various deployment operations.
* Adds Dockerfile and nginx config file for building/deploying the ov-nginx container used for
  serving both ov_wag and ov-frontend web apps.
* Adds __pycache__ to .gitignore.

Closes #11.
mrharpo added a commit that referenced this issue Jul 8, 2022
* Adds command line script for deploying Open Vault resources

* Adds ./deploy executable script for parsing command line args.
  (run ./deploy -h for usage).
* Adds module 'deployer' which takes parsed command line args and provides methods
  for various deployment operations.
* Adds Dockerfile and nginx config file for building/deploying the ov-nginx container used for
  serving both ov_wag and ov-frontend web apps.
* Adds __pycache__ to .gitignore.

Closes #11.

* Format with black

* Splits URLs to constants

* Move arg parsing to cli.py, only run deploy steps when run as __main__

* Migrate to pydantic types

* Adds missing deploy_ov_nginx def

* Adds docstrings

* Adds short args -b: backend, -f: frontend, -p: proxy

* Raises Exception if no deployment specified. Removes else clause.

* Migrates from os to subprocess to catch all errors

Co-authored-by: Harpo <ryan_harbert@wgbh.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CD 🏗️ Relating to Continuous Deployment enhancement ➕ New feature or request
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants