org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
- trigger-phrase: '((.|\n)*\s)?/test-centos-integration(\s(.|\n)*)?'
+ trigger-phrase: '((.|\n)*\s)?/test-v1a3-centos-integration(\s(.|\n)*)?'
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
white-list-target-branches:
- 'master'
- 'release-0.3'
- status-context: "test-centos-integration"
+ status-context: "test-v1a3-centos-integration"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"
org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
- trigger-phrase: '((.|\n)*\s)?/test-integration(\s(.|\n)*)?'
+ trigger-phrase: '((.|\n)*\s)?/test-v1a3-integration(\s(.|\n)*)?'
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
white-list-target-branches:
- 'master'
- 'release-0.3'
- status-context: "test-integration"
+ status-context: "test-v1a3-integration"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"
description: 'Distribution to use for the tests. Can be ubuntu or centos'
- string:
name: CAPI_VERSION
- default: 'v1alpha4'
+ default: 'v1alpha3'
description: 'Cluster API version. Can be v1alpha3.'
- string:
name: CAPM3_VERSION
org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
- trigger-phrase: '((.|\n)*\s)?/test-v1a4-centos-integration(\s(.|\n)*)?'
+ trigger-phrase: '((.|\n)*\s)?/test-centos-integration(\s(.|\n)*)?'
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
white-list-target-branches:
- 'master'
- 'release-0.3'
- status-context: "test-v1a4-centos-integration"
+ status-context: "test-centos-integration"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"
description: 'Distribution to use for the tests. Can be ubuntu or centos'
- string:
name: CAPI_VERSION
- default: 'v1alpha4'
+ default: 'v1alpha3'
description: 'Cluster API version. Can be v1alpha3.'
- string:
name: CAPM3_VERSION
org-list: "{ci_github_whitelist_org}"
cron: 'H/5 * * * *'
auth-id: "{ci_ghprb_auth_id}"
- trigger-phrase: '((.|\n)*\s)?/test-v1a4-integration(\s(.|\n)*)?'
+ trigger-phrase: '((.|\n)*\s)?/test-integration(\s(.|\n)*)?'
skip-build-phrase: '/skip-test'
only-trigger-phrase: True
github-hooks: True
white-list-target-branches:
- 'master'
- 'release-0.3'
- status-context: "test-v1a4-integration"
+ status-context: "test-integration"
success-status: "Passed"
failure-status: "Failed"
error-status: "Error"
description: 'Distribution to use for the tests.'
- string:
name: CAPI_VERSION
- default: 'v1alpha4'
+ default: 'v1alpha3'
description: 'Cluster API version. Can be v1alpha3.'
- string:
name: CAPM3_VERSION
description: 'Distribution to use for the tests.'
- string:
name: CAPI_VERSION
- default: 'v1alpha4'
+ default: 'v1alpha3'
description: 'Cluster API version. Can be v1alpha3.'
- string:
name: CAPM3_VERSION
description: 'Distribution to use for the tests.'
- string:
name: CAPI_VERSION
- default: 'v1alpha4'
+ default: 'v1alpha3'
description: 'Cluster API version. Can be v1alpha3.'
- string:
name: CAPM3_VERSION
description: 'Distribution to use for the tests.'
- string:
name: CAPI_VERSION
- default: 'v1alpha4'
+ default: 'v1alpha3'
description: 'Cluster API version. Can be v1alpha3.'
- string:
name: CAPM3_VERSION
builders:
- 'generate-ssh-keypair-macro'
- 'wait-pkg-mgr-macro'
- - 'download-artifact-macro'
+ - 'download-{phase}-artifact-macro'
- '{phase}-macro'
!include-raw: ./scripts/upload-artifact.sh
- builder:
- name: 'download-artifact-macro'
+ name: 'download-deploy-artifact-macro'
builders:
- shell:
- !include-raw: ./scripts/download-artifact.sh
+ !include-raw: ./scripts/download-deploy-artifact.sh
+
+- builder:
+ name: 'download-functest-artifact-macro'
+ builders:
+ - shell:
+ !include-raw: ./scripts/download-functest-artifact.sh
+
+- builder:
+ name: 'download-yardstick-artifact-macro'
+ builders:
+ - shell:
+ !include-raw: ./scripts/download-yardstick-artifact.sh
- builder:
name: 'deploy-macro'
disabled: '{obj:disabled}'
- node: 'engine-package-{distro}-fra'
+ node: 'engine-package-ubuntu1804-fra'
concurrent: false
builders:
- description-setter:
description: provisioning
- - 'download-artifact-macro'
+ - 'download-deploy-artifact-macro'
- 'deploy-macro'
# vim: set ts=2 sw=2 expandtab:
disabled: '{obj:disabled}'
- node: 'engine-package-{distro}-fra'
+ node: 'engine-package-ubuntu1804-fra'
concurrent: true
description: 'Distribution to use for configuring target nodes (networking etc.)'
- label:
name: SLAVE_LABEL
- default: 'engine-{slave-type}-{environment-type}-{distro}-fra'
+ default: 'engine-{slave-type}-{environment-type}-ubuntu1804-fra'
description: 'Slave label to schedule this job on.'
- string:
name: HW_TYPE
- inject:
properties-file: "$WORKSPACE/change.properties"
- 'generate-ssh-keypair-macro'
- - 'download-artifact-macro'
+ - 'download-deploy-artifact-macro'
- 'wait-pkg-mgr-macro'
- 'deploy-macro'
builders:
- description-setter:
description: $DEPLOY_SCENARIO
- - 'download-artifact-macro'
+ - 'download-deploy-artifact-macro'
- multijob:
name: "Offline Deployment on Baremetal using {deploy-scenario}"
condition: SUCCESSFUL
builders:
- 'generate-ssh-keypair-macro'
- 'wait-pkg-mgr-macro'
- - 'download-artifact-macro'
+ - 'download-{phase}-artifact-macro'
- '{phase}-macro'
builders:
- 'generate-ssh-keypair-macro'
- 'wait-pkg-mgr-macro'
- - 'download-artifact-macro'
+ - 'download-{phase}-artifact-macro'
- '{phase}-macro'
wrappers:
- build-timeout:
- timeout: 300
+ timeout: 420
- mask-passwords
- pre-scm-buildstep:
failOnError: true
builders:
- description-setter:
description: $DEPLOY_SCENARIO
- - 'download-artifact-macro'
+ - 'download-deploy-artifact-macro'
- multijob:
name: "Offline Deployment on Baremetal using {deploy-scenario}"
condition: SUCCESSFUL
wrappers:
- build-timeout:
- timeout: 70
+ timeout: 180
- credentials-binding:
- username-password-separated:
credential-id: 'nordix-cicd-arm-credentials'
wrappers:
- build-timeout:
- timeout: 30
+ timeout: 60
- credentials-binding:
- username-password-separated:
credential-id: 'nordix-cicd-arm-credentials'
builders:
- 'generate-ssh-keypair-macro'
- 'wait-pkg-mgr-macro'
- - 'download-artifact-macro'
+ - 'download-{phase}-artifact-macro'
- '{phase}-macro'
echo "Info : Downloading artifact from Nordix ARM..."
echo " $NORDIX_ARTIFACT_URL/$REMOTE_ARTIFACT"
cd /tmp
- curl -s -S -O $NORDIX_ARTIFACT_URL/$REMOTE_ARTIFACT
+ # NOTE (fdegir): switched from curl -s -S -O to wget to use wget auto-resume functionality
+ wget -q $NORDIX_ARTIFACT_URL/$REMOTE_ARTIFACT
echo "Info : Downloaded the artifact for offline deployment. Extracting..."
echo " $(ls -al $OFFLINE_INSTALLER_FILE)"
chmod +x $OFFLINE_INSTALLER_FILE
--- /dev/null
+#!/bin/bash
+
+# ============LICENSE_START=======================================================
+# Copyright (C) 2019 The Nordix Foundation. All rights reserved.
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# SPDX-License-Identifier: Apache-2.0
+# ============LICENSE_END=========================================================
+
+set -o nounset
+set -o errexit
+
+echo "Info : Testing of offline deployments is not currently supported! Skipping artifact download"
+
+# vim: set ts=2 sw=2 expandtab:
--- /dev/null
+download-functest-artifact.sh
\ No newline at end of file