Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions __tests__/unit/input-parsing.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ test('get input parameters', () => {
expect(inputParameters.packages).toHaveLength(2)
expect(inputParameters.packages).toContain('foo:1.2.3-quux')
expect(inputParameters.packages).toContain('bar:4.5.6-xyzzy')
expect(inputParameters.gitResources).toBeDefined()
expect(inputParameters.gitResources).toHaveLength(2)
expect(inputParameters.gitResources).toContain('Update Argo Manifests:refs/heads/main')
expect(inputParameters.gitResources).toContain('Run a Script:my-resource:refs/heads/dev')
expect(inputParameters.customFields).toEqual({
key1: 'value',
key2: 'value:with:colons'
Expand Down
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ inputs:
description: 'The default version number of all packages to use for this release.'
packages:
description: 'A multi-line list of version numbers to use for a package in the release. Format: StepName:Version or PackageID:Version or StepName:PackageName:Version. StepName, PackageID, and PackageName can be replaced with an asterisk ("*"). An asterisk will be assumed for StepName, PackageID, or PackageName if they are omitted.'
git_resources:
description: 'A multi-line list of Git references to use for Git resources on specific steps (e.g. the source repository of an "Update Argo CD Application Manifests" step). Format: StepName:GitRef or StepName:GitResourceName:GitRef (for example "Update Argo CD Application Manifests:refs/heads/my-feature"). Resolved at release-creation time.'
git_ref:
description: 'Git branch reference to the specific resources of a version controlled Octopus Project. This is required for version controlled projects.'
git_commit:
Expand Down
Loading
Loading