diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bfe59aec1..8742a73b2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,53 +15,54 @@ build: - git submodule init && git submodule update - make distclean - make -j + artifacts: + paths: + - src/ runtest: extends: .standard-pipeline + dependencies: + - build tags: - docker stage: test script: - - git submodule init && git submodule update - - make distclean - - make -j - ./runtest --config server-threads 3 runtest-cluster: extends: .standard-pipeline + dependencies: + - build tags: - docker stage: test script: - - git submodule init && git submodule update - - make distclean - - make -j - ./runtest-cluster runtest-moduleapi: extends: .standard-pipeline + dependencies: + - build tags: - docker stage: test script: - - git submodule init && git submodule update - - make distclean - - make -j - ./runtest-moduleapi runtest-sentinel: extends: .standard-pipeline + dependencies: + - build tags: - docker stage: test script: - - git submodule init && git submodule update - - make distclean - - make -j - ./runtest-sentinel node-redis-test: extends: .standard-pipeline + dependencies: + - build rules: - when: never tags: @@ -69,10 +70,8 @@ node-redis-test: - ipv6 stage: test script: - - git submodule init && git submodule update - - make distclean - - make -j - - make install + - cp -pf src/keydb-server /usr/local/bin + - cp -pf src/keydb-cli /usr/local/bin - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.eqalpha.com/keydb-dev/node-redis.git - cd node-redis - npm install @@ -80,29 +79,29 @@ node-redis-test: jedis-test: extends: .standard-pipeline + dependencies: + - build tags: - docker - ipv4 stage: test script: - - git submodule init && git submodule update - - make distclean - - make -j - - make install + - cp -pf src/keydb-server /usr/local/bin + - cp -pf src/keydb-cli /usr/local/bin - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.eqalpha.com/keydb-dev/jedis.git - cd jedis - make test redis-rs-test: extends: .standard-pipeline + dependencies: + - build tags: - docker stage: test script: - - git submodule init && git submodule update - - make distclean - - make -j - - make install + - cp -pf src/keydb-server /usr/local/bin + - cp -pf src/keydb-cli /usr/local/bin - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.eqalpha.com/keydb-dev/redis-rs.git - cd redis-rs - make test