Skip to content

Commit

Permalink
fix: validate with cli fix
Browse files Browse the repository at this point in the history
Signed-off-by: mikeee <[email protected]>
  • Loading branch information
mikeee committed Jul 11, 2024
1 parent 89a90e1 commit 8881371
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/validate_examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ jobs:
GOARCH: amd64
GOPROXY: https://proxy.golang.org
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/master/install/install.sh
DAPR_CLI_REF: ${{ github.event.inputs.daprcli_commit }}
DAPR_CLI_REF: 19b9de05611ade540b06d2c061f32f6c37093a17
DAPR_REF: ${{ github.event.inputs.daprdapr_commit }}
CHECKOUT_REPO: ${{ github.repository }}
CHECKOUT_REF: ${{ github.ref }}
outputs:
DAPR_INSTALL_URL: ${{ env.DAPR_INSTALL_URL }}
DAPR_CLI_VER: 1.14.0-rc.2
DAPR_CLI_VER: ${{ steps.outputs.outputs.DAPR_CLI_VER }}
DAPR_CLI_REF: ${{ steps.outputs.outputs.DAPR_CLI_REF }}
DAPR_RUNTIME_VER: 1.14.0-rc.2
CHECKOUT_REPO: ${{ steps.outputs.outputs.CHECKOUT_REPO }}
Expand Down Expand Up @@ -204,6 +204,11 @@ jobs:
if: env.DAPR_CLI_VER != ''
run: wget -q ${{ env.DAPR_INSTALL_URL }} -O - | /bin/bash -s ${{ env.DAPR_CLI_VER }}

- name: Override dapr cli with referenced commit.
if: env.DAPR_CLI_REF != ''
run: |
sudo cp $HOME/artifacts/$GITHUB_SHA/dapr /usr/local/bin/dapr
- name: Initialize Dapr runtime ${{ env.DAPR_RUNTIME_VER }}
run: |
dapr uninstall --all
Expand All @@ -213,11 +218,6 @@ jobs:
run: |
docker logs dapr_scheduler
- name: Override dapr cli with referenced commit.
if: env.DAPR_CLI_REF != ''
run: |
sudo cp $HOME/artifacts/$GITHUB_SHA/dapr /usr/local/bin/dapr
- name: Override daprd with referenced commit.
if: env.DAPR_REF != ''
run: |
Expand Down
2 changes: 1 addition & 1 deletion examples/dist-scheduler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ sleep: 60
```bash
~/.dapr/bin/daprd --app-id=distributed-scheduler \
--metrics-port=9091 \
--scheduler-host-address=0.0.0.0:50006 \
--scheduler-host-address=localhost:50006 \
--dapr-grpc-port 50001 \
--app-port 50070 \
--app-protocol grpc \
Expand Down

0 comments on commit 8881371

Please sign in to comment.