Skip to content

Commit 91baa24

Browse files
committed
Initial integration test move from azdo to GHA
- use TPE runner - pass personal access token to python setup job to avoid rate limiting - excluding samples for which required backing services aren't available in dhaka - vary which OS runs first - allow retries even when push reports failure
1 parent f17d9db commit 91baa24

File tree

98 files changed

+1107
-2183
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1107
-2183
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Enable running shell scripts from bash on Windows
22
*.sh eol=lf
3+
*.py eol=lf
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "Configuration: ConfigurationProviders"
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
- '[0-9]+.x'
9+
pull_request:
10+
paths:
11+
- .gitattributes
12+
- .gitignore
13+
- behave*
14+
- Pipfile*
15+
- pyenv.pkgs
16+
- '**/*.py'
17+
- Configuration/src/ConfigurationProviders/**
18+
- .github/workflows/configuration.yml
19+
- .github/workflows/shared-test-workflow.yml
20+
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: true
24+
25+
jobs:
26+
windows:
27+
uses: ./.github/workflows/shared-test-workflow.yml
28+
secrets: inherit
29+
with:
30+
feature: Configuration
31+
sample: ConfigurationProviders
32+
OS: windows
33+
linux:
34+
needs: windows
35+
if: ${{ !cancelled() }}
36+
uses: ./.github/workflows/shared-test-workflow.yml
37+
secrets: inherit
38+
with:
39+
feature: Configuration
40+
sample: ConfigurationProviders
41+
OS: linux
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "Connectors: MySqlEFCore"
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
- '[0-9]+.x'
9+
pull_request:
10+
paths:
11+
- .gitattributes
12+
- .gitignore
13+
- behave*
14+
- Pipfile*
15+
- pyenv.pkgs
16+
- '**/*.py'
17+
- Connectors/src/MySqlEFCore/**
18+
- .github/workflows/mysql-efcore.yml
19+
- .github/workflows/shared-test-workflow.yml
20+
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: true
24+
25+
jobs:
26+
windows:
27+
uses: ./.github/workflows/shared-test-workflow.yml
28+
secrets: inherit
29+
with:
30+
feature: Connectors
31+
sample: MySqlEFCore
32+
OS: windows
33+
linux:
34+
needs: windows
35+
if: ${{ !cancelled() }}
36+
uses: ./.github/workflows/shared-test-workflow.yml
37+
secrets: inherit
38+
with:
39+
feature: Connectors
40+
sample: MySqlEFCore
41+
OS: linux
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
1-
name: MySQL
1+
name: "Connectors: MySql"
22

33
on:
44
workflow_dispatch:
55
push:
66
branches:
77
- main
88
- '[0-9]+.x'
9-
paths:
10-
- .gitattributes
11-
- .gitignore
12-
- behave*
13-
- Pipfile*
14-
- pyenv.pkgs
15-
- '**/*.py'
16-
- Connectors/src/MySql/**
17-
- .github/workflows/mysql.yml
18-
- .github/workflows/shared-test-workflow.yml
199
pull_request:
2010
paths:
2111
- .gitattributes
@@ -33,10 +23,19 @@ concurrency:
3323
cancel-in-progress: true
3424

3525
jobs:
36-
echo:
37-
if: ${{ github.repository == 'TNZ/steeltoe-samples' }}
38-
runs-on: tpe-nano
39-
40-
steps:
41-
- name: Verify trigger
42-
run: echo "Job was triggered successfully!"
26+
linux:
27+
uses: ./.github/workflows/shared-test-workflow.yml
28+
secrets: inherit
29+
with:
30+
feature: Connectors
31+
sample: MySql
32+
OS: linux
33+
windows:
34+
needs: linux
35+
if: ${{ !cancelled() }}
36+
uses: ./.github/workflows/shared-test-workflow.yml
37+
secrets: inherit
38+
with:
39+
feature: Connectors
40+
sample: MySql
41+
OS: windows
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "Connectors: PostgreSQL"
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
- '[0-9]+.x'
9+
pull_request:
10+
paths:
11+
- .gitattributes
12+
- .gitignore
13+
- behave*
14+
- Pipfile*
15+
- pyenv.pkgs
16+
- '**/*.py'
17+
- Connectors/src/PostgreSql/**
18+
- .github/workflows/postgresql.yml
19+
- .github/workflows/shared-test-workflow.yml
20+
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: true
24+
25+
jobs:
26+
windows:
27+
uses: ./.github/workflows/shared-test-workflow.yml
28+
secrets: inherit
29+
with:
30+
feature: Connectors
31+
sample: PostgreSql
32+
OS: windows
33+
linux:
34+
needs: windows
35+
if: ${{ !cancelled() }}
36+
uses: ./.github/workflows/shared-test-workflow.yml
37+
secrets: inherit
38+
with:
39+
feature: Connectors
40+
sample: PostgreSql
41+
OS: linux
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "Connectors: PostgreSqlEFCore"
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
- '[0-9]+.x'
9+
pull_request:
10+
paths:
11+
- .gitattributes
12+
- .gitignore
13+
- behave*
14+
- Pipfile*
15+
- pyenv.pkgs
16+
- '**/*.py'
17+
- Connectors/src/PostgreSqlEFCore/**
18+
- .github/workflows/postgresql-efcore.yml
19+
- .github/workflows/shared-test-workflow.yml
20+
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: true
24+
25+
jobs:
26+
linux:
27+
uses: ./.github/workflows/shared-test-workflow.yml
28+
secrets: inherit
29+
with:
30+
feature: Connectors
31+
sample: PostgreSqlEFCore
32+
OS: linux
33+
windows:
34+
needs: linux
35+
if: ${{ !cancelled() }}
36+
uses: ./.github/workflows/shared-test-workflow.yml
37+
secrets: inherit
38+
with:
39+
feature: Connectors
40+
sample: PostgreSqlEFCore
41+
OS: windows
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "Connectors: RabbitMQ"
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
- '[0-9]+.x'
9+
pull_request:
10+
paths:
11+
- .gitattributes
12+
- .gitignore
13+
- behave*
14+
- Pipfile*
15+
- pyenv.pkgs
16+
- '**/*.py'
17+
- Connectors/src/RabbitMQ/**
18+
- .github/workflows/rabbitmq.yml
19+
- .github/workflows/shared-test-workflow.yml
20+
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: true
24+
25+
jobs:
26+
linux:
27+
uses: ./.github/workflows/shared-test-workflow.yml
28+
secrets: inherit
29+
with:
30+
feature: Connectors
31+
sample: RabbitMQ
32+
OS: linux
33+
windows:
34+
needs: linux
35+
if: ${{ !cancelled() }}
36+
uses: ./.github/workflows/shared-test-workflow.yml
37+
secrets: inherit
38+
with:
39+
feature: Connectors
40+
sample: RabbitMQ
41+
OS: windows
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "Connectors: Redis"
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
- '[0-9]+.x'
9+
pull_request:
10+
paths:
11+
- .gitattributes
12+
- .gitignore
13+
- behave*
14+
- Pipfile*
15+
- pyenv.pkgs
16+
- '**/*.py'
17+
- Connectors/src/Redis/**
18+
- .github/workflows/redis.yml
19+
- .github/workflows/shared-test-workflow.yml
20+
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: true
24+
25+
jobs:
26+
linux:
27+
uses: ./.github/workflows/shared-test-workflow.yml
28+
secrets: inherit
29+
with:
30+
feature: Connectors
31+
sample: Redis
32+
OS: linux
33+
windows:
34+
needs: linux
35+
if: ${{ !cancelled() }}
36+
uses: ./.github/workflows/shared-test-workflow.yml
37+
secrets: inherit
38+
with:
39+
feature: Connectors
40+
sample: Redis
41+
OS: windows
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: "FileShares: FileSharesWeb"
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
- '[0-9]+.x'
9+
pull_request:
10+
paths:
11+
- .gitattributes
12+
- .gitignore
13+
- behave*
14+
- Pipfile*
15+
- pyenv.pkgs
16+
- '**/*.py'
17+
- FileShares/src/FileSharesWeb/**
18+
- .github/workflows/networkfileshares.yml
19+
- .github/workflows/shared-test-workflow.yml
20+
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: true
24+
25+
jobs:
26+
windows:
27+
uses: ./.github/workflows/shared-test-workflow.yml
28+
secrets: inherit
29+
with:
30+
feature: FileShares
31+
sample: FileSharesWeb
32+
OS: windows
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: "Management: ActuatorApi"
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
- '[0-9]+.x'
9+
pull_request:
10+
paths:
11+
- .gitattributes
12+
- .gitignore
13+
- behave*
14+
- Pipfile*
15+
- pyenv.pkgs
16+
- '**/*.py'
17+
- Management/src/ActuatorApi/**
18+
- .github/workflows/management.yml
19+
- .github/workflows/shared-test-workflow.yml
20+
21+
concurrency:
22+
group: ${{ github.workflow }}-${{ github.ref }}
23+
cancel-in-progress: true
24+
25+
jobs:
26+
linux:
27+
uses: ./.github/workflows/shared-test-workflow.yml
28+
secrets: inherit
29+
with:
30+
feature: Management
31+
sample: ActuatorApi
32+
OS: linux
33+
windows:
34+
needs: linux
35+
if: ${{ !cancelled() }}
36+
uses: ./.github/workflows/shared-test-workflow.yml
37+
secrets: inherit
38+
with:
39+
feature: Management
40+
sample: ActuatorApi
41+
OS: windows

0 commit comments

Comments
 (0)