summaryrefslogtreecommitdiffstats
path: root/jjb/airship
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-12-22 16:11:05 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2019-12-22 16:27:56 +0100
commitb1748c03ac27750ad422041f46dc88727e6f3a14 (patch)
tree8b19986c039cbbb68493bc2225721032edaf0a49 /jjb/airship
parent643009ebf61e33d7b7414be8fb0b10ab2d95f529 (diff)
Dump all logs as last steps
It follows the Kubernetes Conformance model to third-party certifications. Change-Id: Idd3a04567ed19c8b53f4635530fda5bd94d00734 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/airship')
-rw-r--r--jjb/airship/airship.yaml44
-rw-r--r--jjb/airship/cntt.yaml44
2 files changed, 88 insertions, 0 deletions
diff --git a/jjb/airship/airship.yaml b/jjb/airship/airship.yaml
index 21cc45df8..b343e80a8 100644
--- a/jjb/airship/airship.yaml
+++ b/jjb/airship/airship.yaml
@@ -325,6 +325,45 @@
jobs:
- 'airship-{repo}-{container}-{tag}-{test}-run'
+- builder:
+ name: airship-zip
+ builders:
+ - shell: |
+ set +x
+ [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true
+ if [ "{repo}" = "_" ]; then
+ image={container}:{functest_tag}
+ elif [ "{port}" = "None" ]; then
+ image={repo}/{container}:{functest_tag}
+ else
+ image={repo}:{port}/{container}:{functest_tag}
+ fi
+ docker run --rm \
+ -e S3_ENDPOINT_URL=https://storage.googleapis.com \
+ -e S3_DST_URL=s3://artifacts.opnfv.org/airship \
+ -e HTTP_DST_URL=http://artifacts.opnfv.org/airship/ \
+ -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
+ -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
+ -e BUILD_TAG=$BUILD_TAG \
+ -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
+ $image zip_campaign
+
+- job-template:
+ name: 'airship-{tag}-zip'
+ parameters:
+ - airship-build_tag:
+ build_tag: ''
+ builders:
+ - airship-zip:
+ <<: *airship-containers
+
+- project:
+ name: 'airship-{tag}-zip'
+ <<: *airship-params
+ container: 'functest-healthcheck'
+ jobs:
+ - 'airship-{tag}-zip'
+
- job-template:
name: 'airship-{tag}-daily'
project-type: multijob
@@ -460,6 +499,11 @@
<<: *airship-jobs
- name: 'airship-opnfv-functest-vnf-{tag}-juju_epc-run'
<<: *airship-jobs
+ - multijob:
+ name: dump all campaign data
+ projects:
+ - name: 'airship-{tag}-zip'
+ <<: *airship-jobs
- trigger:
name: airship-patchset-created
diff --git a/jjb/airship/cntt.yaml b/jjb/airship/cntt.yaml
index f39ea4223..94cfd4bf0 100644
--- a/jjb/airship/cntt.yaml
+++ b/jjb/airship/cntt.yaml
@@ -352,6 +352,45 @@
jobs:
- 'cntt-{repo}-{container}-{tag}-{test}-run'
+- builder:
+ name: cntt-zip
+ builders:
+ - shell: |
+ set +x
+ [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true
+ if [ "{repo}" = "_" ]; then
+ image={container}:{functest_tag}
+ elif [ "{port}" = "None" ]; then
+ image={repo}/{container}:{functest_tag}
+ else
+ image={repo}:{port}/{container}:{functest_tag}
+ fi
+ docker run --rm \
+ -e S3_ENDPOINT_URL=https://storage.googleapis.com \
+ -e S3_DST_URL=s3://artifacts.opnfv.org/airship \
+ -e HTTP_DST_URL=http://artifacts.opnfv.org/airship/ \
+ -e TEST_DB_URL=http://testresults.opnfv.org/test/api/v1/results \
+ -e TEST_DB_EXT_URL=http://testresults.opnfv.org/test/api/v1/results \
+ -e BUILD_TAG=$BUILD_TAG \
+ -v $WORKSPACE/../$JOB_NAME/results:/var/lib/xtesting/results \
+ $image zip_campaign
+
+- job-template:
+ name: 'cntt-{tag}-zip'
+ parameters:
+ - cntt-build_tag:
+ build_tag: ''
+ builders:
+ - cntt-zip:
+ <<: *cntt-containers
+
+- project:
+ name: 'cntt-{tag}-zip'
+ <<: *cntt-params
+ container: 'functest-healthcheck'
+ jobs:
+ - 'cntt-{tag}-zip'
+
- job-template:
name: 'cntt-{tag}-daily'
project-type: multijob
@@ -509,6 +548,11 @@
<<: *cntt-jobs
- name: 'cntt-opnfv-functest-vnf-{tag}-juju_epc-run'
<<: *cntt-jobs
+ - multijob:
+ name: dump all campaign data
+ projects:
+ - name: 'cntt-{tag}-zip'
+ <<: *cntt-jobs
- trigger:
name: cntt-patchset-created