Skip to content

Argo Submit a workflow#1659

Merged
twerthi merged 1 commit intoOctopusDeploy:masterfrom
lrochette:master
Mar 13, 2026
Merged

Argo Submit a workflow#1659
twerthi merged 1 commit intoOctopusDeploy:masterfrom
lrochette:master

Conversation

@lrochette
Copy link
Contributor

Best practices not applied per say, as they are for Powershell or Python

Background

This is a new step template to submit an Argo Workflow

Results

Submit an Argo Workflow

Before

Nothing

After

Workflow Submit command: argo submit -n demo --from workflowtemplate/smoketests-od -p THRESHOLD=50 -p NB_TESTS=120 -p TEST_RATE=30 --loglevel info -o name 
smoketests-od-cblzh: time="2026-03-09T21:47:34.427Z" level=info msg="capturing logs" argo=true 
smoketests-od-cblzh: Running Smoking Tests 
smoketests-od-cblzh: Number of Tests: 120 
....
smoketests-od-cblzh: Test 119: PASSED (94) 
smoketests-od-cblzh: Test 120: FAILED (24) 
smoketests-od-cblzh:  
smoketests-od-cblzh: Success Rate: 72 
smoketests-od-cblzh: Test Suite: PASSED 
smoketests-od-cblzh: time="2026-03-09T21:47:35.428Z" level=info msg="sub-process exited" argo=true error="<nil>" 
Workflow Succeeded 

Pre-requisites

  • [ X] Id should be a GUID that is not 00000000-0000-0000-0000-000000000000
    • NOTE If you are modifying an existing step template, please make sure that you do not modify the Id property (updating the Id will break the Library sync functionality in Octopus).
  • [ X] Version should be incremented, otherwise the integration with Octopus won't update the step template correctly
  • [ X] Parameter names should not start with $
  • [ X] Step template parameter names (the ones declared in the JSON, not the script body) should be prefixed with a namespace so that they are less likely to clash with other user-defined variables in Octopus (see this issue). For example, use an abbreviated name of the step template or the category of the step template).
  • [X ] LastModifiedBy field must be present, and (optionally) updated with the correct author
  • The best practices documented here have been applied
  • If a new Category has been created:
    • An image with the name {categoryname}.png must be present under the step-templates/logos folder
    • The switch in the humanize function in gulpfile.babel.js must have a case statement corresponding to it

Fixes # . If there is an open issue that this PR fixes add it here, otherwise just remove this line

@github-actions
Copy link

Start Hyponome locally

docker pull ghcr.io/hnrkndrssn/hyponome:main
docker run --rm -p 8000:8080 -it ghcr.io/hnrkndrssn/hyponome:main

Review in Hyponome

@CLAassistant
Copy link

CLAassistant commented Mar 10, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@twerthi twerthi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@twerthi twerthi merged commit c5bb0ff into OctopusDeploy:master Mar 13, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants