diff --git a/.github/env_dbsync_config b/.github/env_dbsync_config deleted file mode 100644 index 240e465f2..000000000 --- a/.github/env_dbsync_config +++ /dev/null @@ -1,3 +0,0 @@ -CLUSTERS_COUNT=1 -MARKEXPR=(dbsync and smoke) or dbsync_config -DBSYNC_SKIP_INDEXES=true diff --git a/.github/regression.sh b/.github/regression.sh index c2c538c7f..1c8960ae5 100755 --- a/.github/regression.sh +++ b/.github/regression.sh @@ -46,6 +46,9 @@ if [ "$MARKEXPR" = "all" ]; then elif [ "$MARKEXPR" = "conway only" ]; then unset MARKEXPR export TESTS_DIR="cardano_node_tests/tests/tests_conway" +elif [ "$MARKEXPR" = "dbsync config" ]; then + export CLUSTERS_COUNT=1 + export MARKEXPR="(dbsync and smoke) or dbsync_config" fi if [ -n "${CLUSTERS_COUNT:-""}" ]; then diff --git a/.github/workflows/dbsync_config.yaml b/.github/workflows/dbsync_config.yaml deleted file mode 100644 index 052c60fad..000000000 --- a/.github/workflows/dbsync_config.yaml +++ /dev/null @@ -1,70 +0,0 @@ -name: db-sync config tests - -on: - workflow_dispatch: - inputs: - node_rev: - description: "cardano-node revision" - default: master - cli_rev: - description: "cardano-cli revision (optional)" - default: "" - dbsync_rev: - description: "db-sync revision" - default: master - cluster_era: - type: choice - description: "Cluster era" - options: - - conway 10 - - conway 9 - default: conway 10 - topology: - type: choice - description: "Network topology" - options: - - p2p - - legacy - - mixed - default: p2p - utxo_backend: - type: choice - description: "UTxO backend" - options: - - "" - - mem - - disk - default: "" - byron_cluster: - type: boolean - default: false - description: "Start cluster in Byron era" - testrun_name: - required: false - description: "Test run name (internal)" - skip_passed: - type: boolean - default: false - description: "Skip tests that already passed (internal)" - -run-name: ${{ inputs.testrun_name && 'Run:' || ''}} ${{ inputs.testrun_name }} ${{ (inputs.testrun_name && inputs.skip_passed) && ':repeat:' || '' }} - -jobs: - regression_tests: - # reusable workflow from local repo and same branch as this config - uses: ./.github/workflows/regression_reusable.yaml - with: - node_rev: ${{ inputs.node_rev }} - cli_rev: ${{ inputs.cli_rev }} - dbsync_rev: ${{ inputs.dbsync_rev }} - cluster_era: ${{ inputs.cluster_era }} - topology: ${{ inputs.topology }} - utxo_backend: ${{ inputs.utxo_backend }} - byron_cluster: ${{ inputs.byron_cluster }} - testrun_name: ${{ inputs.testrun_name }} - skip_passed: ${{ inputs.skip_passed }} - env-path: .github/env_dbsync_config - secrets: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TCACHE_BASIC_AUTH: ${{ secrets.TCACHE_BASIC_AUTH }} - TCACHE_URL: ${{ secrets.TCACHE_URL }} diff --git a/.github/workflows/regression-dbsync.yaml b/.github/workflows/regression-dbsync.yaml index c4c69d714..3506a35fd 100644 --- a/.github/workflows/regression-dbsync.yaml +++ b/.github/workflows/regression-dbsync.yaml @@ -25,6 +25,7 @@ on: options: - all - dbsync + - dbsync config - smoke - plutus - plutus and smoke