Skip to content

Commit

Permalink
Merge pull request #906 from cicoyle/runtime-to-v1.12.0-rc.1
Browse files Browse the repository at this point in the history
update dapr runtime to use v1.12.0-rc.1
  • Loading branch information
paulyuk authored Sep 25, 2023
2 parents 7b0b832 + 64d67ec commit 72f6823
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/env/global.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
DAPR_CLI_VERSION: 1.11.0
DAPR_RUNTIME_VERSION: 1.11.0
DAPR_CLI_VERSION: 1.12.0-rc.1
DAPR_RUNTIME_VERSION: 1.12.0-rc.3
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/v${DAPR_CLI_VERSION}/install/
DAPR_DEFAULT_IMAGE_REGISTRY: ghcr
MACOS_PYTHON_VERSION: 3.10
2 changes: 1 addition & 1 deletion .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
helm install redis bitnami/redis
helm install redis bitnami/redis --version 17.14.5
dapr init -k --runtime-version=${{ env.DAPR_RUNTIME_VERSION }} --wait || kubectl get pods --all-namespaces
kubectl get nodes -o wide
for pod in `dapr status -k | awk '/dapr/ {print $1}'`; do kubectl describe pod -l app=$pod -n dapr-system ; kubectl logs -l app=$pod -n dapr-system; done
Expand Down
1 change: 0 additions & 1 deletion configuration/go/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ name: Run order-processor service
expected_stdout_lines:
- '== APP == Configuration for orderId2: {"Value":"102","Version":"","Metadata":null}'
- '== APP == App subscribed to config changes with subscription id:'
- '== APP == App unsubscribed to config changes'
- "Exited App successfully"
expected_stderr_lines:
output_match_mode: substring
Expand Down
8 changes: 1 addition & 7 deletions configuration/go/sdk/order-processor/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,7 @@ func main() {
}
fmt.Println("App subscribed to config changes with subscription id: " + subscriptionID)

time.Sleep(10 * time.Second)
<-ctx.Done()

err = client.UnsubscribeConfigurationItems(context.Background(), DAPR_CONFIGURATION_STORE, subscriptionID)
if err != nil {
fmt.Println("Error unsubscribing to config updates, err:" + err.Error())
} else {
fmt.Println("App unsubscribed to config changes")
}
os.Exit(0)
}

0 comments on commit 72f6823

Please sign in to comment.