aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergii Tkachenko <sergiitk@google.com>2024-01-11 10:44:51 -0800
committerGitHub <noreply@github.com>2024-01-11 10:44:51 -0800
commit2812bb4d08e80c212da248827b68fb4961aed24d (patch)
tree3eb6ba635c8e9abc980a4e269198164c33380ee9
parent6741e2064d3b7826114b0d250ba9ebb415d951d9 (diff)
downloadgrpc-grpc-2812bb4d08e80c212da248827b68fb4961aed24d.tar.gz
[PSM Interop] Remove PSM interop github workflow (#35507)
Moved to https://github.com/grpc/psm-interop/blob/270307afe01878b5d54e8a0e2ef01e50e599e750/.github/workflows/psm-interop.yaml. This created as a companion to #35466 to split out github-only files change go/github-only-files-grpc.
-rw-r--r--.github/workflows/psm-interop.yaml73
1 files changed, 0 insertions, 73 deletions
diff --git a/.github/workflows/psm-interop.yaml b/.github/workflows/psm-interop.yaml
deleted file mode 100644
index f5bafc733e..0000000000
--- a/.github/workflows/psm-interop.yaml
+++ /dev/null
@@ -1,73 +0,0 @@
-name: PSM Interop
-
-on:
- pull_request:
- push:
- branches:
- - master
-
-permissions:
- contents: read
-
-jobs:
- unittest:
- # By default, only version is printed out in parens, e.g. "unittest (3.10)"
- # This changes it to "unittest (python3.10)"
- name: "unittest (python${{ matrix.python_version }})"
- runs-on: ubuntu-latest
- strategy:
- matrix:
- python_version: ["3.9", "3.10", "3.11"]
- fail-fast: false
- permissions:
- pull-requests: read # Used by paths-filter to read the diff.
- defaults:
- run:
- working-directory: 'tools/run_tests/xds_k8s_test_driver'
-
- steps:
- - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
-
- # To add this job to required GitHub checks, it's not enough to use
- # the on.pull_request.paths filter. For required checks, the job needs to
- # return the success status, and not be skipped.
- # Using paths-filter action, we skip the setup/test steps when psm interop
- # files are unchanged, and the job returns success.
- - uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
- id: paths_filter
- with:
- filters: |
- psm_interop_src:
- - 'tools/run_tests/xds_k8s_test_driver/**'
- - 'src/proto/grpc/testing/empty.proto'
- - 'src/proto/grpc/testing/messages.proto'
- - 'src/proto/grpc/testing/test.proto'
-
- - uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
- if: ${{ steps.paths_filter.outputs.psm_interop_src == 'true' }}
- with:
- python-version: "${{ matrix.python_version }}"
- cache: 'pip'
- cache-dependency-path: 'tools/run_tests/xds_k8s_test_driver/requirements.lock'
-
- - name: "Install requirements"
- if: ${{ steps.paths_filter.outputs.psm_interop_src == 'true' }}
- run: |
- pip list
- pip install --upgrade pip setuptools
- pip list
- pip install -r requirements.lock
- pip list
-
- - name: "Generate protos"
- if: ${{ steps.paths_filter.outputs.psm_interop_src == 'true' }}
- run: >
- python -m grpc_tools.protoc --proto_path=../../../
- --python_out=. --grpc_python_out=.
- src/proto/grpc/testing/empty.proto
- src/proto/grpc/testing/messages.proto
- src/proto/grpc/testing/test.proto
-
- - name: "Run unit tests"
- if: ${{ steps.paths_filter.outputs.psm_interop_src == 'true' }}
- run: python -m tests.unit