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

Docker image for deploy #1683

Merged
merged 7 commits into from
Jul 13, 2022
Merged

Docker image for deploy #1683

merged 7 commits into from
Jul 13, 2022

Conversation

jmgrady
Copy link
Collaborator

@jmgrady jmgrady commented Jul 11, 2022

Add a Docker image to simplify deploying The Combine in a Windows environment.

The Docker image contains the tools necessary to install The Combine on a separate target system, such as a NUC. It includes:

  • Ansible
  • Python Libraries required by scripts in deploy/scripts
  • deploy/ansible/
  • deploy/helm/
  • deploy/scripts
  • new script, deploy/scripts/setup_target.py that sets up the target system in /etc/hosts on the Docker container, generates an SSH key, and copies the key to the target system.

In addition, the configuration for cert-proxy-server is updated to generate a certificate for a 3rd NUC, nuc3.thecombine.app. This required removing the tractor.png from the ConfigMap that initializes the web pages for the nginx server; the image made the ConfigMap too large to be managed by helm.

Issue #1687 has been created to capture the need to update the README file for deploying The Combine to describe how to use the Docker image.


This change is Reviewable

@codecov-commenter
Copy link

codecov-commenter commented Jul 11, 2022

Codecov Report

Merging #1683 (c6e85d1) into master (e7f2f57) will increase coverage by 0.11%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1683      +/-   ##
==========================================
+ Coverage   52.21%   52.32%   +0.11%     
==========================================
  Files         275      275              
  Lines        8498     8498              
  Branches      616      616              
==========================================
+ Hits         4437     4447      +10     
+ Misses       3568     3558      -10     
  Partials      493      493              
Flag Coverage Δ
backend 80.51% <ø> (+0.28%) ⬆️
frontend 32.68% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
Backend/Helper/DuplicateFinder.cs 93.25% <0.00%> (+5.61%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e7f2f57...c6e85d1. Read the comment docs.

@jmgrady jmgrady marked this pull request as ready for review July 13, 2022 15:31
Copy link
Collaborator

@imnasnainaec imnasnainaec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 5 of 7 files at r1, 5 of 5 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @jmgrady)

@jmgrady jmgrady merged commit 803774c into master Jul 13, 2022
@jmgrady jmgrady deleted the docker-image-for-deploy branch July 13, 2022 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants