1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-01-05 10:20:36 +02:00
woodpecker/cncd/pipeline/samples/sample_8_network_mode/README.md
2019-04-06 15:44:04 +02:00

491 B

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).