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

Tagserver configuration tool #155

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Tagserver configuration tool #155

wants to merge 13 commits into from

Conversation

renato2099
Copy link
Collaborator

This is a script for configuring the required dependencies for running Tagserver

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@lewismc lewismc added enhancement New feature or request deployment Deployment logic labels Dec 9, 2022
@renato2099 renato2099 force-pushed the 149_configuration_tool branch from 44cd30e to ea96a2d Compare February 4, 2023 18:41
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@@ -0,0 +1,67 @@
set :branch, "149_configuration_tool"
set :server_ip, "18.116.62.197"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this needs to be factored out to an env variable

@lewismc
Copy link
Member

lewismc commented Mar 18, 2023

At todays meeting we determined that the following issues need to be accommodated within this PR

  • creating $TAGBASE_HOME/services/nginx/ssl read permissions
  • creating $TAGBASE_HOME/staging_data write permissions
  • create $TAGBASE_HOME/postgis-data read + write permissions
  • create $TAGBASE_HOME/dbbackups write permissions
  • generate TLS cert and key
  • move TLS cert and key to $TAGBASE_HOME/services/nginx/ssl
  • refactor [dev_servers] IP in inventory into environment variable
  • refactor ansible_ssh_private_key value in inventory into environment variable
  • refactor server_ip value in staging.rb into environment variable

devops/inventory Outdated
#one.example.com

[dev_servers]
18.116.62.197
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this also needs to be factored out


[dev_servers:vars]
ansible_user=ubuntu
ansible_ssh_private_key_file=/Users/renatomarroquin/Documents/workspace/tagbase/devserver-keypair.pem
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this also needs to be factored out

@renato2099 renato2099 force-pushed the 149_configuration_tool branch from e300dff to c633184 Compare March 26, 2023 19:51
@renato2099 renato2099 force-pushed the 149_configuration_tool branch from c633184 to 6fb38ca Compare April 10, 2023 20:10
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@lewismc
Copy link
Member

lewismc commented Apr 19, 2023

We agreed to hold off on further development until the end of May.

@lewismc
Copy link
Member

lewismc commented Aug 30, 2023

Hi @renato2099 when we come back to this we can consider the following use case as well.
Say the remote machine needs to be restarted for some reason as is common with linux distributions from time to time. On system restart we want docker-compose to be executed on the stack and for tagbase-server services to be restarted on the host machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Deployment logic enhancement New feature or request
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

2 participants