Build image & Deployment process of creating image and installing RPC-backend application in EKS cluster.
Context
Description
sandbox-dev
Context containing all needed env-vars for image creation and deployment to sandbox-dev cluster
playground
Context containing all needed env-vars for image creation and deployment to playground cluster
Circle CI pipeline parameters:
Name
Type
Default
Effect
namespace
string
rpc-backend
defines the namespace for the deployment in k8s cluster
playground
boolean
false
defines that build and deploy should be executed to playground environment
image
string
"app/rpc/backend"
base path of the image in the respective environment ECR
Use-case
Description
Branch
Param Values
Build image in dev environment
Builds image and uploads it to dev env
Not main
-
Build & Deploy image in dev environment
Builds image, uploads it to dev env and deploys the application to dev cluster
main
-
Build & Deploy image in playground environment
Builds image, uploads it to playground env and deploys the application to playground cluster
main
playground set to "TRUE"
Circle CI Deploy Workflow:
To run follow those steps:
navigate to project in CircleCI
select branch from the dropdown
select "Trigger pipeline" action
Apply pipeline params if needed based on Circle CI use-cases
Then trigger the pipeline