1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-30 08:06:52 +02:00
woodpecker/pipeline/samples/sample_8_network_mode
Anbraten 063d0bb32a
Replace DRONE_ with CI_ variables in pipeline steps (#427)
Dropped support for `DRONE_*` environment variables in pipeline steps. Pipeline meta-data can be accessed with `CI_*` variables.
  - `CI_*` prefix replaces `DRONE_*`
  - `CI` value is now `woodpecker`
  - `DRONE=true` has been removed
2021-11-25 20:43:31 +01:00
..
pipeline.json Replace DRONE_ with CI_ variables in pipeline steps (#427) 2021-11-25 20:43:31 +01:00
pipeline.yml Switch default git plugin (#449) 2021-10-15 19:54:28 -05:00
README.md Move cncd/pipeline/pipeline/ to pipeline/ (#347) 2021-09-24 13:18:34 +02:00

Compile the yaml to the intermediate representation:

pipec compile

Execute the intermediate representation:

pipec exec

This example shows how to use the network_mode option to use the network defined by other container. This is useful for example to allow the CI to connect with servers behind a VPN.

Before to start you need to create a container that connects to the VPN (using one of the openvpn client images like https://github.com/ekristen/docker-openvpn-client).