Gitlab CI
Example using te-runner in Gitlab CI
- Ruby
- JavaScript
.gitlab-ci.yml
default:
image:
name: gcr.io/test-evolve-prod/spark/te-runner:1.2.0
entrypoint: [""]
stages:
- test
variables:
TE_HALO_AUTH_TOKEN: $TESTEVOLVE_DASHBOARD_API_KEY
test:
stage: test
script:
- sh /usr/local/bin/startx.sh &
- bundle
- rake ci:test
.gitlab-ci.yml
default:
image:
name: gcr.io/test-evolve-prod/spark/te-runner:1.2.0
entrypoint: [""]
stages:
- test
variables:
TE_HALO_AUTH_TOKEN: $TESTEVOLVE_DASHBOARD_API_KEY
test:
stage: test
script:
- sh /usr/local/bin/startx.sh &
- npm config set @testevolve:registry https://oxy.jfrog.io/artifactory/api/npm/spark-js
- npm i
- npm run test