diff --git a/.github/workflows/validate_new_quickstarts_configuration.yaml b/.github/workflows/validate_new_quickstarts_configuration.yaml index 80ae7f02..5f61fed2 100644 --- a/.github/workflows/validate_new_quickstarts_configuration.yaml +++ b/.github/workflows/validate_new_quickstarts_configuration.yaml @@ -43,11 +43,6 @@ jobs: quickstart_language: [go, csharp, javascript, python, java] quickstart_variant: [http, sdk] steps: - - name: Setup Redis - uses: shogo82148/actions-setup-redis@v1 - with: - redis-version: '6' - auto-start: false - name: Install docker - MacOS if: matrix.os == 'macos-10.15' uses: docker-practice/actions-setup-docker@v1 diff --git a/configuration/csharp/http/README.md b/configuration/csharp/http/README.md index 6665474e..da5afe9b 100644 --- a/configuration/csharp/http/README.md +++ b/configuration/csharp/http/README.md @@ -14,16 +14,17 @@ This quickstart includes one service: ### Prerequisite -- Locally running redis instance - a redis instance is automatically created as a docker container when you run `dapr init` -- Install Redis CLI - [Getting started with Redis | Redis](https://redis.io/docs/getting-started/). `redis-cli` is installed as part of redis setup -- Open a new terminal and set values for config items `orderId1` and `orderId2` using `redis-cli` +- Locally running redis container - a redis container named `dapr_redis` is automatically created when you run `dapr init` +- Open a new terminal and set values for config items `orderId1` and `orderId2` by using the command below ```bash -redis-cli -n 0 MSET orderId1 "101" orderId2 "102" +docker exec dapr_redis redis-cli MSET orderId1 "101" orderId2 "102" ``` @@ -56,7 +57,7 @@ dapr run --app-id order-processor-http --components-path ../../../components/ -- ## (Optional) Update value of config items 1. Keep the `order-processor` app running and open a separate terminal -2. Change the values of `orderId1` and `orderId2` using `redis-cli` +2. Change the values of `orderId1` and `orderId2` using the command below 3. `order-processor` app gets the updated values of config items ```bash -redis-cli -n 0 MSET orderId1 "103" orderId2 "104" +docker exec dapr_redis redis-cli MSET orderId1 "103" orderId2 "104" ``` \ No newline at end of file diff --git a/configuration/csharp/sdk/README.md b/configuration/csharp/sdk/README.md index dbbb58d9..09115670 100644 --- a/configuration/csharp/sdk/README.md +++ b/configuration/csharp/sdk/README.md @@ -12,16 +12,17 @@ This quickstart includes one service: ### Prerequisite -- Locally running redis instance - a redis instance is automatically created as a docker container when you run `dapr init` -- Install Redis CLI - [Getting started with Redis | Redis](https://redis.io/docs/getting-started/). `redis-cli` is installed as part of redis setup -- Open a new terminal and set values for config items `orderId1` and `orderId2` using `redis-cli` +- Locally running redis container - a redis container named `dapr_redis` is automatically created when you run `dapr init` +- Open a new terminal and set values for config items `orderId1` and `orderId2` by using the command below ```bash -redis-cli -n 0 MSET orderId1 "101" orderId2 "102" +docker exec dapr_redis redis-cli MSET orderId1 "101" orderId2 "102" ``` @@ -54,7 +55,7 @@ dapr run --app-id order-processor-http --components-path ../../../components/ -- ## (Optional) Update value of config items 1. Keep the `order-processor` app running and open a separate terminal -2. Change the values of `orderId1` and `orderId2` using `redis-cli` +2. Change the values of `orderId1` and `orderId2` using the command below 3. `order-processor` app gets the updated values of config items ```bash -redis-cli -n 0 MSET orderId1 "103" orderId2 "104" +docker exec dapr_redis redis-cli MSET orderId1 "103" orderId2 "104" ``` \ No newline at end of file diff --git a/configuration/go/http/README.md b/configuration/go/http/README.md index 83718e13..2ff0a350 100644 --- a/configuration/go/http/README.md +++ b/configuration/go/http/README.md @@ -13,16 +13,18 @@ This quickstart includes one service: ## Add configuration items to the config store ### Prerequisite -- Locally running redis instance - a redis instance is automatically created as a docker container when you run `dapr init` -- Install Redis CLI - [Getting started with Redis | Redis](https://redis.io/docs/getting-started/). `redis-cli` is installed as part of redis setup -- Open a new terminal and set values for config items `orderId1` and `orderId2` using `redis-cli` + +- Locally running redis container - a redis container named `dapr_redis` is automatically created when you run `dapr init` +- Open a new terminal and set values for config items `orderId1` and `orderId2` by using the command below ```bash -redis-cli -n 0 MSET orderId1 "101" orderId2 "102" +docker exec dapr_redis redis-cli MSET orderId1 "101" orderId2 "102" ``` @@ -57,7 +59,7 @@ dapr run --app-id order-processor --app-port 6001 --components-path ../../../com ## (Optional) Update value of config items 1. Keep the `order-processor` app running and open a separate terminal -2. Change the values of `orderId1` and `orderId2` using `redis-cli` +2. Change the values of `orderId1` and `orderId2` using the command below 3. `order-processor` app gets the updated values of config items ```bash -redis-cli -n 0 MSET orderId1 "103" orderId2 "104" +docker exec dapr_redis redis-cli MSET orderId1 "103" orderId2 "104" ``` \ No newline at end of file diff --git a/configuration/go/sdk/README.md b/configuration/go/sdk/README.md index fe6761d1..c6ad72f1 100644 --- a/configuration/go/sdk/README.md +++ b/configuration/go/sdk/README.md @@ -12,16 +12,17 @@ This quickstart includes one service: ### Prerequisite -- Locally running redis instance - a redis instance is automatically created as a docker container when you run `dapr init` -- Install Redis CLI - [Getting started with Redis | Redis](https://redis.io/docs/getting-started/). `redis-cli` is installed as part of redis setup -- Open a new terminal and set values for config items `orderId1` and `orderId2` using `redis-cli` +- Locally running redis container - a redis container named `dapr_redis` is automatically created when you run `dapr init` +- Open a new terminal and set values for config items `orderId1` and `orderId2` by using the command below ```bash -redis-cli -n 0 MSET orderId1 "101" orderId2 "102" +docker exec dapr_redis redis-cli MSET orderId1 "101" orderId2 "102" ``` @@ -54,7 +55,7 @@ dapr run --app-id order-processor --app-port 6001 --components-path ../../../com ## (Optional) Update value of config items 1. Keep the `order-processor` app running and open a separate terminal -2. Change the values of `orderId1` and `orderId2` using `redis-cli` +2. Change the values of `orderId1` and `orderId2` using the command below 3. `order-processor` app gets the updated values of config items ```bash -redis-cli -n 0 MSET orderId1 "103" orderId2 "104" +docker exec dapr_redis redis-cli MSET orderId1 "103" orderId2 "104" ``` \ No newline at end of file diff --git a/configuration/java/http/README.md b/configuration/java/http/README.md index f8c6f2be..90eb6e78 100644 --- a/configuration/java/http/README.md +++ b/configuration/java/http/README.md @@ -17,19 +17,20 @@ This quickstart includes one service: - [Microsoft JDK 11](https://docs.microsoft.com/en-us/java/openjdk/download#openjdk-11) - [Oracle JDK 11](https://www.oracle.com/technetwork/java/javase/downloads/index.html#JDK11) - [OpenJDK 11](https://jdk.java.net/11/) -- Locally running redis instance - a redis instance is automatically created as a docker container when you run `dapr init` -- Install Redis CLI - [Getting started with Redis | Redis](https://redis.io/docs/getting-started/). `redis-cli` is installed as part of redis setup +- Locally running redis container - a redis container named `dapr_redis` is automatically created when you run `dapr init` ## Add configuration items to the config store -- Open a new terminal and set values for config items `orderId1` and `orderId2` using `redis-cli` +- Open a new terminal and set values for config items `orderId1` and `orderId2` by using the command below ```bash -redis-cli -n 0 MSET orderId1 "101" orderId2 "102" +docker exec dapr_redis redis-cli MSET orderId1 "101" orderId2 "102" ``` @@ -77,7 +78,7 @@ dapr run --app-id order-processor --app-port 6001 --components-path ../../../com ## (Optional) Update value of config items 1. Keep the `order-processor` app running and open a separate terminal -2. Change the values of `orderId1` and `orderId2` using `redis-cli` +2. Change the values of `orderId1` and `orderId2` using the command below 3. `order-processor` app gets the updated values of config items ```bash -redis-cli -n 0 MSET orderId1 "103" orderId2 "104" +docker exec dapr_redis redis-cli MSET orderId1 "103" orderId2 "104" ``` \ No newline at end of file diff --git a/configuration/java/sdk/README.md b/configuration/java/sdk/README.md index b6aa5775..85dca882 100644 --- a/configuration/java/sdk/README.md +++ b/configuration/java/sdk/README.md @@ -15,19 +15,20 @@ This quickstart includes one service: - [Microsoft JDK 11](https://docs.microsoft.com/en-us/java/openjdk/download#openjdk-11) - [Oracle JDK 11](https://www.oracle.com/technetwork/java/javase/downloads/index.html#JDK11) - [OpenJDK 11](https://jdk.java.net/11/) -- Locally running redis instance - a redis instance is automatically created as a docker container when you run `dapr init` -- Install Redis CLI - [Getting started with Redis | Redis](https://redis.io/docs/getting-started/). `redis-cli` is installed as part of redis setup +- Locally running redis container - a redis container named `dapr_redis` is automatically created when you run `dapr init` ## Add configuration items to the config store -- Open a new terminal and set values for config items `orderId1` and `orderId2` using `redis-cli` +- Open a new terminal and set values for config items `orderId1` and `orderId2` by using the command below ```bash -redis-cli -n 0 MSET orderId1 "101" orderId2 "102" +docker exec dapr_redis redis-cli MSET orderId1 "101" orderId2 "102" ``` @@ -74,7 +75,7 @@ dapr run --app-id order-processor --components-path ../../../components -- java ## (Optional) Update value of config items 1. Keep the `order-processor` app running and open a separate terminal -2. Change the values of `orderId1` and `orderId2` using `redis-cli` +2. Change the values of `orderId1` and `orderId2` using the command below 3. `order-processor` app gets the updated values of config items ```bash -redis-cli -n 0 MSET orderId1 "103" orderId2 "104" +docker exec dapr_redis redis-cli MSET orderId1 "103" orderId2 "104" ``` \ No newline at end of file diff --git a/configuration/javascript/http/README.md b/configuration/javascript/http/README.md index eeb8d33b..75e7c2ae 100644 --- a/configuration/javascript/http/README.md +++ b/configuration/javascript/http/README.md @@ -14,16 +14,17 @@ This quickstart includes one service: ### Prerequisite -- Locally running redis instance - a redis instance is automatically created as a docker container when you run `dapr init` -- Install Redis CLI - [Getting started with Redis | Redis](https://redis.io/docs/getting-started/). `redis-cli` is installed as part of redis setup -- Open a new terminal and set values for config items `orderId1` and `orderId2` using `redis-cli` +- Locally running redis container - a redis container named `dapr_redis` is automatically created when you run `dapr init` +- Open a new terminal and set values for config items `orderId1` and `orderId2` by using the command below ```bash -redis-cli -n 0 MSET orderId1 "101" orderId2 "102" +docker exec dapr_redis redis-cli MSET orderId1 "101" orderId2 "102" ``` @@ -68,7 +69,7 @@ dapr run --app-id order-processor --components-path ../../../components/ --app-p ## (Optional) Update value of config items 1. Keep the `order-processor` app running and open a separate terminal -2. Change the values of `orderId1` and `orderId2` using `redis-cli` +2. Change the values of `orderId1` and `orderId2` using the command below 3. `order-processor` app gets the updated values of config items ```bash -redis-cli -n 0 MSET orderId1 "103" orderId2 "104" +docker exec dapr_redis redis-cli MSET orderId1 "103" orderId2 "104" ``` diff --git a/configuration/javascript/sdk/README.md b/configuration/javascript/sdk/README.md index 86745392..784b7de7 100644 --- a/configuration/javascript/sdk/README.md +++ b/configuration/javascript/sdk/README.md @@ -12,16 +12,17 @@ This quickstart includes one service: ### Prerequisite -- Locally running redis instance - a redis instance is automatically created as a docker container when you run `dapr init` -- Install Redis CLI - [Getting started with Redis | Redis](https://redis.io/docs/getting-started/). `redis-cli` is installed as part of redis setup -- Open a new terminal and set values for config items `orderId1` and `orderId2` using `redis-cli` +- Locally running redis container - a redis container named `dapr_redis` is automatically created when you run `dapr init` +- Open a new terminal and set values for config items `orderId1` and `orderId2` by using the command below ```bash -redis-cli -n 0 MSET orderId1 "101" orderId2 "102" +docker exec dapr_redis redis-cli MSET orderId1 "101" orderId2 "102" ``` @@ -65,7 +66,7 @@ dapr run --app-id order-processor --components-path ../../../components/ --app-p ## (Optional) Update value of config items 1. Keep the `order-processor` app running and open a separate terminal -2. Change the values of `orderId1` and `orderId2` using `redis-cli` +2. Change the values of `orderId1` and `orderId2` using the command below 3. `order-processor` app gets the updated values of config items ```bash -redis-cli -n 0 MSET orderId1 "103" orderId2 "104" +docker exec dapr_redis redis-cli MSET orderId1 "103" orderId2 "104" ``` diff --git a/configuration/python/http/README.md b/configuration/python/http/README.md index fee3a4f2..b03a8f9e 100644 --- a/configuration/python/http/README.md +++ b/configuration/python/http/README.md @@ -14,20 +14,20 @@ This quickstart includes one service: ### Prerequisite -- Locally running redis instance - a redis instance is automatically created as a docker container when you run `dapr init` -- Install Redis CLI - [Getting started with Redis | Redis](https://redis.io/docs/getting-started/). `redis-cli` is installed as part of redis setup -- Open a new terminal and set values for config items `orderId1` and `orderId2` using `redis-cli` +- Locally running redis container - a redis container named `dapr_redis` is automatically created when you run `dapr init` +- Open a new terminal and set values for config items `orderId1` and `orderId2` by using the command below ```bash -redis-cli -n 0 MSET orderId1 "101" orderId2 "102" +docker exec dapr_redis redis-cli MSET orderId1 "101" orderId2 "102" ``` - ## Run Python service with Dapr 1. Open a new terminal window and navigate to `order-processor` directory: @@ -68,7 +68,7 @@ dapr run --app-id order-processor --components-path ../../../components/ --app-p ## (Optional) Update value of config items 1. Keep the `order-processor` app running and open a separate terminal -2. Change the values of `orderId1` and `orderId2` using `redis-cli` +2. Change the values of `orderId1` and `orderId2` using the command below 3. `order-processor` app gets the updated values of config items ```bash -redis-cli -n 0 MSET orderId1 "103" orderId2 "104" +docker exec dapr_redis redis-cli MSET orderId1 "103" orderId2 "104" ``` \ No newline at end of file diff --git a/configuration/python/sdk/README.md b/configuration/python/sdk/README.md index f8bc02b3..9f7fbe69 100644 --- a/configuration/python/sdk/README.md +++ b/configuration/python/sdk/README.md @@ -12,16 +12,17 @@ This quickstart includes one service: ### Prerequisite -- Locally running redis instance - a redis instance is automatically created as a docker container when you run `dapr init` -- Install Redis CLI - [Getting started with Redis | Redis](https://redis.io/docs/getting-started/). `redis-cli` is installed as part of redis setup -- Open a new terminal and set values for config items `orderId1` and `orderId2` using `redis-cli` +- Locally running redis container - a redis container named `dapr_redis` is automatically created when you run `dapr init` +- Open a new terminal and set values for config items `orderId1` and `orderId2` by using the command below ```bash -redis-cli -n 0 MSET orderId1 "101" orderId2 "102" +docker exec dapr_redis redis-cli MSET orderId1 "101" orderId2 "102" ``` @@ -65,7 +66,7 @@ dapr run --app-id order-processor --components-path ../../../components/ --app-p ## (Optional) Update value of config items 1. Keep the `order-processor` app running and open a separate terminal -2. Change the values of `orderId1` and `orderId2` using `redis-cli` +2. Change the values of `orderId1` and `orderId2` using the command below 3. `order-processor` app gets the updated values of config items ```bash -redis-cli -n 0 MSET orderId1 "103" orderId2 "104" +docker exec dapr_redis redis-cli MSET orderId1 "103" orderId2 "104" ```