Skip to content

adobe/aio-cloudmanager-create-execution-action

Build Status License Codecov Coverage

aio-cloudmanager-create-execution-action

GitHub action that starts a Cloud Manager pipeline execution

Authentication

To use this action, you must create aan integration must be created in the Adobe I/O Developer Console which has the Cloud Manager service. See the Cloud Manager API Documentation for more information.

Configuration

This action can be configured two different ways -- either in combination with aio-apps-action or standalone. The former would be appropriate if your workflow involved other Adobe I/O integrations since the same access token could be used for multiple actions.

Standalone usage

  • CLIENTID - Client ID for the project in the I/O Developer Console
  • CLIENTSECRET - Client Secret for the project in the I/O Developer Console
  • TECHNICALACCOUNTID - Technical Account Email for the project in the I/O Developer Console
  • IMSORGID - IMS Organization ID for the project in the I/O Developer Console
  • KEY - Private key for the project in the I/O Developer Console
  • PROGRAMID - Cloud Manager Program ID
  • PIPELINEID - Cloud Manager Pipeline ID
- name: Create Execution
  uses: adobe/aio-cloudmanager-create-execution-action@v1.0.5
  with:
    CLIENTID: ${{ secrets.CM_CLIENT_ID }}
    CLIENTSECRET: ${{ secrets.CM_CLIENT_SECRET }}
    TECHNICALACCOUNTID: ${{ secrets.CM_TA_EMAIL }}
    IMSORGID: ${{ secrets.CM_ORG_ID }}
    KEY: ${{ secrets.CM_PRIVATE_KEY }}
    PIPELINEID: ${{ secrets.CM_PIPELINE_ID }}
    PROGRAMID: ${{ secrets.CM_PROGRAM_ID }}

Usage with aio-apps-action

  1. Add a step which uses adobe/aio-apps-action providing these required inputs:
  • command - set to auth
  • CLIENTID - Client ID for the project in the I/O Developer Console
  • CLIENTSECRET - Client Secret for the project in the I/O Developer Console
  • TECHNICALACCOUNTID - Technical Account Email for the project in the I/O Developer Console
  • IMSORGID - IMS Organization ID for the project in the I/O Developer Console
  • SCOPES - set to ent_cloudmgr_sdk at minimum
  • KEY - Private key for the project in the I/O Developer Console

For example:

- name: Auth
  uses: adobe/aio-apps-action@2.0.1
  with:
    command: auth
    CLIENTID: ${{ secrets.CM_CLIENT_ID }}
    CLIENTSECRET: ${{ secrets.CM_CLIENT_SECRET }}
    TECHNICALACCOUNTID: ${{ secrets.CM_TA_EMAIL }}
    IMSORGID: ${{ secrets.CM_ORG_ID }}
    SCOPES: 'ent_cloudmgr_sdk'
    KEY: ${{ secrets.CM_PRIVATE_KEY }}
  1. Add a step which uses this action providing these required inputs:
  • PROGRAMID - Cloud Manager Program ID
  • PIPELINEID - Cloud Manager Pipeline ID
  • IMSORGID - IMS Organization ID for the project in the I/O Developer Console

For example:

- name: Create Execution
  uses: adobe/aio-cloudmanager-create-execution-action@v1.0.5
  with:
    PIPELINEID: ${{ secrets.CM_PIPELINE_ID }}
    PROGRAMID: ${{ secrets.CM_PROGRAM_ID }}
    IMSORGID: ${{ secrets.CM_ORG_ID }}

Output

This action creates two outputs which can be referenced in later steps:

  • executionId - the ID of the created execution
  • executionHref - the URL of the created execution

Contributing

Contributions are welcome! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

About

GitHub Action to create an Adobe Cloud Manager pipeline execution

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •