Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 3 additions & 13 deletions .github/workflows/validate_examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
GOOS: linux
GOARCH: amd64
GOPROXY: https://proxy.golang.org
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/master/install/install.sh
DAPR_RUNTIME_VER: 1.16.10
DAPR_CLI_VER: 1.16.5
DAPR_CLI_REF: ${{ github.event.inputs.daprcli_commit }}
DAPR_REF: ${{ github.event.inputs.daprdapr_commit }}
CHECKOUT_REPO: ${{ github.repository }}
Expand All @@ -62,17 +63,6 @@ jobs:
with:
repository: ${{ env.CHECKOUT_REPO }}
ref: ${{ env.CHECKOUT_REF }}
- uses: azure/setup-helm@v4
- name: Determine latest Dapr Runtime version
run: |
helm repo add dapr https://dapr.github.io/helm-charts/ && helm repo update && export RUNTIME_VERSION=$(helm search repo dapr/dapr --devel --versions | awk '/dapr\/dapr/ {print $3; exit}' )
echo "DAPR_RUNTIME_VER=$RUNTIME_VERSION" >> $GITHUB_ENV
echo "Found $RUNTIME_VERSION"
- name: Determine latest Dapr Cli version
run: |
export CLI_VERSION=$(curl "https://api.github.com/repos/dapr/cli/releases?per_page=1&page=1" --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' | jq '.[0].tag_name'| tr -d '",v')
echo "DAPR_CLI_VER=$CLI_VERSION" >> $GITHUB_ENV
echo "Found $CLI_VERSION"
- name: Set up Python ${{ matrix.python_ver }}
uses: actions/setup-python@v5
with:
Expand All @@ -82,7 +72,7 @@ jobs:
python -m pip install --upgrade pip
pip install setuptools wheel twine tox
- name: Set up Dapr CLI
run: wget -q ${{ env.DAPR_INSTALL_URL }} -O - | /bin/bash -s ${{ env.DAPR_CLI_VER }}
run: wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh -O - | /bin/bash -s ${{ env.DAPR_CLI_VER }}
- name: Set up Go ${{ env.GOVER }}
if: env.DAPR_REF != '' || env.DAPR_CLI_REF != ''
uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion dapr/version/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
limitations under the License.
"""

__version__ = '1.16.1'
__version__ = '1.16.2'
2 changes: 1 addition & 1 deletion examples/demo_actor/demo_actor/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dapr-ext-fastapi>=1.16.1
dapr-ext-fastapi>=1.16.2
2 changes: 1 addition & 1 deletion examples/demo_workflow/demo_workflow/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dapr-ext-workflow>=1.16.1
dapr-ext-workflow>=1.16.2
4 changes: 2 additions & 2 deletions examples/invoke-simple/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dapr-ext-grpc >= 1.16.1
dapr >= 1.16.1
dapr-ext-grpc >= 1.16.2
dapr >= 1.16.2
6 changes: 3 additions & 3 deletions examples/metadata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ two methods in that API:
2. **set_metadata**: Adds a custom label to the Dapr sidecar information stored
by the Metadata endpoint.

It creates a client using `DaprClient`, uses a set of components defined in the
It creates a client using `DaprClient`, uses a set of components defined in the
[`./components/`](./components/) folder and invokes the two APIs from
[Metadata API].

Expand Down Expand Up @@ -41,7 +41,7 @@ expected_stdout_lines:
- "== APP == registered_components:"
- "== APP == name=lockstore type=lock.redis version= capabilities=[]"
- "== APP == name=pubsub type=pubsub.redis version=v1 capabilities=[]"
- "== APP == name=statestore type=state.redis version=v1 capabilities=['ACTOR', 'ETAG', 'KEYS_LIKE', 'TRANSACTIONAL', 'TTL'"
- "== APP == name=statestore type=state.redis version=v1 capabilities=['ACTOR', 'ETAG', 'TRANSACTIONAL', 'TTL'"
- "== APP == We will update our custom label value and check it was persisted"
- "== APP == We added a custom label named [is-this-our-metadata-example]"
- "== APP == Its old value was [yes] but now it is [You bet it is!]"
Expand All @@ -64,7 +64,7 @@ The output should be as follows:
== APP == registered_components:
== APP == name=lockstore type=lock.redis version= capabilities=[]
== APP == name=pubsub type=pubsub.redis version=v1 capabilities=[]
== APP == name=statestore type=state.redis version=v1 capabilities=['ACTOR', 'ETAG', 'KEYS_LIKE', 'TRANSACTIONAL', 'TTL']
== APP == name=statestore type=state.redis version=v1 capabilities=['ACTOR', 'ETAG', 'TRANSACTIONAL', 'TTL']
== APP == We will update our custom label value and check it was persisted
== APP == We added a custom label named [is-this-our-metadata-example]
== APP == Its old value was [yes] but now it is [You bet it is!]
Expand Down
4 changes: 2 additions & 2 deletions examples/w3c-tracing/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dapr-ext-grpc >= 1.16.1
dapr >= 1.16.1
dapr-ext-grpc >= 1.16.2
dapr >= 1.16.2
opentelemetry-sdk
opentelemetry-instrumentation-grpc
opentelemetry-exporter-zipkin
4 changes: 2 additions & 2 deletions examples/workflow/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dapr-ext-workflow>=1.16.1
dapr>=1.16.1
dapr-ext-workflow>=1.16.2
dapr>=1.16.2
2 changes: 1 addition & 1 deletion ext/dapr-ext-fastapi/dapr/ext/fastapi/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
limitations under the License.
"""

__version__ = '1.16.1'
__version__ = '1.16.2'
2 changes: 1 addition & 1 deletion ext/dapr-ext-fastapi/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ python_requires = >=3.9
packages = find_namespace:
include_package_data = True
install_requires =
dapr >= 1.16.1
dapr >= 1.16.2
uvicorn >= 0.11.6
fastapi >= 0.60.1

Expand Down
2 changes: 1 addition & 1 deletion ext/dapr-ext-grpc/dapr/ext/grpc/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
limitations under the License.
"""

__version__ = '1.16.1'
__version__ = '1.16.2'
4 changes: 2 additions & 2 deletions ext/dapr-ext-grpc/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ python_requires = >=3.9
packages = find_namespace:
include_package_data = True
install_requires =
dapr >= 1.16.1
cloudevents >= 1.0.0
dapr >= 1.16.2
cloudevents >= 1.0.0, < 2.0.0

[options.packages.find]
include =
Expand Down
2 changes: 1 addition & 1 deletion ext/dapr-ext-workflow/dapr/ext/workflow/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
limitations under the License.
"""

__version__ = '1.16.1'
__version__ = '1.16.2'
2 changes: 1 addition & 1 deletion ext/dapr-ext-workflow/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ python_requires = >=3.9
packages = find_namespace:
include_package_data = True
install_requires =
dapr >= 1.16.1
dapr >= 1.16.2
durabletask-dapr >= 0.2.0a9

[options.packages.find]
Expand Down
2 changes: 1 addition & 1 deletion ext/flask_dapr/flask_dapr/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
limitations under the License.
"""

__version__ = '1.16.1'
__version__ = '1.16.2'
2 changes: 1 addition & 1 deletion ext/flask_dapr/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ include_package_data = true
zip_safe = false
install_requires =
Flask >= 1.1
dapr >= 1.16.1
dapr >= 1.16.2
Loading