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
771 . (Free Tier Only) Clean up your existing tenancy so that you have disk space and the docker cache is empty:
88```
99docker image prune -a -f
10- csreset -a
10+ csreset -a <<< 'y'
1111```
1212
13132 . (Free Tier Only) From the OCI Console, make space for a new auth token. The limit is 2.
1414
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 :
1616```
1717export TEST_DIRECTORY=gd`awk 'BEGIN { srand(); print int(1 + rand() * 1000000)}'`
1818echo "Test directory $TEST_DIRECTORY"
1919mkdir $TEST_DIRECTORY
2020cd $TEST_DIRECTORY
21+ export TEST_COMPARTMENT="$TEST_DIRECTORY"
22+ export TEST_PARENT_COMPARTMENT_OCID='$OCI_TENANCY'
2123```
2224
23254 . (Free Tier Only) Register your user OCID:
@@ -40,11 +42,8 @@ git clone -b "$GITHUB_BRANCH" --single-branch "https://github.com/${GITHUB_USER}
4042
41437 . Execute the setup. Note in the Live Labs case, the setup will prompt for the compartment OCID and an auth token.
4244```
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
4847```
4948
50498 . Execute the test
@@ -55,6 +54,6 @@ source test.sh
5554
56559 . Clean up
5756```
58- source destroy.sh
57+ time teardown
5958
6059```
You can’t perform that action at this time.
0 commit comments