Orb for installing the tools to interact with Amazon Elastic Container Service for Kubernetes (EKS) from within a CircleCI build job.
The following required dependencies must be configured in CircleCI in order to use this orb:
orbs:
aws-ecr: circleci/[email protected]
eks: tiendanube/[email protected] - eks/helm-deploy:
name: prd-eks-deployment
pre-steps:
- aws-cli/setup:
role_arn: "arn:aws:iam::201009178507:role/CircleCIRoleForOIDC_Generic"
region: ${AWS_REGION_STAGING}
context: microservices
cluster-name: staging
region: ${AWS_REGION_STAGING}
s3-chart-repo: tiendanube-charts
release-name: ${CIRCLE_PROJECT_REPONAME}-${CIRCLE_BRANCH}
values-file: values-staging.yaml
namespace: ${CIRCLE_PROJECT_REPONAME}
chart: tiendanube-charts/microservices-v6
image-tag: stg-${CIRCLE_SHA1:0:7}
...- Make sure you're on the main branch of the source repository.
- From the root of the project, package the ORB content by running:
circleci orb pack src > orb.yml- Validate the syntax of the generated file:
circleci orb validate orb.ymlcircleci orb publish orb.yml tiendanube/eks@dev:firstAsk the Productivity-Engineer team to perform the official release using:
circleci orb publish promote tiendanube/eks@dev:first patch --token 'value from orbs-token context'Note: The version parameter can be one of:
patch- for bug fixes and minor changes (1.0.0 → 1.0.1)minor- for new features (1.0.0 → 1.1.0)major- for breaking changes (1.0.0 → 2.0.0)
You can check the published version here: https://app.circleci.com/settings/organization/github/TiendaNube/orbs
See the eks-orb in the registry for more the full details of jobs, commands, and executors available in this ORB. Or check via CircleCI CLI using:
circleci orb info tiendanube/[email protected]