From 5afdf034c01738704a1b28a92b2d3d832a412a33 Mon Sep 17 00:00:00 2001 From: alianides Date: Mon, 24 Jun 2024 21:27:15 +0000 Subject: [PATCH 1/4] test workflow --- .../workflows/platform-deployment-test.yaml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/platform-deployment-test.yaml diff --git a/.github/workflows/platform-deployment-test.yaml b/.github/workflows/platform-deployment-test.yaml new file mode 100644 index 0000000..40209d8 --- /dev/null +++ b/.github/workflows/platform-deployment-test.yaml @@ -0,0 +1,40 @@ +name: test-platform-deployment + +on: + workflow_dispatch: + pull_request: + branches: [ main ] + +jobs: + test-platform-deployment-amd64: + permissions: + contents: read + issues: read + checks: write + pull-requests: write + + uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/test-app.yaml@main + with: + APP_NAME: platform-deployment + WORKFLOW_AGENT: ubuntu-latest + 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 }} + + + # test-platform-deployment-arm64: + # permissions: + # contents: read + # issues: read + # checks: write + # pull-requests: write + + # uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/test-app.yaml@main + # with: + # APP_NAME: platform-deployment + # WORKFLOW_AGENT: spacesdk-ubuntu-2204LTS-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 }} From 48eae113cba0cc442077b5ae0d3d487e8a62abfc Mon Sep 17 00:00:00 2001 From: alianides Date: Tue, 25 Jun 2024 21:23:12 +0000 Subject: [PATCH 2/4] unlock arm64 and status badge --- .../workflows/platform-deployment-test.yaml | 30 +++++++++---------- README.md | 2 ++ 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/platform-deployment-test.yaml b/.github/workflows/platform-deployment-test.yaml index 40209d8..55ac9cd 100644 --- a/.github/workflows/platform-deployment-test.yaml +++ b/.github/workflows/platform-deployment-test.yaml @@ -6,7 +6,7 @@ on: branches: [ main ] jobs: - test-platform-deployment-amd64: + test-platform-deployment-amd64: permissions: contents: read issues: read @@ -23,18 +23,18 @@ jobs: SETUP_REPO_URL: ${{ secrets.SETUP_REPO_URL }} - # test-platform-deployment-arm64: - # permissions: - # contents: read - # issues: read - # checks: write - # pull-requests: write + test-platform-deployment-arm64: + permissions: + contents: read + issues: read + checks: write + pull-requests: write - # uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/test-app.yaml@main - # with: - # APP_NAME: platform-deployment - # WORKFLOW_AGENT: spacesdk-ubuntu-2204LTS-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 }} + uses: microsoft/azure-orbital-space-sdk-github-actions/.github/workflows/test-app.yaml@main + with: + APP_NAME: platform-deployment + WORKFLOW_AGENT: spacesdk-ubuntu-2204LTS-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 }} diff --git a/README.md b/README.md index 24e3bb6..2e9f9c7 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ [![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) +[![test-platform-deployment](https://github.com/microsoft/azure-orbital-space-sdk-platform-deployment/actions/workflows/platform-deployment-test.yaml/badge.svg)](https://github.com/microsoft/azure-orbital-space-sdk-platform-deployment/actions/workflows/platform-deployment-test.yaml) + This repository hosts the Platform-Deployment. Outputs: From fe31ae296491438c2c1707f335a3f09a10b305cd Mon Sep 17 00:00:00 2001 From: alianides Date: Fri, 19 Jul 2024 23:51:37 +0000 Subject: [PATCH 3/4] updated to push trigger --- .github/workflows/platform-deployment-test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/platform-deployment-test.yaml b/.github/workflows/platform-deployment-test.yaml index 55ac9cd..fd7b3fb 100644 --- a/.github/workflows/platform-deployment-test.yaml +++ b/.github/workflows/platform-deployment-test.yaml @@ -2,6 +2,7 @@ name: test-platform-deployment on: workflow_dispatch: + push: pull_request: branches: [ main ] From c61a93635f6553f97f09fc1047c191bdde163a9e Mon Sep 17 00:00:00 2001 From: alianides Date: Mon, 22 Jul 2024 18:39:48 +0000 Subject: [PATCH 4/4] remove push trigger --- .github/workflows/platform-deployment-test.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/platform-deployment-test.yaml b/.github/workflows/platform-deployment-test.yaml index fd7b3fb..55ac9cd 100644 --- a/.github/workflows/platform-deployment-test.yaml +++ b/.github/workflows/platform-deployment-test.yaml @@ -2,7 +2,6 @@ name: test-platform-deployment on: workflow_dispatch: - push: pull_request: branches: [ main ]