Skip to content

Commit a29fa3c

Browse files
authored
fixes (#345)
1) Remove On-Prem link from readme 2) Remove commands from .bashrc at the end of teardown
1 parent 5a24957 commit a29fa3c

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ microservices complex.
2020
## Resources
2121

2222
* [Building Microservices with Oracle Converged Database Workshop][Workshop]
23-
* [On-Premises: Building Microservices with Oracle Converged Database Workshop][On-Premises-Workshop]
2423
* [Blogs][Blogs]
2524

2625

@@ -35,7 +34,5 @@ Licensed under the Universal Permissive License v 1.0 as shown at <https://oss.o
3534
[Workshops]: https://apexapps.oracle.com/pls/apex/dbpm/r/livelabs/livelabs-workshop-cards?p100_role=12&p100_focus_area=35&me=126
3635
[DRC]: https://developer.oracle.com
3736
[Helidon]: https://helidon.io
38-
[On-Premises-Workshop]: https://github.com/oracle/microservices-datadriven/tree/main/infra
3937
[Workshop]: https://bit.ly/simplifymicroservices
40-
[Blogs]: https://blogs.oracle.com/developers/category/dev-app-dev
41-
38+
[Blogs]: https://blogs.oracle.com/developers/category/dev-app-dev

workshops/dcms-oci/config/destroy.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ done
6464

6565
rm -f $STATE_FILE
6666

67+
# Remove the source.env from the .bashrc
68+
PROF=~/.bashrc
69+
if test -f "$PROF"; then
70+
sed -i.bak '/microservices-datadriven/d' $PROF
71+
fi
72+
6773
# Clean up the auth token
6874
TOKEN_OCID=$(oci iam auth-token list --region "$(state_get HOME_REGION)" --user-id="$(state_get USER_OCID)" --query 'data[?description=='"'$(state_get DOCKER_AUTH_TOKEN_DESC)'"'].id|[0]' --raw-output)
69-
oci iam auth-token delete --region "$(state_get HOME_REGION)" --user-id="$(state_get USER_OCID)" --force --auth-token-id "$TOKEN_OCID"
75+
oci iam auth-token delete --region "$(state_get HOME_REGION)" --user-id="$(state_get USER_OCID)" --force --auth-token-id "$TOKEN_OCID"

0 commit comments

Comments
 (0)