mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-06-10 17:39:37 +00:00
856b2ef8c7
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Anbraten <anton@ju60.de>
21 lines
508 B
Markdown
21 lines
508 B
Markdown
# Example
|
|
|
|
Compile the yaml to the intermediate representation:
|
|
|
|
```sh
|
|
pipec compile
|
|
```
|
|
|
|
Execute the intermediate representation:
|
|
|
|
```sh
|
|
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>).
|