File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -7,17 +7,19 @@ Here is how to run an automated test in your free tier tenancy or with a Live La
7
7
1 . (Free Tier Only) Clean up your existing tenancy so that you have disk space and the docker cache is empty:
8
8
```
9
9
docker image prune -a -f
10
- csreset -a
10
+ csreset -a <<< 'y'
11
11
```
12
12
13
13
2 . (Free Tier Only) From the OCI Console, make space for a new auth token. The limit is 2.
14
14
15
- 3 . (Free Tier Only) Create a directory to run the test:
15
+ 3 . (Free Tier Only) Create a directory to run the test and name your compartment :
16
16
```
17
17
export TEST_DIRECTORY=gd`awk 'BEGIN { srand(); print int(1 + rand() * 1000000)}'`
18
18
echo "Test directory $TEST_DIRECTORY"
19
19
mkdir $TEST_DIRECTORY
20
20
cd $TEST_DIRECTORY
21
+ export TEST_COMPARTMENT="$TEST_DIRECTORY"
22
+ export TEST_PARENT_COMPARTMENT_OCID='$OCI_TENANCY'
21
23
```
22
24
23
25
4 . (Free Tier Only) Register your user OCID:
@@ -40,11 +42,8 @@ git clone -b "$GITHUB_BRANCH" --single-branch "https://github.com/${GITHUB_USER}
40
42
41
43
7 . Execute the setup. Note in the Live Labs case, the setup will prompt for the compartment OCID and an auth token.
42
44
```
43
- sed -i.bak '/grabdish/d' ~/.bashrc
44
- echo "source $PWD/microservices-datadriven/grabdish/env.sh" >>~/.bashrc
45
- source microservices-datadriven/grabdish/env.sh
46
- source setup.sh
47
-
45
+ source microservices-datadriven/workshops/dcms-oci/source.env
46
+ time setup
48
47
```
49
48
50
49
8 . Execute the test
@@ -55,6 +54,6 @@ source test.sh
55
54
56
55
9 . Clean up
57
56
```
58
- source destroy.sh
57
+ time teardown
59
58
60
59
```
You can’t perform that action at this time.
0 commit comments