-
-
Notifications
You must be signed in to change notification settings - Fork 460
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into chore/write-test-for-sql-wait
- Loading branch information
Showing
233 changed files
with
11,959 additions
and
11,243 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,33 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
// README at: https://github.com/devcontainers/templates/tree/main/src/go | ||
{ | ||
"name": "Go", | ||
"image": "mcr.microsoft.com/devcontainers/go:0-1.18-bullseye", | ||
|
||
// Features to add to the dev container. More info: https://containers.dev/features. | ||
// "features": {}, | ||
|
||
// Configure tool-specific properties. | ||
"customizations": { | ||
// Configure properties specific to VS Code. | ||
"vscode": { | ||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
"go.toolsManagement.checkForUpdates": "local", | ||
"go.useLanguageServer": true, | ||
"go.gopath": "/go" | ||
}, | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"golang.go" | ||
] | ||
} | ||
}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}, | ||
"ghcr.io/devcontainers/features/git:1": {}, | ||
"ghcr.io/devcontainers/features/github-cli:1": {} | ||
}, | ||
"postStartCommand": ["go", "build"] | ||
} |
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 |
---|---|---|
@@ -1,14 +1,116 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: gomod | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: "/e2e" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: / | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/bigtable | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/cockroachdb | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/consul | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/datastore | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/firestore | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/mongodb | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/mysql | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/nginx | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/postgres | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/pubsub | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/redis | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/spanner | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/toxiproxy | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /modulegen | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /modules/compose | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /modules/couchbase | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /modules/localstack | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /modules/pulsar | ||
schedule: | ||
interval: monthly | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled |
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 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 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,46 @@ | ||
name: Bigtable example pipeline | ||
|
||
on: [push, pull_request] | ||
|
||
concurrency: | ||
group: "${{ github.workflow }}-${{ github.head_ref || github.sha }}" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test-bigtable: | ||
strategy: | ||
matrix: | ||
go-version: [1.19.x, 1.x] | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
id: go | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v3 | ||
|
||
- name: modVerify | ||
working-directory: ./examples/bigtable | ||
run: go mod verify | ||
|
||
- name: modTidy | ||
working-directory: ./examples/bigtable | ||
run: make tools-tidy | ||
|
||
- name: gotestsum | ||
working-directory: ./examples/bigtable | ||
run: make test-unit | ||
|
||
- name: Run checker | ||
run: | | ||
./scripts/check_environment.sh | ||
- name: Test Summary | ||
uses: test-summary/action@4ee9ece4bca777a38f05c8fc578ac2007fe266f7 | ||
with: | ||
paths: "**/TEST-bigtable*.xml" | ||
if: always() |
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 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 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,46 @@ | ||
name: Consul example pipeline | ||
|
||
on: [push, pull_request] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test-consul: | ||
strategy: | ||
matrix: | ||
go-version: [1.19.x, 1.x] | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
id: go | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v3 | ||
|
||
- name: modVerify | ||
working-directory: ./examples/consul | ||
run: go mod verify | ||
|
||
- name: modTidy | ||
working-directory: ./examples/consul | ||
run: make tools-tidy | ||
|
||
- name: gotestsum | ||
working-directory: ./examples/consul | ||
run: make test-unit | ||
|
||
- name: Run checker | ||
run: | | ||
./scripts/check_environment.sh | ||
- name: Test Summary | ||
uses: test-summary/action@4ee9ece4bca777a38f05c8fc578ac2007fe266f7 | ||
with: | ||
paths: "**/TEST-consul*.xml" | ||
if: always() |
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 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 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
Oops, something went wrong.