Skip to content

Commit

Permalink
docs: Add CI/CD example for building Argo Workflows. Closes argoproj#…
Browse files Browse the repository at this point in the history
…8591

This commit introduces a detailed example for implementing CI/CD pipelines to build Argo Workflows using Argo Workflows:

- **CI**: Includes steps for initializing builds via webhook, building the CLI, using Buildkit for image builds, running tests, collecting coverage reports, deploying to a cluster, and executing basic E2E tests.
- **CD**: Covers tagging, updating manifests with kustomize, committing updates, and initiating an Argo CD sync.
- **Pipeline**: Integrates CI and CD jobs with an approval step.

Signed-off-by: Wesley Scholl <[email protected]>
Signed-off-by: Wesley Scholl <[email protected]>
  • Loading branch information
wesleyscholl committed Nov 7, 2024
1 parent b4b5b0d commit 4791ca2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/ci-cd-workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Argo Workflows - CI/CD Setup Guide
#
# Overview:
# To run this workflow end-to-end, configure the following components.
# To run this CI/CD workflow end-to-end, configure the following components:
#

# 1. WorkflowEventBinding
Expand All @@ -26,6 +26,10 @@
#
# - Auth Token: Required in the `Authorization` header to trigger WorkflowEventBinding. Follow these steps to create an access token: https://argo-workflows.readthedocs.io/en/latest/access-token/
#
# - The payload is based on a GitHub webhook event. For more information on the payload, see the GitHub webhook documentation: https://docs.github.com/en/developers/webhooks-and-events/webhook-events-and-payloads
#
# - This workflow focuses on the WorkflowEventBinding setup. To trigger using Argo Events, refer to the Argo Events documentation: https://argoproj.github.io/argo-events/
#

# 2. Docker Configuration
#
Expand Down

0 comments on commit 4791ca2

Please sign in to comment.