From c0dc51748eebe7580a9a0be504e6a933cc89548e Mon Sep 17 00:00:00 2001 From: Chris Cranford Date: Sat, 17 Feb 2024 13:20:07 -0500 Subject: [PATCH] [ci] Remove Oracle-based end-to-end action --- .../workflows/end-to-end-testing-oracle.yml | 93 ------------------- 1 file changed, 93 deletions(-) delete mode 100644 .github/workflows/end-to-end-testing-oracle.yml diff --git a/.github/workflows/end-to-end-testing-oracle.yml b/.github/workflows/end-to-end-testing-oracle.yml deleted file mode 100644 index f2bf1a05..00000000 --- a/.github/workflows/end-to-end-testing-oracle.yml +++ /dev/null @@ -1,93 +0,0 @@ -name: End-to-End Tests Oracle - -on: - push: - branches: - - main - paths: - - "pom.xml" - - "Dockerfile.oracle" - - "backend/**" - - "ui/**" - - ".github/workflows/end-to-end-testing-oracle.yml" - pull_request: - branches: - - main - paths: - - "pom.xml" - - "Dockerfile.oracle" - - "backend/**" - - "ui/**" - - ".github/workflows/end-to-end-testing-oracle.yml" - -jobs: - e2e-test: - runs-on: ubuntu-latest - - services: - dbzui-zookeeper: - image: quay.io/debezium/zookeeper:latest - - dbzui-kafka: - image: quay.io/debezium/kafka:latest - ports: - - 9092:9092 - env: - ZOOKEEPER_CONNECT: dbzui-zookeeper:2181 - - dbzui-postgres: - image: quay.io/debezium/example-postgres:latest - ports: - - 65432:5432 - env: - POSTGRES_USER: postgres - POSTGRES_PASSWORD: postgres - - dbzui-connect: - image: quay.io/debezium/connect:nightly - ports: - - 8083:8083 - env: - ENABLE_DEBEZIUM_SCRIPTING: true - CONNECT_REST_EXTENSION_CLASSES: io.debezium.kcrestextension.DebeziumConnectRestExtension - BOOTSTRAP_SERVERS: dbzui-kafka:9092 - GROUP_ID: 1 - CONFIG_STORAGE_TOPIC: my_connect_configs - OFFSET_STORAGE_TOPIC: my_connect_offsets - STATUS_STORAGE_TOPIC: my_connect_statuses - - steps: - - name: Checkout Debezium UI - uses: actions/checkout@v3 - - name: Build Debezium UI container - run: DOCKER_BUILDKIT=1 docker build --cache-from debezium/debezium-ui --file ./Dockerfile.oracle --tag dbzui-backend:${GITHUB_SHA} . - - name: Run Debezium UI container - run: docker run --rm --name dbzui-container -d -p 8080:8080 --network=$(docker network ls -f name=^github_network_ --format "{{.Name}}") -e KAFKA_CONNECT_URIS=http://dbzui-connect:8083 dbzui-backend:${GITHUB_SHA} - - name: Install deps and build (with cache) - uses: bahmutov/npm-install@v1 - with: - useLockFile: false - install-command: npm install - working-directory: ./ui - - name: End-to-End Test Debezium UI - uses: cypress-io/github-action@v5 - with: - # we have already installed everything - install: false - working-directory: ./ui - - name: upload Cypress screenshots for failed tests - uses: actions/upload-artifact@v4 - if: failure() - with: - name: cypress-screenshots - path: ui/cypress/screenshots - - # Test run video was always captured, so this action uses "always()" condition - - name: upload Cypress test run video - uses: actions/upload-artifact@v4 - if: always() - with: - name: cypress-videos - path: ui/cypress/videos - - name: Stop Debezium UI container - run: docker rm -f dbzui-container