Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The purpose of this article is to describe how to update the backend (API) of HUMBLE.

...

URL API endpoint

Cluster

Service

prd-api.humble-online.com

Humble-multi-tenant

HUM-PRD

acc-api.humble-online.com

Development

HUM-ACC

test.humble-online.com

HUMBLE-Development

HUM-TST

cwd-prd-api.humble-online.com

CroonWolterenDrosProductieOmgeving

CWDProductieService

homij-prd-api.humble-online.com

Homij

HUM-HOM

Goto AWS to the Elastic Container Service (ECS) to see all the clusters and there details https://eu-west-1.console.aws.amazon.com/ecs/home?region=eu-west-1#/clusters

...

branch

Pipeline

Description

develop

build_and_deploy_test_api

Creates ECR Repo and restarts the ECS Service and task automatically.

Every night at 3 am the latest version will be deployed automatically.

release

build_and_deploy_acc_api

Creates ECR Repo and restarts the ECS Service and task automatically

master

master

Creates ECR Repo only. ECS Service and task is not automatically restarted.

master (ECR)

deploy_prd_api

Does not create ECR Repo.Deploy the latest master ECR Repo to the Multi Tenant Cluster. ECS Service and task automatically.

master (ECR)

deploy_prd_cwd_api

Does not create ECR Repo. Deploy the latest master ECR Repo to the CWD Cluster. ECS Service and task automatically.

master (ECR)

deploy_prd_homij_api

Does not create ECR Repo. Deploy the latest master ECR Repo to the Homij Cluster. ECS Service and task automatically.

...

  • Go to AWS ECS

  • Go to the cluster

  • Click on the Tab sheet Tasks

  • Check the checkbox and click on the Stop button

  • Read the popup message and click again on the red Stop button

  • The tasks will be stopped and restarted, the latest version of the ECR Repo will be loaded

...