- run in the test dir to create a key pair
ssh-keygen -t ed25519 -C "test-key" -f $PWD/key -m PEM
-
copy the template_config.toml in the test dir and paste the gitlab token and the datacenter_id
-
create a api token in ionos and create a file named
.env
with the following content
IONOS_TOKEN=<TOKEN>
- run
docker build . -t test && docker run --env-file ./.env test