Skip to content

TiendaNube/eks-orb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EKS Orb

Orb for installing the tools to interact with Amazon Elastic Container Service for Kubernetes (EKS) from within a CircleCI build job.

Usage

Setup required to use this orb

The following required dependencies must be configured in CircleCI in order to use this orb:

Include ORBs

orbs:
  aws-ecr: circleci/[email protected]
  eks: tiendanube/[email protected]

Add jobs execution

        - 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}
          ...

Useful commands to work with ORB code

Validate ORB

  • 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.yml

Publish a development version/release candidate of the ORB

circleci orb publish orb.yml tiendanube/eks@dev:first

Release an official productive version

Ask 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

View in the orb registry

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]

Packages

No packages published

Contributors 9

Languages