diff --git a/.github/workflows/deploy-wiki.yaml b/.github/workflows/deploy-wiki.yaml index 1c2e5854e9..b7d9464683 100644 --- a/.github/workflows/deploy-wiki.yaml +++ b/.github/workflows/deploy-wiki.yaml @@ -11,7 +11,7 @@ jobs: deploy-wiki: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd with: submodules: true - name: Install rsync @@ -34,4 +34,4 @@ jobs: git add . git commit -m "$message" git push - \ No newline at end of file + diff --git a/.github/workflows/e2e-master.yaml b/.github/workflows/e2e-master.yaml index da2735c143..89f0bec960 100644 --- a/.github/workflows/e2e-master.yaml +++ b/.github/workflows/e2e-master.yaml @@ -13,13 +13,13 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd with: submodules: true - name: Create Kind Cluster - uses: helm/kind-action@v1.14.0 + uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc with: cluster_name: kubernetes-python-e2e-master-${{ matrix.python-version }} # The kind version to be used to spin the cluster up @@ -28,9 +28,9 @@ jobs: # Update the config here whenever a new client snapshot is performed # This would eventually point to cluster with the latest Kubernetes version # as we sync with Kubernetes upstream - config: .github/workflows/kind-configs/cluster-1.25.yaml + config: .github/workflows/kind-configs/cluster-1.35.yaml - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v6 + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/e2e-release-11.0.yaml b/.github/workflows/e2e-release-11.0.yaml deleted file mode 100644 index ab9cd3295f..0000000000 --- a/.github/workflows/e2e-release-11.0.yaml +++ /dev/null @@ -1,44 +0,0 @@ -name: End to End Tests - release-11.0 - -on: - push: - branches: - - release-11.0 - pull_request: - branches: - - release-11.0 - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: [2.7, 3.5, 3.6, 3.7, 3.8] - steps: - - uses: actions/checkout@v6 - with: - submodules: true - - name: Create Kind Cluster - uses: helm/kind-action@v1.14.0 - with: - cluster_name: kubernetes-python-e2e-release-11.0-${{ matrix.python-version }} - # The kind version to be used to spin the cluster up - # this needs to be updated whenever a new Kind version is released - version: v0.11.1 - # Update the config here whenever a new client snapshot is performed - # This would eventually point to cluster with the latest Kubernetes version - # as we sync with Kubernetes upstream - config: .github/workflows/kind-configs/cluster-1.15.yaml - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v6 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install -r requirements.txt - python -m pip install -r test-requirements.txt - - name: Install package - run: python -m pip install -e . - - name: Run End to End tests - run: pytest -vvv -s kubernetes/e2e_test diff --git a/.github/workflows/e2e-release-12.0.yaml b/.github/workflows/e2e-release-12.0.yaml deleted file mode 100644 index 7ffd1e1bdd..0000000000 --- a/.github/workflows/e2e-release-12.0.yaml +++ /dev/null @@ -1,44 +0,0 @@ -name: End to End Tests - release-12.0 - -on: - push: - branches: - - release-12.0 - pull_request: - branches: - - release-12.0 - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: [2.7, 3.5, 3.6, 3.7, 3.8] - steps: - - uses: actions/checkout@v6 - with: - submodules: true - - name: Create Kind Cluster - uses: helm/kind-action@v1.14.0 - with: - cluster_name: kubernetes-python-e2e-release-12.0-${{ matrix.python-version }} - # The kind version to be used to spin the cluster up - # this needs to be updated whenever a new Kind version is released - version: v0.11.1 - # Update the config here whenever a new client snapshot is performed - # This would eventually point to cluster with the latest Kubernetes version - # as we sync with Kubernetes upstream - config: .github/workflows/kind-configs/cluster-1.16.yaml - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v6 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install -r requirements.txt - python -m pip install -r test-requirements.txt - - name: Install package - run: python -m pip install -e . - - name: Run End to End tests - run: pytest -vvv -s kubernetes/e2e_test diff --git a/.github/workflows/e2e-release-17.0.yaml b/.github/workflows/e2e-release-17.0.yaml deleted file mode 100644 index ec2e19a2b6..0000000000 --- a/.github/workflows/e2e-release-17.0.yaml +++ /dev/null @@ -1,44 +0,0 @@ -name: End to End Tests - release-17.0 - -on: - push: - branches: - - release-17.0 - pull_request: - branches: - - release-17.0 - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: [2.7, 3.5, 3.6, 3.7, 3.8] - steps: - - uses: actions/checkout@v6 - with: - submodules: true - - name: Create Kind Cluster - uses: helm/kind-action@v1.14.0 - with: - cluster_name: kubernetes-python-e2e-release-17.0-${{ matrix.python-version }} - # The kind version to be used to spin the cluster up - # this needs to be updated whenever a new Kind version is released - version: v0.11.1 - # Update the config here whenever a new client snapshot is performed - # This would eventually point to cluster with the latest Kubernetes version - # as we sync with Kubernetes upstream - config: .github/workflows/kind-configs/cluster-1.17.yaml - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v6 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install -r requirements.txt - python -m pip install -r test-requirements.txt - - name: Install package - run: python -m pip install -e . - - name: Run End to End tests - run: pytest -vvv -s kubernetes/e2e_test diff --git a/.github/workflows/e2e-release-18.0.yaml b/.github/workflows/e2e-release-18.0.yaml deleted file mode 100644 index 884feabe9a..0000000000 --- a/.github/workflows/e2e-release-18.0.yaml +++ /dev/null @@ -1,44 +0,0 @@ -name: End to End Tests - release-18.0 - -on: - push: - branches: - - release-18.0 - pull_request: - branches: - - release-18.0 - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: [3.6, 3.7, 3.8, 3.9] - steps: - - uses: actions/checkout@v6 - with: - submodules: true - - name: Create Kind Cluster - uses: helm/kind-action@v1.14.0 - with: - cluster_name: kubernetes-python-e2e-release-18.0-${{ matrix.python-version }} - # The kind version to be used to spin the cluster up - # this needs to be updated whenever a new Kind version is released - version: v0.11.1 - # Update the config here whenever a new client snapshot is performed - # This would eventually point to cluster with the latest Kubernetes version - # as we sync with Kubernetes upstream - config: .github/workflows/kind-configs/cluster-1.18.yaml - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v6 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - python -m pip install -r requirements.txt - python -m pip install -r test-requirements.txt - - name: Install package - run: python -m pip install -e . - - name: Run End to End tests - run: pytest -vvv -s kubernetes/e2e_test diff --git a/.github/workflows/e2e-release-26.0.yaml b/.github/workflows/e2e-release-35.0.yaml similarity index 69% rename from .github/workflows/e2e-release-26.0.yaml rename to .github/workflows/e2e-release-35.0.yaml index 46d6719a76..d85313c776 100644 --- a/.github/workflows/e2e-release-26.0.yaml +++ b/.github/workflows/e2e-release-35.0.yaml @@ -1,36 +1,36 @@ -name: End to End Tests - release-26.0 +name: End to End Tests - release-35.0 on: push: branches: - - release-26.0 + - release-35.0 pull_request: branches: - - release-26.0 + - release-35.0 jobs: build: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8, 3.9] + python-version: [3.10, 3.11, 3.12] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd with: submodules: true - name: Create Kind Cluster - uses: helm/kind-action@v1.14.0 + uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc with: - cluster_name: kubernetes-python-e2e-release-26.0-${{ matrix.python-version }} + cluster_name: kubernetes-python-e2e-release-35.0-${{ matrix.python-version }} # The kind version to be used to spin the cluster up # this needs to be updated whenever a new Kind version is released version: v0.17.0 # Update the config here whenever a new client snapshot is performed # This would eventually point to cluster with the latest Kubernetes version # as we sync with Kubernetes upstream - config: .github/workflows/kind-configs/cluster-1.26.yaml + config: .github/workflows/kind-configs/cluster-1.35.yaml - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v6 + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/kind-configs/cluster-1.15.yaml b/.github/workflows/kind-configs/cluster-1.15.yaml deleted file mode 100644 index caee5e7759..0000000000 --- a/.github/workflows/kind-configs/cluster-1.15.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Cluster -apiVersion: kind.x-k8s.io/v1alpha4 -nodes: -- role: control-plane - image: kindest/node:v1.15.12@sha256:b920920e1eda689d9936dfcf7332701e80be12566999152626b2c9d730397a95 -- role: worker - image: kindest/node:v1.15.12@sha256:b920920e1eda689d9936dfcf7332701e80be12566999152626b2c9d730397a95 diff --git a/.github/workflows/kind-configs/cluster-1.16.yaml b/.github/workflows/kind-configs/cluster-1.16.yaml deleted file mode 100644 index 36dfc9401f..0000000000 --- a/.github/workflows/kind-configs/cluster-1.16.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Cluster -apiVersion: kind.x-k8s.io/v1alpha4 -nodes: -- role: control-plane - image: kindest/node:v1.16.15@sha256:83067ed51bf2a3395b24687094e283a7c7c865ccc12a8b1d7aa673ba0c5e8861 -- role: worker - image: kindest/node:v1.16.15@sha256:83067ed51bf2a3395b24687094e283a7c7c865ccc12a8b1d7aa673ba0c5e8861 diff --git a/.github/workflows/kind-configs/cluster-1.17.yaml b/.github/workflows/kind-configs/cluster-1.17.yaml deleted file mode 100644 index f564f001b2..0000000000 --- a/.github/workflows/kind-configs/cluster-1.17.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Cluster -apiVersion: kind.x-k8s.io/v1alpha4 -nodes: -- role: control-plane - image: kindest/node:v1.17.17@sha256:66f1d0d91a88b8a001811e2f1054af60eef3b669a9a74f9b6db871f2f1eeed00 -- role: worker - image: kindest/node:v1.17.17@sha256:66f1d0d91a88b8a001811e2f1054af60eef3b669a9a74f9b6db871f2f1eeed00 diff --git a/.github/workflows/kind-configs/cluster-1.18.yaml b/.github/workflows/kind-configs/cluster-1.18.yaml deleted file mode 100644 index 88430383d0..0000000000 --- a/.github/workflows/kind-configs/cluster-1.18.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Cluster -apiVersion: kind.x-k8s.io/v1alpha4 -nodes: -- role: control-plane - image: kindest/node:v1.18.19@sha256:7af1492e19b3192a79f606e43c35fb741e520d195f96399284515f077b3b622c -- role: worker - image: kindest/node:v1.18.19@sha256:7af1492e19b3192a79f606e43c35fb741e520d195f96399284515f077b3b622c diff --git a/.github/workflows/kind-configs/cluster-1.25.yaml b/.github/workflows/kind-configs/cluster-1.25.yaml deleted file mode 100644 index ac924b8134..0000000000 --- a/.github/workflows/kind-configs/cluster-1.25.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Cluster -apiVersion: kind.x-k8s.io/v1alpha4 -nodes: -- role: control-plane - image: kindest/node:v1.25.3@sha256:f1de3b0670462f43280114eccceab8bf1b9576d2afe0582f8f74529da6fd0365 -- role: worker - image: kindest/node:v1.25.3@sha256:f1de3b0670462f43280114eccceab8bf1b9576d2afe0582f8f74529da6fd0365 diff --git a/.github/workflows/kind-configs/cluster-1.26.yaml b/.github/workflows/kind-configs/cluster-1.26.yaml deleted file mode 100644 index d8ec1dec0f..0000000000 --- a/.github/workflows/kind-configs/cluster-1.26.yaml +++ /dev/null @@ -1,7 +0,0 @@ -kind: Cluster -apiVersion: kind.x-k8s.io/v1alpha4 -nodes: -- role: control-plane - image: kindest/node:v1.26.0@sha256:3264cbae4b80c241743d12644b2506fff13dce07fcadf29079c1d06a47b399dd -- role: worker - image: kindest/node:v1.26.0@sha256:3264cbae4b80c241743d12644b2506fff13dce07fcadf29079c1d06a47b399dd diff --git a/.github/workflows/kind-configs/cluster-1.35.yaml b/.github/workflows/kind-configs/cluster-1.35.yaml new file mode 100644 index 0000000000..db07c50994 --- /dev/null +++ b/.github/workflows/kind-configs/cluster-1.35.yaml @@ -0,0 +1,7 @@ +kind: Cluster +apiVersion: kind.x-k8s.io/v1alpha4 +nodes: +- role: control-plane + image: kindest/node:v1.35.1@sha256:05d7bcdefbda08b4e038f644c4df690cdac3fba8b06f8289f30e10026720a1ab +- role: worker + image: kindest/node:v1.35.1@sha256:05d7bcdefbda08b4e038f644c4df690cdac3fba8b06f8289f30e10026720a1ab diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 24ece82472..4075a03e07 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -7,17 +7,17 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.10", "3.11", "3.12", "3.13", "3.14"] + python-version: ["3.11", "3.12", "3.13", "3.14"] include: - - python-version: "3.9" + - python-version: "3.10" use_coverage: 'coverage' steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd with: submodules: true - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v6 + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -44,7 +44,7 @@ jobs: - name: Upload coverage to Codecov if: "matrix.use_coverage" - uses: codecov/codecov-action@v6 + uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 with: fail_ci_if_error: false verbose: true