Skip to content

About

Actions for Workload Orchestration

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Workload Orchestration Actions

With Workload Orchestration Actions, you can manage Workload Orchestration resources through GitHub Actions.

Actions

Deploy

Deploy a Solution Template to a Workload Orchestration Target. This action deploys a solution templates version on the specified target.

Input Description Required
solution-template-version-id Full Azure resource ID of the Solution Template Version Yes
target-id Full Azure resource ID of the Target Yes

Prerequisites

  • The runner must be authenticated with Azure CLI (azure/login).
  • jq must be available on the runner.

Usage

Deploy a Solution Template

name: Deploy Solution Template

on:
  workflow_dispatch:

permissions:
  id-token: write
  contents: read

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Azure Login
        uses: azure/login@v2
        with:
          client-id: ${{ secrets.AZURE_CLIENT_ID }}
          tenant-id: ${{ secrets.AZURE_TENANT_ID }}
          subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

      - name: Deploy to Target
        uses: Azure/workload-orchestration-actions/deploy@v1
        with:
          solution-template-version-id: ${{ vars.SOLUTION_TEMPLATE_VERSION_ID }}
          target-id: ${{ vars.TARGET_ID }}

Reference

Input Formats

Input Format Example
solution-template-version-id /subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Edge/solutionTemplates/{name}/versions/{version} /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRg/providers/Microsoft.Edge/solutionTemplates/mySolution/versions/1.0.0
target-id /subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Edge/targets/{target} /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRg/providers/Microsoft.Edge/targets/myTarget

About

Actions for Workload Orchestration

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors