-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace channel2 with updated (intermediate) channel API. Add GH acti…
…ons and readme
- Loading branch information
Showing
59 changed files
with
1,573 additions
and
4,426 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# see: | ||
# https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-code-owners | ||
* @openziti/maintainers | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: gomod | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- release-* | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Git Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: '~1.17.0' | ||
|
||
- name: Install Ziti CI | ||
uses: netfoundry/ziti-ci@v1 | ||
|
||
- name: Build and Test | ||
run: | | ||
go test ./... | ||
- name: Release | ||
env: | ||
gh_ci_key: ${{ secrets.GH_CI_KEY }} | ||
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release-') | ||
run: | | ||
$(go env GOPATH)/bin/ziti-ci configure-git | ||
$(go env GOPATH)/bin/ziti-ci tag -v -f version | ||
$(go env GOPATH)/bin/ziti-ci trigger-github-build openziti/fabric update-dependency --token ${{ secrets.ZITI_CI_GH_TOKEN }} | ||
$(go env GOPATH)/bin/ziti-ci trigger-github-build openziti/sdk-golang update-dependency --token ${{ secrets.ZITI_CI_GH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: mattermost-ziti-webhook | ||
on: | ||
create: | ||
delete: | ||
issues: | ||
issue_comment: | ||
pull_request_review: | ||
pull_request_review_comment: | ||
pull_request: | ||
push: | ||
fork: | ||
release: | ||
|
||
jobs: | ||
mattermost-ziti-webhook: | ||
runs-on: macos-latest | ||
name: POST Webhook | ||
steps: | ||
- uses: openziti/ziti-webhook-action@main | ||
with: | ||
ziti-id: ${{ secrets.ZITI_MATTERMOST_IDENTITY }} | ||
webhook-url: ${{ secrets.ZITI_MATTERMOST_WEBHOOK_URL }} | ||
webhook-secret: ${{ secrets.ZITI_MATTERMOSTI_WEBHOOK_SECRET }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: update-dependency | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
updated-dependency: | ||
description: The dependency that was updated | ||
required: true | ||
|
||
jobs: | ||
build: | ||
if: github.ref == 'refs/heads/update-dependency' | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Git Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: '~1.17.0' | ||
|
||
- name: Install Ziti CI | ||
uses: netfoundry/ziti-ci@v1 | ||
|
||
- name: Update Dependency | ||
env: | ||
gh_ci_key: ${{ secrets.GH_CI_KEY }} | ||
run: | | ||
$(go env GOPATH)/bin/ziti-ci configure-git | ||
$(go env GOPATH)/bin/ziti-ci update-go-dependency ${{ github.event.inputs.updated-dependency }} | ||
- name: Build and Test | ||
run: go test ./... | ||
|
||
- name: Complete Dependency Update | ||
run: $(go env GOPATH)/bin/ziti-ci complete-update-go-dependency |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Channel | ||
channel is a binary message framework. It includes the following features: | ||
|
||
* Supports registering message type handlers | ||
* Supports request/response pattern as well as unidirectional message streams | ||
* Allows plugging observers to enable metrics and other use cases | ||
* Async or sync patterns | ||
* Protobufs supported but not required |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.