-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Matthias Gatto <[email protected]>
- Loading branch information
1 parent
3462625
commit fd35880
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/bin/sh | ||
|
||
# Copyright (c) Outscale SAS | ||
# | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
export OSC_PASSWORD='ashita wa dochida' | ||
export OSC_LOGIN=joe | ||
export OSC_USERNAME=joe | ||
|
||
export OMI_ID="ami-90067666" | ||
|
||
export OSC_SECRET_KEY=0000001111112222223333334444445555555666 | ||
export OSC_ACCESS_KEY=11112211111110000000 | ||
|
||
export OSC_ENDPOINT_API_PROTO="http://localhost:3000/api/v1" | ||
export OSC_ENDPOINT_API_NOPROTO="localhost:3000/api/v1" | ||
export OSC_ENDPOINT_API="localhost:3000/api/v1" | ||
export OSC_REGION="vp-ware-3" | ||
export OSC_PROTOCOL="http" | ||
|
||
export OSC_USING_RICOCHET="oui" | ||
|
||
if [ "$#" -eq 0 ]; then | ||
|
||
if [ ! -d "osc-ricochet-2" ]; then | ||
git clone https://github.com/outscale-mgo/osc-ricochet-2 | ||
fi | ||
|
||
cd osc-ricochet-2 | ||
pkill ricochet | ||
|
||
cargo build --profile 'sdks' | ||
cargo run --profile 'sdks' -- ./ricochet.json &> /dev/null & | ||
cd .. | ||
|
||
sleep 5 | ||
fi | ||
|
||
set -e | ||
|
||
make examples-test |