Skip to content

Commit

Permalink
ci: Shift downstream sync azp -> gh (envoyproxy#27294)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Eskin <ryan.eskin89@protonmail.com>
  • Loading branch information
phlax authored and reskin89 committed Jul 11, 2023
1 parent 0b604ef commit 72ec1f1
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 203 deletions.
95 changes: 0 additions & 95 deletions .azure-pipelines/stage/sync.yml

This file was deleted.

15 changes: 0 additions & 15 deletions .azure-pipelines/stages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,6 @@ stages:
bucketGCP: $(GcsArtifactBucket)
checkDeps: variables['CHECK_DEPS']

- stage: sync
condition: and(succeeded(), eq(variables['PostSubmit'], true), ne(variables['NoSync'], true))
dependsOn: []
jobs:
- template: stage/sync.yml
parameters:
authGCP: $(GcpServiceAccountKey)
authSSHDataPlaneApiKeyPublic: $(DataPlaneApiPublicKey)
authSSHDataPlaneApiKey: $(DataPlaneApiPrivateKey)
authSSHGoControlPlaneKeyPublic: $(GoControlPlanePublicKey)
authSSHGoControlPlaneKey: $(GoControlPlanePrivateKey)
authSSHFilterExampleKeyPublic: $(FilterExamplePublicKey)
authSSHFilterExampleKey: $(FilterExamplePrivateKey)
authSSHKeyPassphrase: $(SshDeployKeyPassphrase)

- stage: linux_x64
displayName: Linux x64
dependsOn: ${{ parameters.buildStageDeps }}
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/envoy-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'Sync downstream'

on:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

jobs:
sync:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
downstream:
- go-control-plane
- envoy-filter-example
- data-plane-api
steps:
- uses: envoyproxy/toolshed/gh-actions/dispatch@1f1feae1e372dde41ecc6830028989bb6037c480
with:
repository: "envoyproxy/${{ matrix.downstream }}"
ref: main
key: "${{ secrets.ENVOY_CI_SYNC_APP_KEY }}"
workflow: envoy-sync.yaml
app_id: ${{ secrets.ENVOY_CI_SYNC_APP_ID }}
44 changes: 0 additions & 44 deletions ci/api_mirror.sh

This file was deleted.

37 changes: 0 additions & 37 deletions ci/filter_example_mirror.sh

This file was deleted.

12 changes: 0 additions & 12 deletions ci/go_mirror.sh

This file was deleted.

0 comments on commit 72ec1f1

Please sign in to comment.