Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
0

Log into Octopus Deploy octopusdeploy-login

Log into Octopus Deploy

arguments

  • ID_TOKEN - The Codefresh OIDC token (required)
  • OCTOPUS_SERVICE_ACCOUNT_ID - The ID (audience) of the Octopus Service Account to log into (required)
  • OCTOPUS_URL - URL of the octopus deploy server (required)

returns

  • OCTOPUS_ACCESS_TOKEN - Access token for octopus deploy (required)
    login:
  type: octopusdeploy-login
  arguments:
    ID_TOKEN: '${{ID_TOKEN}}'
    OCTOPUS_URL: '${{OCTOPUS_URL}}'
    OCTOPUS_SERVICE_ACCOUNT_ID: '${{OCTOPUS_SERVICE_ACCOUNT_ID}}'

  
github.com
OctopusDeploy
Nov 4, 2024