@@ -14,24 +14,112 @@ env:
14
14
GOVERSION : 1.20.7
15
15
16
16
jobs :
17
- Integration_test :
18
- name : Integration Test
17
+ archive_integration_test :
18
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
19
+ with :
20
+ test_name : archive_test
21
+ build_integration_test :
22
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
23
+ with :
24
+ test_name : build_test
25
+ cli_integration_test :
26
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
27
+ with :
28
+ test_name : cli_test
29
+ connection_nix_integration_test :
30
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
31
+ with :
32
+ test_name : connection_nix_test
33
+ copy_integration_test :
34
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
35
+ with :
36
+ test_name : copy_test
37
+ dependenciesv1_integration_test :
38
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
39
+ with :
40
+ test_name : dependenciesv1_test
41
+ dependenciesv2_integration_test :
42
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
43
+ with :
44
+ test_name : dependenciesv2_test
45
+ driver_integration_test :
46
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
47
+ with :
48
+ test_name : driver_test
49
+ install_integration_test :
50
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
51
+ with :
52
+ test_name : install_test
53
+ invoke_integration_test :
54
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
55
+ with :
56
+ test_name : invoke_test
57
+ lint_integration_test :
58
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
59
+ with :
60
+ test_name : lint_test
61
+ migration_integration_test :
62
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
63
+ with :
64
+ test_name : migration_test
65
+ outputs_integration_test :
66
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
67
+ with :
68
+ test_name : outputs_test
69
+ publish_integration_test :
70
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
71
+ with :
72
+ test_name : publish_test
73
+ pull_integration_test :
74
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
75
+ with :
76
+ test_name : pull_test
77
+ registry_integration_test :
78
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
79
+ with :
80
+ test_name : registy_integration_test
81
+ schema_integration_test :
82
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
83
+ with :
84
+ test_name : schema_test
85
+ sensitive_data_integration_test :
86
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
87
+ with :
88
+ test_name : sensitive_data_test
89
+ suppress_output_integration_test :
90
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
91
+ with :
92
+ test_name : suppress_output_test
93
+ telemetry_test :
94
+ uses : schristoff/porter/.github/workflows/integ-reuseable-workflow.yml@schristoff_ghavariables
95
+ with :
96
+ test_name : telemetry_test
97
+ # Reusable workflows only supports 20 jobs
98
+ uninstall_test_integ :
19
99
runs-on : ubuntu-latest
20
100
steps :
21
101
- name : checkout
22
102
uses : actions/checkout@v4.1.0
23
103
- uses : actions/setup-go@v4
24
104
with :
25
105
go-version : " ${{ env.GOVERSION }}"
106
+ cache : true
107
+ - name : Set up Docker Buildx
108
+ uses : docker/setup-buildx-action@v3
109
+ - name : Cache Docker layers
110
+ uses : actions/cache@v3
111
+ with :
112
+ path : /tmp/.buildx-cache
113
+ key : ${{ runner.os }}-buildx-${{ github.sha }}
26
114
- name : Docker Login
27
115
uses : docker/login-action@v3.0.0
28
116
with :
29
- registry : ghcr.io
117
+ registry : ghcr.io/getporter
30
118
username : ${{ github.actor }}
31
119
password : ${{ secrets.GITHUB_TOKEN }}
32
- - name : Native Build
33
- run : go run mage.go Build
120
+ - name : Configure Agent
121
+ run : go run mage.go build
34
122
shell : bash
35
123
- name : Integration Test
36
- run : go run mage.go -v TestIntegration
37
- shell : bash
124
+ run : go test -v -timeout=10m -tags=integration ./tests/integration/uninstall_test.go
125
+ shell : bash
0 commit comments