forked from testcontainers/testcontainers-go
-
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.
Merge branch 'main' into pre-creation-hook
* main: (44 commits) feat: support passing registry credentials to the reaper (testcontainers#647) fix: close response body in http strategy (testcontainers#718) chore: move e2e module to postgres example module (testcontainers#717) chore: bump containerd transitive dep in examples (testcontainers#715) chore(deps): bump github.com/containerd/containerd from 1.6.12 to 1.6.14 (testcontainers#703) chore(deps): bump github.com/compose-spec/compose-go in /modules/compose (testcontainers#710) chore: bump testcontainers-go to 0.17.0 in examples (testcontainers#714) chore(deps): bump github.com/docker/compose/v2 in /modules/compose (testcontainers#711) chore: support running MySQL compose in ARM (testcontainers#712) chore: simplify compose replace directives (testcontainers#713) chore: add compose module to dependabot (testcontainers#709) chore: move compose code to a separate module (testcontainers#650) docs: refine onboarding process with quickstart guide (testcontainers#706) chore: move redis-specific tests to the example module (testcontainers#701) chore: bump transitive dependencies (#527) chore: reduce concurrent builds (testcontainers#702) chore: add mysql example (testcontainers#700) chore(deps): bump google.golang.org/api from 0.104.0 to 0.105.0 (testcontainers#699) chore(deps): bump google.golang.org/api in /examples/firestore (testcontainers#683) chore(deps): bump cloud.google.com/go/spanner in /examples/spanner (testcontainers#688) ...
- Loading branch information
Showing
114 changed files
with
3,296 additions
and
10,007 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 |
---|---|---|
@@ -1,14 +1,86 @@ | ||
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: daily | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /modules/compose | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/bigtable | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/cockroachdb | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/datastore | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/firestore | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/mysql | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/nginx | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/postgres | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/pubsub | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/pulsar | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/redis | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/spanner | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 3 | ||
rebase-strategy: disabled | ||
- package-ecosystem: gomod | ||
directory: /examples/toxiproxy | ||
schedule: | ||
interval: daily | ||
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
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.18.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
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,47 @@ | ||
name: Compose module pipeline | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test-compose: | ||
strategy: | ||
matrix: | ||
go-version: [1.18.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: ./modules/compose | ||
run: go mod verify | ||
|
||
- name: modTidy | ||
working-directory: ./modules/compose | ||
run: go mod tidy | ||
|
||
- name: gotestsum | ||
working-directory: ./modules/compose | ||
run: | | ||
go run gotest.tools/gotestsum \ | ||
--format short-verbose \ | ||
--rerun-fails=5 \ | ||
--packages="./..." \ | ||
--junitfile TEST-compose.xml | ||
- name: Run checker | ||
run: | | ||
./scripts/check_environment.sh | ||
- name: Test Summary | ||
uses: test-summary/action@4ee9ece4bca777a38f05c8fc578ac2007fe266f7 | ||
with: | ||
paths: "**/TEST-compose*.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Mysql example pipeline | ||
|
||
on: [push, pull_request] | ||
|
||
concurrency: | ||
group: "${{ github.workflow }}-${{ github.head_ref || github.sha }}" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test-mysql: | ||
strategy: | ||
matrix: | ||
go-version: [1.18.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/mysql | ||
run: go mod verify | ||
|
||
- name: modTidy | ||
working-directory: ./examples/mysql | ||
run: make tools-tidy | ||
|
||
- name: gotestsum | ||
working-directory: ./examples/mysql | ||
run: make test-unit | ||
|
||
- name: Run checker | ||
run: | | ||
./scripts/check_environment.sh | ||
- name: Test Summary | ||
uses: test-summary/action@4ee9ece4bca777a38f05c8fc578ac2007fe266f7 | ||
with: | ||
paths: "**/TEST-mysql*.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Postgres example pipeline | ||
|
||
on: [push, pull_request] | ||
|
||
concurrency: | ||
group: "${{ github.workflow }}-${{ github.head_ref || github.sha }}" | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test-postgres: | ||
strategy: | ||
matrix: | ||
go-version: [1.18.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/postgres | ||
run: go mod verify | ||
|
||
- name: modTidy | ||
working-directory: ./examples/postgres | ||
run: make tools-tidy | ||
|
||
- name: gotestsum | ||
working-directory: ./examples/postgres | ||
run: make test-unit | ||
|
||
- name: Run checker | ||
run: | | ||
./scripts/check_environment.sh | ||
- name: Test Summary | ||
uses: test-summary/action@4ee9ece4bca777a38f05c8fc578ac2007fe266f7 | ||
with: | ||
paths: "**/TEST-postgres*.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
Oops, something went wrong.