Skip to content

Commit

Permalink
ci: removing legacy integration tests
Browse files Browse the repository at this point in the history
The legacy integration tests required an outdated host (ubuntu 18.04) to be run on. Those hosts were removed on the 01.12.2022, thus the integration tests can no longer be run. Removing them.
  • Loading branch information
phbelitz committed Jun 2, 2023
1 parent 43e0779 commit 37252b1
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/.reusable-integration-test.yml
Expand Up @@ -133,45 +133,3 @@ jobs:
if: failure()
run: |
kubectl logs -n connaisseur -lapp.kubernetes.io/name=connaisseur --prefix=true
k8s-legacy-versions:
# k3s with older versions doesn't play with newer kernel, so we're running those on deprecated hosts, yay...
runs-on: ubuntu-18.04
if: inputs.skip_integration_tests != 'non-required'
permissions:
packages: read
env:
IMAGE: ${{ inputs.build_image }}
COSIGN_PUBLIC_KEY: ${{ inputs.cosign_public_key }}
strategy:
fail-fast: false
matrix:
k8s-version: [
"v1.16",
"v1.17",
"v1.18",
"v1.19",
]
steps:
- name: Checkout code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Login with registry
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
with:
registry: ${{ inputs.build_registry }}
username: ${{ inputs.repo_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Install yq
run: |
sudo snap install yq
- uses: ./.github/actions/k8s-version-config
name: Setup k8s cluster
with:
k8s-version: ${{ matrix.k8s-version }}
- name: Run pre-config and workload integration tests
run: |
bash tests/integration/integration-test.sh "pre-and-workload"
- name: Display k8s logs if integration test failed
if: failure()
run: |
kubectl logs -n connaisseur -lapp.kubernetes.io/name=connaisseur --prefix=true

0 comments on commit 37252b1

Please sign in to comment.