argo

package module
v3.5.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

README

Guide to publish custom versions from Argo Workflows

This guide will help you to publish a custom version of Argo Workflows with optimal dependencies. This guide will cater specific to the devtron-labs project use case.

Prerequisites

Steps

  • Clone the Argo Workflows repository
git clone https://github.com/devtron-labs/argo-workflows.git
cd argo-workflows
  • Add remote to the official Argo Workflows repository
git remote add upstream https://github.com/argoproj/argo-workflows.git
git remote update
  • Export the version of Argo Workflows you want to publish
export Tag=v3.5.10
export TagHash=$(git ls-remote upstream $Tag | cut -f1)
  • Validate the version and commit hash
echo $Tag
echo $TagHash
  • Create a new branch for the custom version
git checkout -b release-$Tag $TagHash
  • Get the prerequisites for the custom version from main branch and commit them
git checkout main ./go.mod ./go.sum ./Makefile ./.gitignore ./.gitattributes ./README.md
git commit -am "initial commit"
  • Setup commit changes for the custom version by make command
make tag=$Tag
  • Commit and push the changes to the custom version branch
git commit -am "release: $Tag"
git push --set-upstream origin release-$Tag
  • Finally, create a git tag for the custom version
make git-tagging
  • Now, create a new release in the GitHub repository with the selected version tag

  • All set! You have successfully published a custom version of Argo Workflows

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion() wfv1.Version

GetVersion returns the version information

func ImageTag

func ImageTag() string

ImageTag return the image tag. GetVersion().Version adulterates the version making it useless as the image tag.

Types

This section is empty.

Directories

Path Synopsis
pkg
apis/workflow/v1alpha1
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/workflow/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
util
env
workflow

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL