From e3f8f34bb82b36f3fcd78b466850be9bca99c961 Mon Sep 17 00:00:00 2001 From: Peter Collins Date: Thu, 30 Jan 2025 11:35:24 -0500 Subject: [PATCH] [ci] Remove references to sdk-insertions Removes all references to xamarin/sdk-insertions as an initial step towards deprecation of the SDK insertions repo. The vs-release-vars.yml template is no longer be needed by the latest insertion workflow, and we should no longer mirror commits using the the sdk-insertion-bump workflow. --- .github/workflows/sdk-insertion-bump.yml | 36 --------------------- build-tools/automation/azure-pipelines.yaml | 6 ---- 2 files changed, 42 deletions(-) delete mode 100644 .github/workflows/sdk-insertion-bump.yml diff --git a/.github/workflows/sdk-insertion-bump.yml b/.github/workflows/sdk-insertion-bump.yml deleted file mode 100644 index 97110dca30c..00000000000 --- a/.github/workflows/sdk-insertion-bump.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Notify release branch change - -on: - workflow_dispatch: - # trigger for main and release branches. - #push: - # branches: - # - main - # - 'release/**' - -jobs: - pingRemote: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Parse commit - shell: pwsh - id: commit_title - run: | - Write-Host "Commit message is $Env:COMMIT_MESSAGE" - $title = ($Env:COMMIT_MESSAGE -split '\n')[0] | ConvertTo-Json - "COMMIT_TITLE=$title" >> $env:GITHUB_OUTPUT - env: - COMMIT_MESSAGE: "${{ github.event.head_commit.message }}" - - - name: 'Update remote repository' - uses: peter-evans/repository-dispatch@v2 - with: - token: ${{ secrets.SERVICEACCOUNT_PAT }} - event-type: 'sdk_insertion' - repository: 'xamarin/sdk-insertions' - client-payload: '{"repository": "dotnet/android", "branch": "${{ github.ref_name }}", "commit": "${{ github.sha }}", "commit_message": ${{ steps.commit_title.outputs.COMMIT_TITLE }} }' - - diff --git a/build-tools/automation/azure-pipelines.yaml b/build-tools/automation/azure-pipelines.yaml index e9b5389af81..446d491e4ed 100644 --- a/build-tools/automation/azure-pipelines.yaml +++ b/build-tools/automation/azure-pipelines.yaml @@ -20,11 +20,6 @@ resources: name: xamarin/yaml-templates ref: refs/heads/main endpoint: xamarin - - repository: sdk-insertions - type: github - name: xamarin/sdk-insertions - ref: refs/heads/main - endpoint: xamarin - repository: android-platform-support type: git name: DevDiv/android-platform-support @@ -46,7 +41,6 @@ parameters: # Global variables variables: - template: /build-tools/automation/yaml-templates/variables.yaml@self -- template: templates/common/vs-release-vars.yml@sdk-insertions - ${{ if eq(variables['Build.DefinitionName'], 'Xamarin.Android-Private') }}: - group: AzureDevOps-Artifact-Feeds-Pats - group: DotNet-MSRC-Storage