You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2022/12/16 02:43:09 UTC

[openwhisk] branch master updated: drop travis from required checks to merge a PR (#5364)

This is an automated email from the ASF dual-hosted git repository.

dgrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk.git


The following commit(s) were added to refs/heads/master by this push:
     new a7ed8b5ef drop travis from required checks to merge a PR (#5364)
a7ed8b5ef is described below

commit a7ed8b5ef080036b3e7dc18b966f096effd20494
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Thu Dec 15 21:43:02 2022 -0500

    drop travis from required checks to merge a PR (#5364)
    
    * drop travis from required checks to merge a PR
    * comment out virtually all travis tests so we can merge PR
---
 .asf.yaml   |  2 --
 .travis.yml | 72 ++++++++++++++++++++++++++++++-------------------------------
 2 files changed, 36 insertions(+), 38 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index c1ba8bf91..f486d950b 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -34,8 +34,6 @@ github:
     master:
       required_status_checks:
         strict: false
-        contexts:
-          - "Travis CI - Pull Request"
       required_pull_request_reviews:
         required_appoving_review_count: 1
       required_signatures: false
diff --git a/.travis.yml b/.travis.yml
index 25d3d6876..a50894d0a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -68,39 +68,39 @@ jobs:
     - script:
         - TERM=dumb OW_SCALA_VERSION=2.13 ./gradlew :tests:compileTestScala
       name: "Scala 2.13 compilation"
-    - script:
-        - ./tools/travis/runUnitTests.sh
-        - ./tools/travis/checkAndUploadLogs.sh unit db
-      name: "Unit Tests"
-    - script:
-      - ./tools/travis/runSystemTests.sh
-      - ./tools/travis/checkAndUploadLogs.sh system
-      name: "System Tests"
-    - script:
-      - ./tools/travis/runMultiRuntimeTests.sh
-      - ./tools/travis/checkAndUploadLogs.sh multi-runtime
-      name: "Multi-Runtime Tests"
-    - script:
-        - ./tools/travis/runStandaloneTests.sh
-        - ./tools/travis/checkAndUploadLogs.sh standalone
-      name: "Standalone Tests"
-    - script:
-        - ./tests/performance/preparation/deploy.sh
-        - TERM=dumb ./tests/performance/wrk_tests/latency.sh "https://172.17.0.1:10001" "$(cat ansible/files/auth.guest)" ./tests/performance/preparation/actions/noop.js 2m
-        - TERM=dumb ./tests/performance/wrk_tests/latency.sh "https://172.17.0.1:10001" "$(cat ansible/files/auth.guest)" ./tests/performance/preparation/actions/async.js 2m
-        - TERM=dumb ./tests/performance/wrk_tests/throughput.sh "https://172.17.0.1:10001" "$(cat ansible/files/auth.guest)" ./tests/performance/preparation/actions/noop.js 4 1 2 2m
-        - TERM=dumb ./tests/performance/wrk_tests/throughput.sh "https://172.17.0.1:10001" "$(cat ansible/files/auth.guest)" ./tests/performance/preparation/actions/async.js 4 1 2 2m
-        - TERM=dumb ./tests/performance/wrk_tests/throughput.sh "https://172.17.0.1:10001" "$(cat ansible/files/auth.guest)" ./tests/performance/preparation/actions/noop.js 100 110 2 2m
-        - TERM=dumb ./tests/performance/wrk_tests/throughput.sh "https://172.17.0.1:10001" "$(cat ansible/files/auth.guest)" ./tests/performance/preparation/actions/async.js 100 110 2 2m
-        - OPENWHISK_HOST="172.17.0.1" CONNECTIONS="100" REQUESTS_PER_SEC="1" ./gradlew gatlingRun-org.apache.openwhisk.ApiV1Simulation
-        - OPENWHISK_HOST="172.17.0.1" MEAN_RESPONSE_TIME="1000" API_KEY="$(cat ansible/files/auth.guest)" EXCLUDED_KINDS="python:default,java:default,swift:default" PAUSE_BETWEEN_INVOKES="100" ./gradlew gatlingRun-org.apache.openwhisk.LatencySimulation
-        - OPENWHISK_HOST="172.17.0.1" API_KEY="$(cat ansible/files/auth.guest)" CONNECTIONS="100" REQUESTS_PER_SEC="1" ./gradlew gatlingRun-org.apache.openwhisk.BlockingInvokeOneActionSimulation
-        - OPENWHISK_HOST="172.17.0.1" API_KEY="$(cat ansible/files/auth.guest)" CONNECTIONS="100" REQUESTS_PER_SEC="1" ASYNC="true" ./gradlew gatlingRun-org.apache.openwhisk.BlockingInvokeOneActionSimulation
-        # The following configuration does not make much sense. But we do not have enough users. But it's good to verify, that the test is still working.
-        - OPENWHISK_HOST="172.17.0.1" USERS="1" REQUESTS_PER_SEC="1" ./gradlew gatlingRun-org.apache.openwhisk.ColdBlockingInvokeSimulation
-        - ./tools/travis/checkAndUploadLogs.sh perf
-      name: "Performance Tests"
-    - script:
-        - ./tools/travis/runSchedulerTests.sh
-        - ./tools/travis/checkAndUploadLogs.sh scheduler
-      name: "Scheduler Tests"
+    # - script:
+    #     - ./tools/travis/runUnitTests.sh
+    #     - ./tools/travis/checkAndUploadLogs.sh unit db
+    #   name: "Unit Tests"
+    # - script:
+    #   - ./tools/travis/runSystemTests.sh
+    #   - ./tools/travis/checkAndUploadLogs.sh system
+    #   name: "System Tests"
+    # - script:
+    #   - ./tools/travis/runMultiRuntimeTests.sh
+    #   - ./tools/travis/checkAndUploadLogs.sh multi-runtime
+    #   name: "Multi-Runtime Tests"
+    # - script:
+    #     - ./tools/travis/runStandaloneTests.sh
+    #     - ./tools/travis/checkAndUploadLogs.sh standalone
+    #   name: "Standalone Tests"
+    # - script:
+    #     - ./tests/performance/preparation/deploy.sh
+    #     - TERM=dumb ./tests/performance/wrk_tests/latency.sh "https://172.17.0.1:10001" "$(cat ansible/files/auth.guest)" ./tests/performance/preparation/actions/noop.js 2m
+    #     - TERM=dumb ./tests/performance/wrk_tests/latency.sh "https://172.17.0.1:10001" "$(cat ansible/files/auth.guest)" ./tests/performance/preparation/actions/async.js 2m
+    #     - TERM=dumb ./tests/performance/wrk_tests/throughput.sh "https://172.17.0.1:10001" "$(cat ansible/files/auth.guest)" ./tests/performance/preparation/actions/noop.js 4 1 2 2m
+    #     - TERM=dumb ./tests/performance/wrk_tests/throughput.sh "https://172.17.0.1:10001" "$(cat ansible/files/auth.guest)" ./tests/performance/preparation/actions/async.js 4 1 2 2m
+    #     - TERM=dumb ./tests/performance/wrk_tests/throughput.sh "https://172.17.0.1:10001" "$(cat ansible/files/auth.guest)" ./tests/performance/preparation/actions/noop.js 100 110 2 2m
+    #     - TERM=dumb ./tests/performance/wrk_tests/throughput.sh "https://172.17.0.1:10001" "$(cat ansible/files/auth.guest)" ./tests/performance/preparation/actions/async.js 100 110 2 2m
+    #     - OPENWHISK_HOST="172.17.0.1" CONNECTIONS="100" REQUESTS_PER_SEC="1" ./gradlew gatlingRun-org.apache.openwhisk.ApiV1Simulation
+    #     - OPENWHISK_HOST="172.17.0.1" MEAN_RESPONSE_TIME="1000" API_KEY="$(cat ansible/files/auth.guest)" EXCLUDED_KINDS="python:default,java:default,swift:default" PAUSE_BETWEEN_INVOKES="100" ./gradlew gatlingRun-org.apache.openwhisk.LatencySimulation
+    #     - OPENWHISK_HOST="172.17.0.1" API_KEY="$(cat ansible/files/auth.guest)" CONNECTIONS="100" REQUESTS_PER_SEC="1" ./gradlew gatlingRun-org.apache.openwhisk.BlockingInvokeOneActionSimulation
+    #     - OPENWHISK_HOST="172.17.0.1" API_KEY="$(cat ansible/files/auth.guest)" CONNECTIONS="100" REQUESTS_PER_SEC="1" ASYNC="true" ./gradlew gatlingRun-org.apache.openwhisk.BlockingInvokeOneActionSimulation
+    #     # The following configuration does not make much sense. But we do not have enough users. But it's good to verify, that the test is still working.
+    #     - OPENWHISK_HOST="172.17.0.1" USERS="1" REQUESTS_PER_SEC="1" ./gradlew gatlingRun-org.apache.openwhisk.ColdBlockingInvokeSimulation
+    #     - ./tools/travis/checkAndUploadLogs.sh perf
+    #   name: "Performance Tests"
+    # - script:
+    #     - ./tools/travis/runSchedulerTests.sh
+    #     - ./tools/travis/checkAndUploadLogs.sh scheduler
+    #   name: "Scheduler Tests"