-
Notifications
You must be signed in to change notification settings - Fork 507
Add ArgoCD cli step templates #1534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| { | ||
| "Id": "f67404e4-3394-4f8d-9739-74a04c99a6f1", | ||
| "Name": "Argo - argocd app get", | ||
| "Description": "Get an Argo Application details using the [argocd app get](https://argo-cd.readthedocs.io/en/stable/user-guide/commands/argocd_app_get/) CLI command\n\n_Note:_ This step will only run against an Octopus [kubernetes](https://octopus.com/docs/infrastructure/deployment-targets/kubernetes) deployment target.\n\n**Pre-requisites:**\n- Access to the `argocd` CLI on the target or worker.", | ||
| "ActionType": "Octopus.KubernetesRunScript", | ||
| "Version": 1, | ||
| "CommunityActionTemplateId": null, | ||
| "Packages": [], | ||
| "GitDependencies": [], | ||
| "Properties": { | ||
| "Octopus.Action.Script.ScriptSource": "Inline", | ||
| "Octopus.Action.Script.Syntax": "Bash", | ||
| "Octopus.Action.Script.ScriptBody": "# argocd is required\nif ! [ -x \"$(command -v argocd)\" ]; then\n\tfail_step 'argocd command not found'\nfi\n\n# Helper functions\nisSet() { [ ! -z \"${1}\" ]; }\nisNotSet() { [ -z \"${1}\" ]; }\n\n# Get variables\nargocd_server=$(get_octopusvariable \"ArgoCD.AppGet.ArgoCD_Server\")\nargocd_authToken=$(get_octopusvariable \"ArgoCD.AppGet.ArgoCD_Auth_Token\")\napplicationName=$(get_octopusvariable \"ArgoCD.AppGet.ApplicationName\")\nadditionalParameters=$(get_octopusvariable \"ArgoCD.AppGet.AdditionalParameters\")\n\n# Check required variables\nif isNotSet \"${argocd_server}\"; then\n fail_step \"argocd_server is not set\"\nfi\n\nif isNotSet \"${argocd_authToken}\"; then\n fail_step \"argocd_authToken is not set\"\nfi\n\nif isNotSet \"${applicationName}\"; then\n fail_step \"applicationName is not set\"\nfi\n\nif isSet \"${additionalParameters}\"; then\n IFS=$'\\n' read -rd '' -a additionalArgs <<< \"$additionalParameters\"\nelse\n additionalArgs=()\nfi\n\nflattenedArgs=\"${additionalArgs[@]}\"\n\nwrite_verbose \"ARGOCD_SERVER: '${argocd_server}'\"\nwrite_verbose \"ARGOCD_AUTH_TOKEN: '********'\"\n\nauthArgs=\"--server ${argocd_server} --auth-token ${argocd_authToken}\"\nmaskedAuthArgs=\"--server ${argocd_server} --auth-token '********'\"\n\necho \"Executing: argocd app get ${applicationName} ${maskedAuthArgs} ${flattenedArgs}\"\nargocd app get ${applicationName} ${authArgs} ${flattenedArgs}" | ||
| }, | ||
| "Parameters": [ | ||
| { | ||
| "Id": "0a5f6eea-c876-4db2-a4ab-ea5b5d35fddb", | ||
| "Name": "ArgoCD.AppGet.ArgoCD_Server", | ||
| "Label": "ArgoCD Server", | ||
| "HelpText": "Enter the name of the ArgoCD Server to connect to. This sets the `--server` parameter used with the CLI.", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "SingleLineText" | ||
| } | ||
| }, | ||
| { | ||
| "Id": "4c034426-cf1d-4e9a-a69c-4de4aa6cde31", | ||
| "Name": "ArgoCD.AppGet.ArgoCD_Auth_Token", | ||
| "Label": "ArgoCD Auth Token", | ||
| "HelpText": "Enter the name of the ArgoCD Auth Token used to authenticate with. This sets the `--auth-token` parameter used with the CLI.", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "Sensitive" | ||
| } | ||
| }, | ||
| { | ||
| "Id": "e738d659-aca8-4fc4-a021-36d57ec71325", | ||
| "Name": "ArgoCD.AppGet.ApplicationName", | ||
| "Label": "ArgoCD Application Name", | ||
| "HelpText": "Enter the name of the application you want to retrieve details for.", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "SingleLineText" | ||
| } | ||
| }, | ||
| { | ||
| "Id": "566e77a0-fb80-4c3f-b2ef-cffaa2a2d797", | ||
| "Name": "ArgoCD.AppGet.AdditionalParameters", | ||
| "Label": "Additional Parameters (optional)", | ||
| "HelpText": "Enter additional parameter values(s) to be used when calling the `argocd` CLI. \n\n**Note:** Multiple parameters can be supplied by entering each one on a new line.", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "MultiLineText" | ||
| } | ||
| } | ||
| ], | ||
| "StepPackageId": "Octopus.KubernetesRunScript", | ||
| "$Meta": { | ||
| "ExportedAt": "2024-07-22T09:53:25.057Z", | ||
| "OctopusVersion": "2024.3.7046", | ||
| "Type": "ActionTemplate" | ||
| }, | ||
| "LastModifiedBy": "harrisonmeister", | ||
| "Category": "argo" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,99 @@ | ||
| { | ||
| "Id": "8bcfe67d-cade-4fe3-a792-ce799dfb9ec1", | ||
| "Name": "Argo - argocd app set (with package)", | ||
| "Description": "Set application parameters using the [argocd app set](https://argo-cd.readthedocs.io/en/stable/user-guide/commands/argocd_app_set/) CLI command.\n\n_Note:_ This step will only run against an Octopus [kubernetes](https://octopus.com/docs/infrastructure/deployment-targets/kubernetes) deployment target.\n\n**Pre-requisites:**\n- Access to the `argocd` CLI on the target or worker.\n- Selection of a package (for use with setting image parameters)", | ||
| "ActionType": "Octopus.KubernetesRunScript", | ||
| "Version": 1, | ||
| "CommunityActionTemplateId": null, | ||
| "Packages": [ | ||
| { | ||
| "Id": "9f2ad876-ad42-428d-bda9-676c6aaa0b60", | ||
| "Name": "ArgoCD.AppSet.ContainerImage", | ||
| "PackageId": null, | ||
| "FeedId": null, | ||
| "AcquisitionLocation": "NotAcquired", | ||
| "Properties": { | ||
| "Extract": "True", | ||
| "SelectionMode": "deferred", | ||
| "PackageParameterName": "ArgoCD.AppSet.ContainerImage", | ||
| "Purpose": "" | ||
| } | ||
| } | ||
| ], | ||
| "GitDependencies": [], | ||
| "Properties": { | ||
| "Octopus.Action.Script.ScriptSource": "Inline", | ||
| "Octopus.Action.Script.Syntax": "Bash", | ||
| "Octopus.Action.Script.ScriptBody": "# argocd is required\nif ! [ -x \"$(command -v argocd)\" ]; then\n\tfail_step 'argocd command not found'\nfi\n\n# Helper functions\nisSet() { [ ! -z \"${1}\" ]; }\nisNotSet() { [ -z \"${1}\" ]; }\n\n# Get variables\nargocd_server=$(get_octopusvariable \"ArgoCD.AppSet.ArgoCD_Server\")\nargocd_authToken=$(get_octopusvariable \"ArgoCD.AppSet.ArgoCD_Auth_Token\")\napplicationName=$(get_octopusvariable \"ArgoCD.AppSet.ApplicationName\")\napplicationParameters=$(get_octopusvariable \"ArgoCD.AppSet.AppParameters\")\nadditionalParameters=$(get_octopusvariable \"ArgoCD.AppSet.AdditionalParameters\")\n\n# Check required variables\nif isNotSet \"${argocd_server}\"; then\n fail_step \"argocd_server is not set\"\nfi\n\nif isNotSet \"${argocd_authToken}\"; then\n fail_step \"argocd_authToken is not set\"\nfi\n\nif isNotSet \"${applicationName}\"; then\n fail_step \"applicationName is not set\"\nfi\n\nif isSet \"${applicationParameters}\"; then\n parameters=\"${applicationParameters//$'\\n'/ \\\\$'\\n'}\"\n flattenedParams=\"${applicationParameters//$'\\n'/ }\"\n IFS=$'\\n' read -rd '' -a appParameters <<< \"$applicationParameters\"\nelse\n appParameters=()\nfi\nflattenedParams=\"${appParameters[@]}\"\n\n\nif isSet \"${additionalParameters}\"; then\n IFS=$'\\n' read -rd '' -a additionalArgs <<< \"$additionalParameters\"\nelse\n additionalArgs=()\nfi\n\nflattenedArgs=\"${additionalArgs[@]}\"\n\nwrite_verbose \"ARGOCD_SERVER: '${argocd_server}'\"\nwrite_verbose \"ARGOCD_AUTH_TOKEN: '********'\"\n\nauthArgs=\"--server ${argocd_server} --auth-token ${argocd_authToken}\"\nmaskedAuthArgs=\"--server ${argocd_server} --auth-token '********'\"\n\necho \"Executing: argocd app set ${applicationName} ${maskedAuthArgs} ${flattenedArgs} \\\\ \n${parameters}\"\nargocd app set ${applicationName} ${authArgs} ${flattenedArgs} ${flattenedParams}" | ||
| }, | ||
| "Parameters": [ | ||
| { | ||
| "Id": "0a5f6eea-c876-4db2-a4ab-ea5b5d35fddb", | ||
| "Name": "ArgoCD.AppSet.ArgoCD_Server", | ||
| "Label": "ArgoCD Server", | ||
| "HelpText": "Enter the name of the ArgoCD Server to connect to. This sets the `--server` parameter used with the CLI.", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "SingleLineText" | ||
| } | ||
| }, | ||
| { | ||
| "Id": "4c034426-cf1d-4e9a-a69c-4de4aa6cde31", | ||
| "Name": "ArgoCD.AppSet.ArgoCD_Auth_Token", | ||
| "Label": "ArgoCD Auth Token", | ||
| "HelpText": "Enter the name of the ArgoCD Auth Token used to authenticate with. This sets the `--auth-token` parameter used with the CLI.", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "Sensitive" | ||
| } | ||
| }, | ||
| { | ||
| "Id": "e738d659-aca8-4fc4-a021-36d57ec71325", | ||
| "Name": "ArgoCD.AppSet.ApplicationName", | ||
| "Label": "ArgoCD Application Name", | ||
| "HelpText": "Enter the ArgoCD application name", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "SingleLineText" | ||
| } | ||
| }, | ||
| { | ||
| "Id": "b2054ad2-3c41-47bb-ac96-d5d8a6564ea6", | ||
| "Name": "ArgoCD.AppSet.ContainerImage", | ||
| "Label": "Container image", | ||
| "HelpText": "Provide the container image details", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "Package" | ||
| } | ||
| }, | ||
| { | ||
| "Id": "2adb0917-6b2d-4528-90a4-beff6a01109d", | ||
| "Name": "ArgoCD.AppSet.AppParameters", | ||
| "Label": "Application Parameters", | ||
| "HelpText": "Enter the parameters to set for the application, including the `--parameter` or `-p`. e.g.:\n- `-p key1=value1`\n- `--parameter key2=value2`\n\n**Note:** Multiple parameters can be supplied by entering each one on a new line.", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "MultiLineText" | ||
| } | ||
| }, | ||
| { | ||
| "Id": "b13a3a5e-ac79-477d-bd51-cf6efd009bd4", | ||
| "Name": "ArgoCD.AppSet.AdditionalParameters", | ||
| "Label": "Additional Parameters (optional)", | ||
| "HelpText": "Enter additional parameter values(s) to be used when calling the `argocd` CLI.\n\n**Note:** Multiple parameters can be supplied by entering each one on a new line.", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "MultiLineText" | ||
| } | ||
| } | ||
| ], | ||
| "StepPackageId": "Octopus.KubernetesRunScript", | ||
| "$Meta": { | ||
| "ExportedAt": "2024-07-22T09:55:12.863Z", | ||
| "OctopusVersion": "2024.3.7046", | ||
| "Type": "ActionTemplate" | ||
| }, | ||
| "LastModifiedBy": "harrisonmeister", | ||
| "Category": "argo" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,75 @@ | ||
| { | ||
| "Id": "e27c8535-9375-4cd2-97e7-ac73a43e9ef1", | ||
| "Name": "Argo - argocd app set", | ||
| "Description": "Set application parameters using the [argocd app set](https://argo-cd.readthedocs.io/en/stable/user-guide/commands/argocd_app_set/) CLI command. \n\n_Note:_ This step will only run against an Octopus [kubernetes](https://octopus.com/docs/infrastructure/deployment-targets/kubernetes) deployment target.\n\n**Pre-requisites:**\n- Access to the `argocd` CLI on the target or worker.", | ||
| "ActionType": "Octopus.KubernetesRunScript", | ||
| "Version": 1, | ||
| "CommunityActionTemplateId": null, | ||
| "Packages": [], | ||
| "GitDependencies": [], | ||
| "Properties": { | ||
| "Octopus.Action.Script.ScriptSource": "Inline", | ||
| "Octopus.Action.Script.Syntax": "Bash", | ||
| "Octopus.Action.Script.ScriptBody": "# argocd is required\nif ! [ -x \"$(command -v argocd)\" ]; then\n\tfail_step 'argocd command not found'\nfi\n\n# Helper functions\nisSet() { [ ! -z \"${1}\" ]; }\nisNotSet() { [ -z \"${1}\" ]; }\n\n# Get variables\nargocd_server=$(get_octopusvariable \"ArgoCD.AppSet.ArgoCD_Server\")\nargocd_authToken=$(get_octopusvariable \"ArgoCD.AppSet.ArgoCD_Auth_Token\")\napplicationName=$(get_octopusvariable \"ArgoCD.AppSet.ApplicationName\")\napplicationParameters=$(get_octopusvariable \"ArgoCD.AppSet.AppParameters\")\nadditionalParameters=$(get_octopusvariable \"ArgoCD.AppSet.AdditionalParameters\")\n\n# Check required variables\nif isNotSet \"${argocd_server}\"; then\n fail_step \"argocd_server is not set\"\nfi\n\nif isNotSet \"${argocd_authToken}\"; then\n fail_step \"argocd_authToken is not set\"\nfi\n\nif isNotSet \"${applicationName}\"; then\n fail_step \"applicationName is not set\"\nfi\n\nif isSet \"${applicationParameters}\"; then\n parameters=\"${applicationParameters//$'\\n'/ \\\\$'\\n'}\"\n flattenedParams=\"${applicationParameters//$'\\n'/ }\"\n IFS=$'\\n' read -rd '' -a appParameters <<< \"$applicationParameters\"\nelse\n appParameters=()\nfi\nflattenedParams=\"${appParameters[@]}\"\n\n\nif isSet \"${additionalParameters}\"; then\n IFS=$'\\n' read -rd '' -a additionalArgs <<< \"$additionalParameters\"\nelse\n additionalArgs=()\nfi\n\nflattenedArgs=\"${additionalArgs[@]}\"\n\nwrite_verbose \"ARGOCD_SERVER: '${argocd_server}'\"\nwrite_verbose \"ARGOCD_AUTH_TOKEN: '********'\"\n\nauthArgs=\"--server ${argocd_server} --auth-token ${argocd_authToken}\"\nmaskedAuthArgs=\"--server ${argocd_server} --auth-token '********'\"\n\necho \"Executing: argocd app set ${applicationName} ${maskedAuthArgs} ${flattenedArgs} \\\\ \n${parameters}\"\nargocd app set ${applicationName} ${authArgs} ${flattenedArgs} ${flattenedParams}" | ||
| }, | ||
| "Parameters": [ | ||
| { | ||
| "Id": "0a5f6eea-c876-4db2-a4ab-ea5b5d35fddb", | ||
| "Name": "ArgoCD.AppSet.ArgoCD_Server", | ||
| "Label": "ArgoCD Server", | ||
| "HelpText": "Enter the name of the ArgoCD Server to connect to. This sets the `--server` parameter used with the CLI.", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "SingleLineText" | ||
| } | ||
| }, | ||
| { | ||
| "Id": "4c034426-cf1d-4e9a-a69c-4de4aa6cde31", | ||
| "Name": "ArgoCD.AppSet.ArgoCD_Auth_Token", | ||
| "Label": "ArgoCD Auth Token", | ||
| "HelpText": "Enter the name of the ArgoCD Auth Token used to authenticate with. This sets the `--auth-token` parameter used with the CLI.", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "Sensitive" | ||
| } | ||
| }, | ||
| { | ||
| "Id": "e738d659-aca8-4fc4-a021-36d57ec71325", | ||
| "Name": "ArgoCD.AppSet.ApplicationName", | ||
| "Label": "ArgoCD Application Name", | ||
| "HelpText": "Enter the ArgoCD application name", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "SingleLineText" | ||
| } | ||
| }, | ||
| { | ||
| "Id": "2adb0917-6b2d-4528-90a4-beff6a01109d", | ||
| "Name": "ArgoCD.AppSet.AppParameters", | ||
| "Label": "Application Parameters", | ||
| "HelpText": "Enter the parameters to set for the application, including the `--parameter` or `-p`. e.g.:\n- `-p key1=value1`\n- `--parameter key2=value2`\n\n**Note:** Multiple parameters can be supplied by entering each one on a new line.", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "MultiLineText" | ||
| } | ||
| }, | ||
| { | ||
| "Id": "b13a3a5e-ac79-477d-bd51-cf6efd009bd4", | ||
| "Name": "ArgoCD.AppSet.AdditionalParameters", | ||
| "Label": "Additional Parameters (optional)", | ||
| "HelpText": "Enter additional parameter values(s) to be used when calling the `argocd` CLI.\n\n**Note:** Multiple parameters can be supplied by entering each one on a new line.", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "MultiLineText" | ||
| } | ||
| } | ||
| ], | ||
| "StepPackageId": "Octopus.KubernetesRunScript", | ||
| "$Meta": { | ||
| "ExportedAt": "2024-07-22T09:57:16.491Z", | ||
| "OctopusVersion": "2024.3.7046", | ||
| "Type": "ActionTemplate" | ||
| }, | ||
| "LastModifiedBy": "harrisonmeister", | ||
| "Category": "argo" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| { | ||
| "Id": "655058aa-2e76-4aac-a8eb-728337b5c664", | ||
| "Name": "Argo - argocd app sync", | ||
| "Description": "Sync an application to its target state using the [argocd app sync](https://argo-cd.readthedocs.io/en/stable/user-guide/commands/argocd_app_sync/) CLI command\n\n_Note:_ This step will only run against an Octopus [kubernetes](https://octopus.com/docs/infrastructure/deployment-targets/kubernetes) deployment target.\n\n**Pre-requisites:**\n- Access to the `argocd` CLI on the target or worker.", | ||
| "ActionType": "Octopus.KubernetesRunScript", | ||
| "Version": 1, | ||
| "CommunityActionTemplateId": null, | ||
| "Packages": [], | ||
| "GitDependencies": [], | ||
| "Properties": { | ||
| "Octopus.Action.Script.ScriptSource": "Inline", | ||
| "Octopus.Action.Script.Syntax": "Bash", | ||
| "Octopus.Action.Script.ScriptBody": "# argocd is required\nif ! [ -x \"$(command -v argocd)\" ]; then\n\tfail_step 'argocd command not found'\nfi\n\n# Helper functions\nisSet() { [ ! -z \"${1}\" ]; }\nisNotSet() { [ -z \"${1}\" ]; }\n\n# Get variables\nargocd_server=$(get_octopusvariable \"ArgoCD.AppSync.ArgoCD_Server\")\nargocd_authToken=$(get_octopusvariable \"ArgoCD.AppSync.ArgoCD_Auth_Token\")\napplicationSelector=$(get_octopusvariable \"ArgoCD.AppSync.ApplicationSelector\")\nadditionalParameters=$(get_octopusvariable \"ArgoCD.AppSync.AdditionalParameters\")\n\n# Check required variables\nif isNotSet \"${argocd_server}\"; then\n fail_step \"argocd_server is not set\"\nfi\n\nif isNotSet \"${argocd_authToken}\"; then\n fail_step \"argocd_authToken is not set\"\nfi\n\nif isNotSet \"${applicationSelector}\"; then\n fail_step \"applicationSelector is not set\"\nfi\n\nif isSet \"${additionalParameters}\"; then\n IFS=$'\\n' read -rd '' -a additionalArgs <<< \"$additionalParameters\"\nelse\n additionalArgs=()\nfi\n\nflattenedArgs=\"${additionalArgs[@]}\"\n\nwrite_verbose \"ARGOCD_SERVER: '${argocd_server}'\"\nwrite_verbose \"ARGOCD_AUTH_TOKEN: '********'\"\n\nauthArgs=\"--server ${argocd_server} --auth-token ${argocd_authToken}\"\nmaskedAuthArgs=\"--server ${argocd_server} --auth-token '********'\"\n\necho \"Executing: argocd app sync ${applicationSelector} ${maskedAuthArgs} ${flattenedArgs}\"\nargocd app sync ${applicationSelector} ${authArgs} ${flattenedArgs}" | ||
| }, | ||
| "Parameters": [ | ||
| { | ||
| "Id": "0a5f6eea-c876-4db2-a4ab-ea5b5d35fddb", | ||
| "Name": "ArgoCD.AppSync.ArgoCD_Server", | ||
| "Label": "ArgoCD Server", | ||
| "HelpText": "Enter the name of the ArgoCD Server to connect to. This sets the `--server` parameter used with the CLI.", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "SingleLineText" | ||
| } | ||
| }, | ||
| { | ||
| "Id": "4c034426-cf1d-4e9a-a69c-4de4aa6cde31", | ||
| "Name": "ArgoCD.AppSync.ArgoCD_Auth_Token", | ||
| "Label": "ArgoCD Auth Token", | ||
| "HelpText": "Enter the name of the ArgoCD Auth Token used to authenticate with. This sets the `--auth-token` parameter used with the CLI.", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "Sensitive" | ||
| } | ||
| }, | ||
| { | ||
| "Id": "e738d659-aca8-4fc4-a021-36d57ec71325", | ||
| "Name": "ArgoCD.AppSync.ApplicationSelector", | ||
| "Label": "ArgoCD Application Selector", | ||
| "HelpText": "Enter the ArgoCD application details you want to sync. Valid examples are:\n- Application Name(s) e.g.`appname`\n- Labels e.g. `-l app.kubernetes.io/instance=my-app`\n- Specific resource e.g. `--resource :Service:my-service`", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "SingleLineText" | ||
| } | ||
| }, | ||
| { | ||
| "Id": "566e77a0-fb80-4c3f-b2ef-cffaa2a2d797", | ||
| "Name": "ArgoCD.AppSync.AdditionalParameters", | ||
| "Label": "Additional Parameters (optional)", | ||
| "HelpText": "Enter additional parameter values(s) to be used when calling the `argocd` CLI. e.g.:\n- `--revisions 0.0.1` \n- `--source-positions 1`\n\n**Note:** Multiple parameters can be supplied by entering each one on a new line.", | ||
| "DefaultValue": "", | ||
| "DisplaySettings": { | ||
| "Octopus.ControlType": "MultiLineText" | ||
| } | ||
| } | ||
| ], | ||
| "StepPackageId": "Octopus.KubernetesRunScript", | ||
| "$Meta": { | ||
| "ExportedAt": "2024-07-22T09:54:04.913Z", | ||
| "OctopusVersion": "2024.3.7046", | ||
| "Type": "ActionTemplate" | ||
| }, | ||
| "LastModifiedBy": "harrisonmeister", | ||
| "Category": "argo" | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.