Skip to content

Commit

Permalink
chore(ci): save time int test workflow merge queue (vectordotdev#17869)
Browse files Browse the repository at this point in the history
This change removes running the `changes` job when the workflow is
triggered in the merge queue, as that is not needed.
  • Loading branch information
neuronull authored Jul 5, 2023
1 parent 8519cb1 commit 9581b35
Showing 1 changed file with 34 additions and 32 deletions.
66 changes: 34 additions & 32 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ env:
jobs:

changes:
if: github.event_name == 'pull_request'
uses: ./.github/workflows/changes.yml
with:
base_ref: ${{ github.event.pull_request.base.ref }}
Expand All @@ -49,39 +50,40 @@ jobs:
name: Integration Tests
runs-on: [linux, ubuntu-20.04-4core]
needs: changes
if: |
if: always() && (
github.event_name == 'merge_group' || (
needs.changes.outputs.all-int == 'true'
|| needs.changes.outputs.amqp == 'true'
|| needs.changes.outputs.appsignal == 'true'
|| needs.changes.outputs.aws == 'true'
|| needs.changes.outputs.axiom == 'true'
|| needs.changes.outputs.azure == 'true'
|| needs.changes.outputs.clickhouse == 'true'
|| needs.changes.outputs.databend == 'true'
|| needs.changes.outputs.datadog == 'true'
|| needs.changes.outputs.dnstap == 'true'
|| needs.changes.outputs.docker-logs == 'true'
|| needs.changes.outputs.elasticsearch == 'true'
|| needs.changes.outputs.eventstoredb == 'true'
|| needs.changes.outputs.fluent == 'true'
|| needs.changes.outputs.gcp == 'true'
|| needs.changes.outputs.humio == 'true'
|| needs.changes.outputs.http-client == 'true'
|| needs.changes.outputs.influxdb == 'true'
|| needs.changes.outputs.kafka == 'true'
|| needs.changes.outputs.logstash == 'true'
|| needs.changes.outputs.loki == 'true'
|| needs.changes.outputs.mongodb == 'true'
|| needs.changes.outputs.nats == 'true'
|| needs.changes.outputs.nginx == 'true'
|| needs.changes.outputs.opentelemetry == 'true'
|| needs.changes.outputs.postgres == 'true'
|| needs.changes.outputs.prometheus == 'true'
|| needs.changes.outputs.pulsar == 'true'
|| needs.changes.outputs.redis == 'true'
|| needs.changes.outputs.splunk == 'true'
|| needs.changes.outputs.webhdfs == 'true'
needs.changes.outputs.all-int == 'true'
|| needs.changes.outputs.amqp == 'true'
|| needs.changes.outputs.appsignal == 'true'
|| needs.changes.outputs.aws == 'true'
|| needs.changes.outputs.axiom == 'true'
|| needs.changes.outputs.azure == 'true'
|| needs.changes.outputs.clickhouse == 'true'
|| needs.changes.outputs.databend == 'true'
|| needs.changes.outputs.datadog == 'true'
|| needs.changes.outputs.dnstap == 'true'
|| needs.changes.outputs.docker-logs == 'true'
|| needs.changes.outputs.elasticsearch == 'true'
|| needs.changes.outputs.eventstoredb == 'true'
|| needs.changes.outputs.fluent == 'true'
|| needs.changes.outputs.gcp == 'true'
|| needs.changes.outputs.humio == 'true'
|| needs.changes.outputs.http-client == 'true'
|| needs.changes.outputs.influxdb == 'true'
|| needs.changes.outputs.kafka == 'true'
|| needs.changes.outputs.logstash == 'true'
|| needs.changes.outputs.loki == 'true'
|| needs.changes.outputs.mongodb == 'true'
|| needs.changes.outputs.nats == 'true'
|| needs.changes.outputs.nginx == 'true'
|| needs.changes.outputs.opentelemetry == 'true'
|| needs.changes.outputs.postgres == 'true'
|| needs.changes.outputs.prometheus == 'true'
|| needs.changes.outputs.pulsar == 'true'
|| needs.changes.outputs.redis == 'true'
|| needs.changes.outputs.splunk == 'true'
|| needs.changes.outputs.webhdfs == 'true'
)
)
timeout-minutes: 75
steps:
Expand Down

0 comments on commit 9581b35

Please sign in to comment.