Skip to content

Commit

Permalink
Merge pull request #2 from microsoft/km/add_action
Browse files Browse the repository at this point in the history
Adding workflow to platform-deployment
  • Loading branch information
KevinDMack authored Jun 24, 2024
2 parents 814b68c + 6a89589 commit 0e9d691
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 1 deletion.
48 changes: 48 additions & 0 deletions .github/workflows/platform-deployment-build-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: platform-deployment-build

on:
workflow_dispatch:
push:
branches:
- main

jobs:
build-platform-deployment-amd64:
permissions:
contents: read
packages: write

uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/service-build.yml@main
with:
APP_PROJECT: ./src/platform-deployment.csproj
NUGET_PROJECT: ./src_pluginBase/pluginBase.csproj
OUTPUT_DIR: /var/spacedev/tmp/platform-deployment
NUGET_STAGING_DIRECTORY: /var/spacedev/nuget/deployment
NUGET_FILE_PREFIX: Microsoft.Azure.SpaceSDK.PlatformServices.Deployment.Plugins
ANNOTATION: azure-orbital-space-sdk-platform-deployment.yaml
WORKFLOW_AGENT: ubuntu-latest
ARCHITECTURE: amd64
secrets:
GIT_HUB_USER_NAME: ${{ secrets.GIT_HUB_USER_NAME }}
GIT_HUB_USER_TOKEN: ${{ secrets.GIT_HUB_USER_TOKEN }}
SETUP_REPO_URL: ${{ secrets.SETUP_REPO_URL }}

build-platform-deployment-arm64:
permissions:
contents: read
packages: write

uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/service-build.yml@main
with:
APP_PROJECT: ./src/platform-deployment.csproj
NUGET_PROJECT: ./src_pluginBase/pluginBase.csproj
OUTPUT_DIR: /var/spacedev/tmp/platform-deployment
NUGET_STAGING_DIRECTORY: /var/spacedev/nuget/deployment
NUGET_FILE_PREFIX: Microsoft.Azure.SpaceSDK.PlatformServices.Deployment.Plugins
ANNOTATION: azure-orbital-space-sdk-platform-deployment.yaml
WORKFLOW_AGENT: spacesdk-ubuntu-2204LTS-arm64
ARCHITECTURE: arm64
secrets:
GIT_HUB_USER_NAME: ${{ secrets.GIT_HUB_USER_NAME }}
GIT_HUB_USER_TOKEN: ${{ secrets.GIT_HUB_USER_TOKEN }}
SETUP_REPO_URL: ${{ secrets.SETUP_REPO_URL }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Azure Orbital Space SDK - Platform-Deployment

[![spacefx-dev-build-publish](https://github.com/microsoft/azure-orbital-space-sdk-core/actions/workflows/devcontainer-feature-build-publish.yml/badge.svg)](https://github.com/microsoft/azure-orbital-space-sdk-core/actions/workflows/devcontainer-feature-build-publish.yml)
[![platform-deployment-build](https://github.com/microsoft/azure-orbital-space-sdk-platform-deployment/actions/workflows/platform-deployment-build-publish.yaml/badge.svg)](https://github.com/microsoft/azure-orbital-space-sdk-platform-deployment/actions/workflows/platform-deployment-build-publish.yaml)

This repository hosts the Platform-Deployment.

Expand Down

0 comments on commit 0e9d691

Please sign in to comment.