2023-10-31 08:14:09 +00:00
|
|
|
# Example
|
|
|
|
|
2019-04-06 13:44:04 +00:00
|
|
|
Compile the yaml to the intermediate representation:
|
|
|
|
|
2023-10-31 08:14:09 +00:00
|
|
|
```sh
|
2019-04-06 13:44:04 +00:00
|
|
|
pipec compile
|
|
|
|
```
|
|
|
|
|
|
|
|
Execute the intermediate representation:
|
|
|
|
|
2023-10-31 08:14:09 +00:00
|
|
|
```sh
|
2019-04-06 13:44:04 +00:00
|
|
|
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
|
2023-10-31 08:14:09 +00:00
|
|
|
the openvpn client images like <https://github.com/ekristen/docker-openvpn-client>).
|