Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
Push build information to Octopus Deploy octopusdeploy-push-build-information
Push build information to Octopus Deploy
arguments
push-build-information:
type: octopusdeploy-push-build-information
arguments:
OCTOPUS_API_KEY: '${{OCTOPUS_API_KEY}}'
OCTOPUS_URL: '${{OCTOPUS_URL}}'
OCTOPUS_SPACE: Spaces 1
PACKAGE_IDS:
- SomePackage
- SomeOtherPackage
FILE: SomeFile.json
VERSION: 1.0.0
OVERWRITE_MODE: fail
login:
type: octopusdeploy-login
arguments:
ID_TOKEN: '${{ID_TOKEN}}'
OCTOPUS_URL: '${{OCTOPUS_URL}}'
OCTOPUS_SERVICE_ACCOUNT_ID: '${{OCTOPUS_SERVICE_ACCOUNT_ID}}'
push-build-information:
type: octopusdeploy-push-build-information
arguments:
OCTOPUS_ACCESS_TOKEN: '${{OCTOPUS_ACCESS_TOKEN}}'
OCTOPUS_URL: '${{OCTOPUS_URL}}'
OCTOPUS_SPACE: Spaces 1
PACKAGE_IDS:
- SomePackage
- SomeOtherPackage
FILE: SomeFile.json
VERSION: 1.0.0
OVERWRITE_MODE: fail