Route
Example Pipeline with build routing
Example Yaml configuration for a project requiring a specific runtime or platform.
Scenario
User is looking to create a pipeline that can only run within a Docker runtime.
Note:
Work with your server administer to understand what routes are available for your installationSteps
The following pipeline concepts are being used in the pipeline below:
Note:
Pipeline must be stored in base of repository as .vela.yml
or .vela.yaml
It is recommended to pin image:
versions for production pipelines
version: "1"
worker:
platform: docker
steps:
- name: view worker name
image: alpine:latest
pull: always
commands:
- echo "Hello ${BUILD_HOST} Worker!!"
Stages
The following pipeline concepts are being used in the pipeline below:
Note:
Pipeline must be stored in base of repository as .vela.yml
or .vela.yaml
It is recommended to pin image:
versions for production pipelines
version: "1"
worker:
platform: docker
stages:
docker:
steps:
- name: view worker name
image: alpine:latest
pull: always
commands:
- echo "Hello ${BUILD_HOST} Worker!!"
Last modified November 5, 2021: fix: removing outdated links and updating moved pages (#256) (5597dbf2)