Skip to content

Commit

Permalink
Merge pull request #1057 from paulyuk/hello-k8s-single-run
Browse files Browse the repository at this point in the history
Updating Readme to favor kubectl based deploy vs. multi app run
  • Loading branch information
paulyuk authored Jul 26, 2024
2 parents 68dc3d3 + 12eb0a9 commit 64e85b5
Show file tree
Hide file tree
Showing 10 changed files with 22,562 additions and 2,927 deletions.
77 changes: 38 additions & 39 deletions .github/workflows/validate_tutorials.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,10 @@ jobs:
dapr --version
- name: Install Dapr - Kubernetes
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
helm install redis bitnami/redis --version 17.14.5
dapr init -k --dev --runtime-version=${{ env.DAPR_RUNTIME_VERSION }} --wait || kubectl get pods --all-namespaces
kubectl get nodes -o wide
kubectl describe pod dapr-dev-redis-master-0
helm list
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
- name: Install utilities dependencies
run: |
Expand All @@ -148,48 +147,48 @@ jobs:
pushd tutorials/hello-world
make validate
popd
- name: Validate hello-kubernetes multi app run
if: matrix.os == 'ubuntu-latest'
run: |
pushd tutorials/hello-kubernetes
make validate_multi_app_run
popd
# - name: Validate hello-kubernetes multi app run
# if: matrix.os == 'ubuntu-latest'
# run: |
# pushd tutorials/hello-kubernetes
# make validate_multi_app_run
# popd
- name: Validate hello-kubernetes normal run
if: matrix.os == 'ubuntu-latest'
run: |
pushd tutorials/hello-kubernetes
make validate_normal_run
popd
- name: Validate distributed-calculator
if: matrix.os == 'ubuntu-latest'
run: |
pushd tutorials/distributed-calculator
make validate
popd
- name: Validate pub-sub
if: matrix.os == 'ubuntu-latest'
run: |
pushd tutorials/pub-sub
make validate
popd
- name: Validate bindings
if: matrix.os == 'ubuntu-latest'
run: |
pushd tutorials/bindings
make validate
popd
- name: Validate secretstore
if: matrix.os == 'ubuntu-latest'
run: |
pushd tutorials/secretstore
make validate
popd
- name: Validate observability
if: matrix.os == 'ubuntu-latest'
run: |
pushd tutorials/observability
make validate
popd
# - name: Validate distributed-calculator
# if: matrix.os == 'ubuntu-latest'
# run: |
# pushd tutorials/distributed-calculator
# make validate
# popd
# - name: Validate pub-sub
# if: matrix.os == 'ubuntu-latest'
# run: |
# pushd tutorials/pub-sub
# make validate
# popd
# - name: Validate bindings
# if: matrix.os == 'ubuntu-latest'
# run: |
# pushd tutorials/bindings
# make validate
# popd
# - name: Validate secretstore
# if: matrix.os == 'ubuntu-latest'
# run: |
# pushd tutorials/secretstore
# make validate
# popd
# - name: Validate observability
# if: matrix.os == 'ubuntu-latest'
# run: |
# pushd tutorials/observability
# make validate
# popd
- name: Linkcheck README.md
run: |
make validate
2 changes: 1 addition & 1 deletion tutorials/distributed-calculator/go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/dapr/quickstarts/distributed-calculator/go

go 1.19

require github.com/gorilla/mux v1.8.0
require github.com/gorilla/mux v1.8.1
2 changes: 2 additions & 0 deletions tutorials/distributed-calculator/go/go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI=
github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY=
github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ=
Loading

0 comments on commit 64e85b5

Please sign in to comment.