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

remove news-search-api from story-indexer so we can independently manage deployment #268

Closed
rahulbot opened this issue Mar 20, 2024 · 6 comments
Assignees
Milestone

Comments

@rahulbot
Copy link
Contributor

The goal is to pull our news-search-api so that we can manage deployment of it independently from the overall story-index.

Related mediacloud/news-search-api#27, but tracking on here so we can see it in the same place as other tasks.

@kilemensi
Copy link
Contributor

  1. Can use GitHub secrets for any sensitive information.
  2. Need to figure out how to deploy/push image to the (staging?) server (Similar to https://github.com/marketplace/actions/dokku).
  3. ???

@thepsalmist
Copy link
Contributor

thepsalmist commented Mar 27, 2024

Draft PR here, pending clarifications below:

  1. Building of from the comments above, using Github secrets should allow us to store some of the sensitive info that will require like, ssh_username and server_ip/hostname for the action to deploy the docker-compose file on the Angwin cluster.
  2. From the workflows we can tag the images for each environment, staging or prod and we pass in the ESHOSTS as an env variable. This should allow specifying a staging/prod Elasticsearch connection (should be different urls host.9200, and host.9210)
  3. @rahulbot one clarification; since we require VPN access to ssh into the angwin cluster, can we inquire if we can make a provision for deployments via GH Actions. There is no direct mention of VPN support for Github hosted runners, so that may mean we need some kind of customizations around this.

@philbudne
Copy link
Contributor

philbudne commented Mar 27, 2024 via email

@rahulbot
Copy link
Contributor Author

Short term deployment plan for now is to use a private repo with a Docker(?) config file, like we do for story-indexer.

@philbudne
Copy link
Contributor

philbudne commented Mar 27, 2024 via email

@thepsalmist
Copy link
Contributor

News-search API deployemnt Resolved in mediacloud/news-search-api#66

@rahulbot rahulbot closed this as completed Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants