Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bindings test #1

Open
wants to merge 71 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
226bdc2
JS state mgmt tests (#630)
tanvigour Mar 29, 2022
c21a8f5
Reorder quickstarts so the processor is run before the publisher (#637)
duglin Apr 7, 2022
05163cc
Changed docker installation version (#649)
amulyavarote Apr 15, 2022
5bd523f
change order_pub_sub to orderpubsub (#654)
yaron2 Apr 26, 2022
5b97bf5
Update README.md (#634)
patrickhuber Apr 27, 2022
ca899f7
Fix some paths since there's a "tutorial" dir now (#631)
duglin Apr 27, 2022
55a3d51
Fix vulnerabilities in distributed calc (#629)
greenie-msft Apr 27, 2022
3f54324
Updated hello-world/-kuberentes Node.js apps (#642)
ItalyPaleAle Apr 27, 2022
27d3363
Modified k8s readme to show API logs (#660)
amulyavarote Apr 27, 2022
017da7d
-app-port for listen port, mm installation (#659)
akhilac1 Apr 29, 2022
cf3054f
Added secrets management examples with the workflow (#653)
amulyavarote Apr 29, 2022
8350b0e
Changed variables in index.js (#665)
amulyavarote Apr 29, 2022
767c717
Testing the worlflow
amulyavarote May 4, 2022
a97e061
Removed k8s tests from Mac validation
amulyavarote May 4, 2022
3aea5f8
Merge pull request #667 from amulyavarote/validation_failure_fix
amulyavarote May 5, 2022
57fc965
Update Python pub_sub fastapi example (#635)
inirudebwoy May 6, 2022
b9b71c6
Update Program.cs (#643)
davidfowl May 6, 2022
2ae022f
Java quickstart examples for secret store building block (#670)
pravinpushkar May 13, 2022
eb69a7c
Java quickstarts auto validate for pubsub, state mgmt and service inv…
pravinpushkar May 23, 2022
71e5489
add folder paths to launch for split projects (#493)
tonysurma May 23, 2022
8657a67
feat(pub_sub/go/sdk): Upgrade Dapr Go SDK to 1.4.0 (#666)
noahziheng May 24, 2022
f305054
Added the csharp subscriber sample.
Arashrohani Oct 20, 2021
45c7bd5
Updated the README.md, Added a new yaml file and updated the appsetti…
Arashrohani Oct 20, 2021
5eb6812
Updated the prot in launchSettings.json
Arashrohani Oct 20, 2021
b0a70d9
Added the new MessageEvent class
Arashrohani Oct 20, 2021
5c6fc9b
Upgraded to ASP.NET Core 6 Minimal API
Arashrohani May 8, 2022
e2012ef
Updated makefile and readme.me to fix the build issue.
Arashrohani May 9, 2022
363bcff
Removed Swagger support and Updated the missing steps in README.
Arashrohani May 11, 2022
53aeab7
Removed the whole if condition section.
Arashrohani May 11, 2022
a7a497d
Updated the README regarding the C# changes and fixed a typo.
Arashrohani May 11, 2022
7167b10
Merge pull request #485 from Arashrohani/new-subscriber
paulyuk May 26, 2022
75bc873
Updated the docker file to use linux arm image
Arashrohani May 26, 2022
51fbc01
Merge pull request #672 from Arashrohani/new-subscriber
paulyuk May 27, 2022
74bd707
Revert "Updated the docker file to use linux arm image"
paulyuk May 27, 2022
5b7e81c
Merge pull request #673 from dapr/revert-672-new-subscriber
paulyuk May 27, 2022
67002ec
Updated makefile and Dockerfile to fix the issue related to dotnet do…
Arashrohani May 27, 2022
835d875
Added go examples for secrets management (#676)
amulyavarote May 31, 2022
f760351
Fix quickstarts to use app-port (#675)
akhilac1 May 31, 2022
5471679
Merge pull request #674 from Arashrohani/new-subscriber
paulyuk Jun 1, 2022
958bee4
Fixing the broken link for dapr kubernetes installation
amulyavarote Jun 1, 2022
275ae65
Reverting the change
amulyavarote Jun 1, 2022
6165f17
Merge pull request #677 from amulyavarote/build_failure_fix
amulyavarote Jun 2, 2022
c0e29ad
Sets APP_PORT in env var of kubernetes yaml and sets default value in…
paulyuk Jun 4, 2022
78caa02
#682 APP_PORT not injected into app container
akhilac1 Jun 4, 2022
95bc628
Update app.py
akhilac1 Jun 4, 2022
2917cbf
#682 APP_PORT not injected into app container
akhilac1 Jun 4, 2022
11c10d9
Merge branch 'hotfix_quickstarts_app_port' of https://github.com/akhi…
akhilac1 Jun 4, 2022
4ea5640
Update app.py
akhilac1 Jun 4, 2022
b866cd6
Merge branch 'hotfix_quickstarts_app_port' of https://github.com/akhi…
akhilac1 Jun 4, 2022
8d50f5d
clean up test commands from yaml
akhilac1 Jun 4, 2022
487ddaa
revert python launch command
akhilac1 Jun 4, 2022
ec4d0a7
Update pub_sub/javascript/http/order-processor/index.js
akhilac1 Jun 5, 2022
cd282dc
Update tutorials/distributed-calculator/node/app.js
akhilac1 Jun 5, 2022
7787b0c
Update tutorials/hello-world/node/app.js
akhilac1 Jun 5, 2022
69efc77
Update tutorials/bindings/nodeapp/app.js
akhilac1 Jun 5, 2022
2f37181
Merge pull request #685 from akhilac1/hotfix_quickstarts_app_port
paulyuk Jun 5, 2022
c3e8355
Changed state management workflow
amulyavarote Jun 6, 2022
3675c06
Commented Java workflow
amulyavarote Jun 6, 2022
1bce2a2
Merge pull request #688 from amulyavarote/state_mgnt_workflow
paulyuk Jun 6, 2022
d89d776
java examples auto validate
pravinpushkar Jun 8, 2022
1ddb480
java examples auto validate
pravinpushkar Jun 8, 2022
76cb759
Fix CodeSpace failure for quickstarts repo (#692)
paulyuk Jun 9, 2022
24deefe
Merge pull request #690 from pravinpushkar/master
amulyavarote Jun 9, 2022
426af20
Removed the extra space in expected test result (#689)
Arashrohani Jun 10, 2022
6ae6eb1
Fix and normalize the Javascript HTTP and SDK styles of State Managem…
mattmazzola Jun 14, 2022
31c86fe
Binding quickstart - Cron input PostgreSQL output (#669)
nirmash Jun 23, 2022
7b202e5
Updating uber readme for all quickstarts with Bindings & Secrets cont…
paulyuk Jun 23, 2022
ce69cc1
Change all references of app-id in bindings examples to batch-*
greenie-msft Jun 23, 2022
2d02f86
fix typo
greenie-msft Jun 23, 2022
53ae9c3
Test bindings test
greenie-msft Jun 24, 2022
c21a2c8
detach from compose
greenie-msft Jun 24, 2022
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
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# limitations under the License.
#

FROM mcr.microsoft.com/vscode/devcontainers/universal:1-focal
FROM mcr.microsoft.com/vscode/devcontainers/universal:latest

# Copy custom first notice message.
COPY first-run-notice.txt /tmp/staging/
Expand Down
176 changes: 0 additions & 176 deletions .github/workflows/validate.yaml

This file was deleted.

101 changes: 101 additions & 0 deletions .github/workflows/validate_new_quickstarts_bindings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
#
# Copyright 2022 The Dapr Authors
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

name: Validate State Management

on:
workflow_dispatch:
push:
branches:
- master
- feature/new_quickstarts
- release-*
tags:
- v*
pull_request:
branches:
- master
- feature/new_quickstarts
- release-*
jobs:
deploy:
name: Validate quickstarts on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/master/install
GOVER: 1.17
KUBERNETES_VERSION: v1.21.1
KIND_VERSION: v0.11.0
KIND_IMAGE_SHA: sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- name: Install docker - MacOS
if: matrix.os == 'macos-latest'
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install --cask docker
sudo /Applications/Docker.app/Contents/MacOS/Docker --unattended --install-privileged-components
open -a /Applications/Docker.app --args --unattended --accept-license
while ! /Applications/Docker.app/Contents/Resources/bin/docker info &>/dev/null; do sleep 1; done
docker --version
- name: Set up Go ${{ env.GOVER }}
uses: actions/setup-go@v2
with:
go-version: ${{ env.GOVER }}
- name: Set up OpenJDK 11
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 11
- name: Determine latest Dapr Runtime version including Pre-releases
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_VERSION=$RUNTIME_VERSION" >> $GITHUB_ENV
echo "Found $RUNTIME_VERSION"
shell: bash
- name: Determine latest Dapr Cli version including Pre-releases
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_VERSION=$CLI_VERSION" >> $GITHUB_ENV
echo "Found $CLI_VERSION"
shell: bash
- name: Set up Dapr CLI - Mac/Linux
if: matrix.os != 'windows-latest'
run: wget -q ${{ env.DAPR_INSTALL_URL }}/install.sh -O - | /bin/bash -s ${{ env.DAPR_CLI_VERSION }}
- name: Set up Dapr CLI - Windows
if: matrix.os == 'windows-latest'
run: powershell -Command "\$$script=iwr -useb ${{ env.DAPR_INSTALL_URL }}/install.ps1; \$$block=[ScriptBlock]::Create(\$$script); invoke-command -ScriptBlock \$$block -ArgumentList ${{ env.DAPR_CLI_VERSION }}"
- name: Install Dapr
run: |
export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
dapr init --runtime-version=${{ env.DAPR_RUNTIME_VERSION }}
dapr --version
- name: Check out code
uses: actions/checkout@v2
- name: Install utilities dependencies
run: |
echo "PATH=$PATH:$HOME/.local/bin" >> $GITHUB_ENV
pip3 install setuptools wheel
pip3 install mechanical-markdown
- name: Set up Postgres
run: |
pushd bindings/db
docker compose up -d
popd
- name: Validate Python http Bindings
run: |
pushd bindings/python/http
make validate
popd
Loading