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

[Task] Deploy OC stack 2024-01-17 #2429

Closed
1 task done
tschaffter opened this issue Jan 17, 2024 · 1 comment
Closed
1 task done

[Task] Deploy OC stack 2024-01-17 #2429

tschaffter opened this issue Jan 17, 2024 · 1 comment
Assignees

Comments

@tschaffter
Copy link
Member

tschaffter commented Jan 17, 2024

What product(s) is this story for?

OpenChallenges

As a user, I want

No response

Description

Deploys the patch implemented in #2426

Acceptance criteria

No response

Tasks

No response

Anything else?

No response

Have you linked this story to a GitHub Project?

  • I have linked this story to a GitHub Project and set its metadata.
@tschaffter tschaffter self-assigned this Jan 17, 2024
@tschaffter
Copy link
Member Author

Deployment 2024-01-17

Update stack

Pull current commit on main

git pull

Update the config file apps/openchallenges/app/.env as well as other config files if needed.

Remove the containers:

docker rm -f $(docker ps -aq)

Remove the images:

docker rmi -f $(docker images -aq)

Pull the edge images and start the stack:

OPENCHALLENGES_VERSION=edge ./docker/openchallenges/serve-detach.sh openchallenges-apex

Note
Elasticsearch nodes may fail to start on first try. In that case, run the command again until all the containers are healthy.

New stack

Commit ID:

ubuntu@openchallenges-preview-instance:~/sage-monorepo$ git rev-parse HEAD
cfa1cbd63425de129e3c4507b0231c49cc6b8e11

Docker images:

ubuntu@openchallenges-preview-instance:~/sage-monorepo$ docker images
REPOSITORY                                                     TAG       IMAGE ID       CREATED             SIZE
ghcr.io/sage-bionetworks/openchallenges-app                    edge      87da05b2e072   About an hour ago   197MB
ghcr.io/sage-bionetworks/openchallenges-organization-service   edge      68c1946b3b30   4 days ago          355MB
ghcr.io/sage-bionetworks/openchallenges-challenge-service      edge      e44102416f2a   4 days ago          357MB
ghcr.io/sage-bionetworks/openchallenges-image-service          edge      aaee002901c3   4 weeks ago         322MB
ghcr.io/sage-bionetworks/openchallenges-api-docs               edge      270a6e3067c4   4 weeks ago         33.6MB
ghcr.io/sage-bionetworks/openchallenges-config-server          edge      3bb0e69202c8   2 months ago        307MB
ghcr.io/sage-bionetworks/openchallenges-vault                  edge      77056decc8b0   2 months ago        230MB
ghcr.io/sage-bionetworks/openchallenges-apex                   edge      23078a12e6b2   2 months ago        42.7MB
ghcr.io/sage-bionetworks/openchallenges-service-registry       edge      23baf58b7fc5   2 months ago        321MB
ghcr.io/sage-bionetworks/openchallenges-api-gateway            edge      8259f834a0dc   2 months ago        322MB
ghcr.io/sage-bionetworks/openchallenges-elasticsearch          edge      175870ded7b6   2 months ago        622MB
ghcr.io/sage-bionetworks/openchallenges-mariadb                edge      148cab4719df   2 months ago        384MB
ghcr.io/sage-bionetworks/openchallenges-zipkin                 edge      8db96cbdf734   7 months ago        157MB
ghcr.io/sage-bionetworks/openchallenges-thumbor                edge      766ef87139d7   8 months ago        606MB

App .env:

API_DOCS_URL="https://openchallenges.io/api-docs" 
APP_VERSION="1.5.5-beta"
CSR_API_URL="https://openchallenges.io/api/v1"
DATA_UPDATED_ON="2024-01-17"
ENVIRONMENT="production"
GOOGLE_TAG_MANAGER_ID="GTM-NBR5XD8C"
SSR_API_URL="http://openchallenges-api-gateway:8082/api/v1"

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

No branches or pull requests

1 participant