Skip to content

Commit

Permalink
CONTRIBUTING.md: add ricochet-2 documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Gatto <[email protected]>
  • Loading branch information
outscale-mgo committed Mar 7, 2024
1 parent 6959a62 commit 168d265
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,19 @@ $ export OUTSCALE_ACCOUNT="<ACCOUNTPID>" # i.e. "XXXXXXXXXXXX"
```sh
$ make testacc
```

If you want, you can tests terraform locally using [ricochet-2](https://github.com/outscale/osc-ricochet-2/)
to do so, you need to get ricochet-2 [release](https://github.com/outscale/osc-ricochet-2/tags)
extract and start it:
```
tar -xvf osc-ricochet-2_v0.2.0_x86_64-unknown-linux-musl.tar.gz
./ricochet-2 ./ricochet.json
```
and in another terminal, either call `make test-locally`, or call the script manually
```
# if you want TestAccVM_withFlexibleGpuLink_basic
scripts/local-test.sh TestAccVM_withFlexibleGpuLink_basic
```

Note that ricochet-2 been fearly new, doesn't support all Outscale Calls, and some tests will fails.
Also ricochet-2 work only on Linux for now.

0 comments on commit 168d265

Please sign in to comment.