From 36162de2919f94d6329a9de4cba5571a6b963ba3 Mon Sep 17 00:00:00 2001 From: hongzhan Chen Date: Mon, 6 Jan 2020 22:12:40 -0500 Subject: [PATCH] we already use Actions CI instead of Travis CI. --- .travis.yml | 43 ------------------------------------------- tests/CONTRIBUTING.md | 21 ++++++++------------- 2 files changed, 8 insertions(+), 56 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 7500b97..0000000 --- a/.travis.yml +++ /dev/null @@ -1,43 +0,0 @@ -sudo: required - -services: - - docker - -env: - - DOCKERFILE_DIR=cassandra - - DOCKERFILE_DIR=cgit - - DOCKERFILE_DIR=clr-installer-ci - - DOCKERFILE_DIR=elasticsearch - - DOCKERFILE_DIR=flink - - DOCKERFILE_DIR=golang - - DOCKERFILE_DIR=haproxy - - DOCKERFILE_DIR=httpd - - DOCKERFILE_DIR=iperf - - DOCKERFILE_DIR=machine-learning-ui - - DOCKERFILE_DIR=mariadb - - DOCKERFILE_DIR=memcached - - DOCKERFILE_DIR=mixer-ci - - DOCKERFILE_DIR=nginx - - DOCKERFILE_DIR=node - - DOCKERFILE_DIR=openjdk/8 - - DOCKERFILE_DIR=openjdk/13 - - DOCKERFILE_DIR=openvino - - DOCKERFILE_DIR=os-core - - DOCKERFILE_DIR=perl - - DOCKERFILE_DIR=php - - DOCKERFILE_DIR=php-fpm - - DOCKERFILE_DIR=postgres - - DOCKERFILE_DIR=python - - DOCKERFILE_DIR=rabbitmq - - DOCKERFILE_DIR=redis - - DOCKERFILE_DIR=ruby - - DOCKERFILE_DIR=tensorflow - - DOCKERFILE_DIR=tensorflow-serving - - DOCKERFILE_DIR=tomcat - - DOCKERFILE_DIR=wordpress - -script: - - cd $DOCKERFILE_DIR - - docker build -t clearlinux/$DOCKERFILE_DIR . - - cd .. - - if [ -d "./tests/$DOCKERFILE_DIR" ]; then cd tests; make $DOCKERFILE_DIR; fi diff --git a/tests/CONTRIBUTING.md b/tests/CONTRIBUTING.md index c028ec2..55784af 100644 --- a/tests/CONTRIBUTING.md +++ b/tests/CONTRIBUTING.md @@ -22,20 +22,15 @@ test case. How to add test cases ------------------------------------ -The test cases are for the micro services already added in the travis CI. -So for any micro services defined in the "env" part of the ".travis" file, -the same name directory could be added in the directory "tests". And the -same name BAT script in the new added directory will be executed for each -PR/commits. For example, redis. -* First, the redis is added in the "env". +The test cases are for the micro services already added in the Actions CI. +So for any micro service name defined in the matrix.node of .github/workflows/ +tests.yml, the same name directory could be added in the directory "tests". +And the same name BAT script in the new added directory will be executed for +each PR/commits. For example, redis. +* First, the redis name is added in the matrix.node. ``` - services: - - docker - - env: - ...... - - DOCKERFILE_DIR=redis - ...... + matrix: + node: ["redis"] ``` * Second, create the "redis" directory and BAT script under tests