Skip to content

Commit ee8d678

Browse files
authored
Merge pull request #18 from mchmarny/master
Custom go SDK (aka bespoke client proposal)
2 parents cb34403 + 3349abc commit ee8d678

37 files changed

+3514
-1336
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/discussion.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/proposal.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/pull_request_template.md

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*' # v0.8.1
7+
8+
jobs:
9+
10+
build:
11+
name: Create Release
12+
runs-on: ubuntu-latest
13+
steps:
14+
15+
- name: Setup
16+
id: go
17+
uses: actions/setup-go@v2
18+
with:
19+
go-version: ^1.14
20+
21+
- name: Checkout
22+
id: setup
23+
uses: actions/checkout@v2
24+
25+
- name: Tidy
26+
run: |
27+
go mod tidy
28+
go mod vendor
29+
30+
- name: Test
31+
run: go test -v -count=1 -race ./...
32+
33+
- name: Version
34+
id: get_version
35+
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
36+
37+
- name: Release
38+
id: release-step
39+
uses: actions/create-release@v1
40+
env:
41+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
with:
43+
tag_name: ${{ github.ref }}
44+
release_name: Release ${{ github.ref }}
45+
body: Automatic go Dapr client release
46+
draft: false
47+
prerelease: false
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
8+
build:
9+
name: Test Push
10+
runs-on: ubuntu-latest
11+
steps:
12+
13+
- name: Setup
14+
id: go
15+
uses: actions/setup-go@v2
16+
with:
17+
go-version: ^1.14
18+
19+
- name: Checkout
20+
id: setup
21+
uses: actions/checkout@v2
22+
23+
- name: Tidy
24+
run: |
25+
go mod tidy
26+
go mod vendor
27+
28+
- name: Test
29+
run: go test -v -count=1 -race ./...
30+
31+

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,10 @@
1010

1111
# Output of the go coverage tool, specifically when used with LiteIDE
1212
*.out
13+
.DS_Store
14+
15+
# vendor
16+
vendor
17+
18+
# docs
19+
golang.org

CONTRIBUTING.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contribution Guidelines
22

3-
Thank you for your interest in Dapr!
3+
Thank you for your interest in Dapr go SDK!
44

55
This project welcomes contributions and suggestions. Most contributions require you to
66
agree to a Contributor License Agreement (CLA) declaring that you have the right to,
@@ -37,18 +37,13 @@ There are 4 types of issues:
3737

3838
Before you file an issue, make sure you've checked the following:
3939

40-
1. Is it the right repository?
41-
- The Dapr project is distributed across multiple repositories. Check the list of [repositories](https://github.com/dapr) if you aren't sure which repo is the correct one.
4240
1. Check for existing issues
4341
- Before you create a new issue, please do a search in [open issues](https://github.com/dapr/go-sdk/issues) to see if the issue or feature request has already been filed.
4442
- If you find your issue already exists, make relevant comments and add your [reaction](https://github.com/blog/2119-add-reaction-to-pull-requests-issues-and-comments). Use a reaction:
4543
- 👍 up-vote
4644
- 👎 down-vote
47-
1. For bugs
48-
- Check it's not an environment issue. For example, if running on Kubernetes, make sure prerequisites are in place. (state stores, bindings, etc.)
49-
- You have as much data as possible. This usually comes in the form of logs and/or stacktrace. If running on Kubernetes or other environment, look at the logs of the Dapr services (runtime, operator, placement service). More details on how to get logs can be found [here](https://github.com/dapr/docs/tree/master/best-practices/troubleshooting/logs.md).
5045
1. For proposals
51-
- Many changes to the Dapr runtime may require changes to the API. In that case, the best place to discuss the potential feature is the main [Dapr repo](https://github.com/dapr/dapr).
46+
- Some changes to the Dapr go SDK may require changes to the API. In that case, the best place to discuss the potential feature is the main [Dapr repo](https://github.com/dapr/dapr).
5247
- Other examples could include bindings, state stores or entirely new components.
5348

5449
## Contributing to Dapr

0 commit comments

Comments
 (0)