Is there a possibility for multiple .drone.yml file. Similar to how you can can configure a specific pipeline file that you wish to you in a Jenkins pipeline.
In our development, we have different pipelines for each phase of development. For example, our pull request pipeline performs quick validation, where as when we wish to release, we go through more intense testing including integration testing.
In this case you would use step conditions to limit which steps were executed for pull request vs push events. Below is an example to illustrate how this would work, and here is a link to the docs http://docs.drone.io/step-conditions/
# execute short tests for push events
- go test -short
# execute verbose tests for pull request events
- go test -v
# build the binary if not a pull_request
- go build -o <binary>
# publish to dockerhub for push events to master only
secrets: [docker_username, docker_password]
Is it possible to have multiple drone files in a repo? My respository contains multiple different modules (with different technologies) which should be build separately (if possible: the single build should only be triggered if something has changed in a particular module or directory).