I have this pipeline that works beautifully. (Actually I’m really enjoying using Drone CI so props on this. After using Jenkins, Travis and Gitlab Drone CI feels so clean and simple to use )
What I’d like to do is try to run my integration tests against multiple versions of the pipeline. I have this which works against a specific version.
kind: pipeline name: default steps: - name: build image: golang:1.16 commands: - echo "Waiting for Grafana to come up" - sleep 45 - curl http://grafana:3000 - make linux - cp conf/importer-example.yml conf/importer.yml - make test - ./bin/gdg_linux version services: - name: grafana image: grafana/grafana:7.5.6-ubuntu trigger: event: - push - pull_request
Ideally I’d like it to bring up and tear down the services as it runs the test, though I suppose I could just define multiple services named grafana- and have the test runner enumerate through the expected versions. Is there a cleaner way of doing this?
Also having the tests execute against multiple versions of the language would be nice if possible?
Aka go 1.16 and go 1.12 or whatnot.