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'
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'
--- /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