Skip to content

Software

A CI/CD and GitOps path production can live with

One template, no long-lived keys, production promoted on purpose.

Deploys are a script on a laptop, or a CI job holding an IAM user key. Two people know the production steps.

Anonymised pattern of work by AlgoRythm Technologies. Not a named client, and not a measured result. The same shape is also on the portfolio page.

Situation

The team wants GitHub Actions and Argo CD, and they want every service on them in the same sprint. The current key is in a Jenkins credential store, and possibly in a note as well. There is no separation between “the tests passed” and “this is now in production”.

How we approach it

  1. 01 Write one pipeline, not one per service

    A pull request runs tests. Main builds an image and pushes it to one registry. Production is a separate promotion: a git change to the production path, or an environment that has to be approved. The second service should look like a copy. If it does not, the template is not finished.

  2. 02 Assume a role. Then delete the key

    GitHub Actions reaches AWS with OIDC, scoped to the repository and the branch or environment that may deploy. After CloudTrail shows the role in use and the old key idle, the key is deactivated and the IAM user goes. That includes the copy in the old CI system.

  3. 03 Let git describe the cluster

    Argo CD follows a path per environment. Production does not auto-sync from the same commit that just went green on main unless that was an explicit decision. Secrets stay in Secrets Manager or SSM and are projected in. They are not in the repo.

  4. 04 Start with one service

    The first service is where the role, the registry, the cluster access, and the secret path get invented. Doing that forty times at once invents forty slightly different paths.

What the work usually covers

  • A single pipeline template for build and for production promotion
  • OIDC roles in place of long-lived CI keys
  • Argo CD, or the deploy mechanism you already operate, with a path per environment
  • Secrets outside git, and one service live on the new path before the rest move

Typical stack

  • GitHub Actions
  • OIDC
  • IAM roles
  • Amazon ECR
  • Amazon EKS or ECS
  • Argo CD
  • Helm or Kustomize
  • Secrets Manager or SSM
  • Terraform

Typical outcome

  • A deploy path a new engineer can read, with production separated from “the tests passed”.
  • No long-lived AWS keys in the CI system.
  • The first service takes the longest. The next ones should be a copy. We do not treat a count of pipelines as a result.

Typical outcome is the range we plan for on work of this shape. It is not a measured result from a named client.

Related services

Talk through a situation like this

Email admin@algorythmtechnologies.com or use the contact page. A paragraph on what you have today is enough to start.