@@ -53,7 +53,12 @@ before_script:
53
53
54
54
jobs :
55
55
include :
56
- - name : static-check-make
56
+ # two stages for testing, each stage runs its jobs in parallel, but stages
57
+ # are run after each other, unless the last stage fails
58
+ # - build testing
59
+ # - e2e testing
60
+ - stage : build testing
61
+ name : static-check-make
57
62
install :
58
63
- gem install mdl
59
64
- pip install --user --upgrade pip
@@ -73,42 +78,46 @@ jobs:
73
78
- make go-test
74
79
- make mod-check || travis_terminate 1;
75
80
76
- - name : Build multi-architecture image for amd64 and arm64
81
+ - stage : build testing
82
+ name : containerized build
77
83
script :
78
- - ./scripts/build-multi-arch-image.sh || travis_terminate 1;
84
+ - make containerized-build || travis_terminate 1;
79
85
80
- - name : containerized build
86
+ - stage : build testing
87
+ name : cephcsi on Arm64
88
+ arch : arm64
81
89
script :
82
- - make containerized-build || travis_terminate 1;
90
+ - scripts/skip-doc-change.sh || travis_terminate 0;
91
+ - make image-cephcsi || travis_terminate 1;
92
+ # No CI test job is availabe for Arm64 now due to below issues
93
+ # - k8s-csi sidecar images for Arm64 are not available
94
+ # - Travis Arm64 CI job runs inside unprivileged LXD which blocks
95
+ # launching minikube test environment
96
+ - travis_terminate 0 # deploy only on x86
83
97
84
- - name : cephcsi with kube 1.14.10
98
+ - stage : e2e testing
99
+ name : cephcsi with kube 1.14.10
85
100
script :
86
101
- scripts/skip-doc-change.sh || travis_terminate 0;
87
102
- make image-cephcsi || travis_terminate 1;
88
103
- scripts/travis-functest.sh v1.14.10 || travis_terminate 1;
89
104
90
- - name : cephcsi with kube 1.15.6
105
+ - stage : e2e testing
106
+ name : cephcsi with kube 1.15.6
91
107
script :
92
108
- scripts/skip-doc-change.sh || travis_terminate 0;
93
109
- make image-cephcsi || travis_terminate 1;
94
110
- scripts/travis-functest.sh v1.15.6 || travis_terminate 1;
95
111
96
- - name : cephcsi with kube 1.17.0
112
+ - stage : e2e testing
113
+ name : cephcsi with kube 1.17.0
97
114
script :
98
115
- scripts/skip-doc-change.sh || travis_terminate 0;
99
116
- make image-cephcsi || travis_terminate 1;
100
117
- scripts/travis-functest.sh v1.17.0 || travis_terminate 1;
101
- - name : cephcsi on Arm64
102
- arch : arm64
103
- script :
104
- - scripts/skip-doc-change.sh || travis_terminate 0;
105
- - make image-cephcsi || travis_terminate 1;
106
- # No CI test job is availabe for Arm64 now due to below issues
107
- # - k8s-csi sidecar images for Arm64 are not available
108
- # - Travis Arm64 CI job runs inside unprivileged LXD which blocks
109
- # launching minikube test environment
110
- - travis_terminate 0 # deploy only on x86
111
- - name : cephcsi helm charts with kube 1.17.0
118
+
119
+ - stage : e2e testing
120
+ name : cephcsi helm charts with kube 1.17.0
112
121
script :
113
122
- scripts/skip-doc-change.sh || travis_terminate 0;
114
123
- make image-cephcsi || travis_terminate 1;
0 commit comments