From 4325f0faa6258a7657b666f0ee82ebc9335649bb Mon Sep 17 00:00:00 2001 From: Ryan Northey Date: Tue, 31 Oct 2023 10:34:07 +0000 Subject: [PATCH] ci: Test Envoy sync in PRs Signed-off-by: Ryan Northey --- .github/workflows/ci.yaml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9cddfa1954..edbb255607 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,4 +12,26 @@ jobs: steps: - uses: actions/checkout@v4 - name: build and test - run: make docker_tests \ No newline at end of file + run: make docker_tests + + sync: + runs-on: ubuntu-latest + steps: + # Checkout the repo + - name: 'Checkout Repository' + uses: actions/checkout@v4 + with: + path: go-control-plane + + # Checkout the Envoy repo + - name: 'Checkout Repository' + uses: actions/checkout@v4 + with: + repository: envoyproxy/envoy + ref: main + path: upstream + + - run: ci/sync_envoy.sh + env: + ENVOY_SRC_DIR: ../envoy + working-dir: go-control-plane