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 a package in Octopus Deploy octopusdeploy-push-package
Push a package in Octopus Deploy
arguments
push-package:
type: octopusdeploy-push-package
arguments:
OCTOPUS_API_KEY: '${{OCTOPUS_API_KEY}}'
OCTOPUS_URL: '${{OCTOPUS_URL}}'
OCTOPUS_SPACE: Spaces 1
PACKAGES:
- SomePackage.1.0.0.zip
- SomeOtherPackage.1.0.0.zip
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-package:
type: octopusdeploy-push-package
arguments:
OCTOPUS_ACCESS_TOKEN: '${{OCTOPUS_ACCESS_TOKEN}}'
OCTOPUS_URL: '${{OCTOPUS_URL}}'
OCTOPUS_SPACE: Spaces 1
PACKAGES:
- SomePackage.1.0.0.zip
- SomeOtherPackage.1.0.0.zip
OVERWRITE_MODE: fail