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

Deploy to staging server #461

Closed
7 tasks
eloiferrer opened this issue Jan 11, 2024 · 4 comments
Closed
7 tasks

Deploy to staging server #461

eloiferrer opened this issue Jan 11, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@eloiferrer
Copy link
Member

eloiferrer commented Jan 11, 2024

Issue description:
We need a staging environment to deploy changes before publishing them in production.

  • Changes in the 'main' branch will be automatically deployed to mardi03 (staging)
  • Tags will be used in portal-compose to deploy specific tagged versions to mardi02 (production)

TODOS:

  • example todo to copy

Acceptance-Criteria

Checklist for this issue:

  • Assignee has been set for this issue
  • All fields of the issue have been filled
  • Issue has been assigned to the main project
  • Code was merged
  • Feature branch has been deleted and issues were updated / closed
  • Issue is tracked by an epic, or the label 'non-epic' is set to the issue.
@eloiferrer eloiferrer added the enhancement New feature or request label Jan 11, 2024
@eloiferrer
Copy link
Member Author

staging.mardi4nfdi.org and *.staging.mardi4nfdi.org point now to mardi03

@eloiferrer eloiferrer self-assigned this Jan 11, 2024
@eloiferrer
Copy link
Member Author

  • docker-compose.yml has been rewritten to list all pulled images at the top of the document (List all images at top #465)
  • docker-compose.yml file has been split in docker-compose.yml and docker-compose-extra.yml (List all images at top #465)
  • mardi02 and mardi03 deploy scripts have been updated to deploy both docker-compose & docker-compose-extra.

@eloiferrer
Copy link
Member Author

  • Tag v1.0 has been added to main branch in portal-compose
  • mardi03 deploys main branch
  • mardi02 deploys main branch at tag v1.0

@eloiferrer
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant