mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 00:10:20 +00:00
ci: split "go mod verify" into its own stage
In order to speed up testing, "go mod verify" can be run parallel from other tests. Downloading and verifying all dependencies is the most time consuming step in the containerized-test CI job. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
09c4191a6f
commit
f67ece89a9
@ -118,6 +118,11 @@ node('cico-workspace') {
|
||||
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && make containerized-test CONTAINER_CMD=podman ENV_CSI_IMAGE_NAME=${cached_image} ${use_test_image}"
|
||||
}
|
||||
},
|
||||
verify: {
|
||||
node ('cico-workspace') {
|
||||
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && make containerized-test TARGET=mod-check CONTAINER_CMD=podman ENV_CSI_IMAGE_NAME=${cached_image} ${use_test_image}"
|
||||
}
|
||||
},
|
||||
build: {
|
||||
node('cico-workspace') {
|
||||
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && make containerized-build CONTAINER_CMD=podman ENV_CSI_IMAGE_NAME=${cached_image} ${use_build_image}"
|
||||
|
Loading…
Reference in New Issue
Block a user