Historically, scripts names started with include-raw-vpp- prefix.
That was not only long and superfluous, but also confusing,
as the actual way of including uses
"include-raw-escape", which is a command behaving differently
than "include-raw", suggested by the previous name.
This Change shortens script names to the part
that actually says something about the script.
+ Delete include-gcc8-prefer.sh as it is orphaned since
https://gerrit.fd.io/r/c/ci-management/+/20443
+ Move the scripts to jjb/scripts/vpp/.
- "absolute" paths are not used, as ci-man root is not in search path.
+ Put each path on a separate line to avoid long lines.
+ Put each include in a separate shell to make sure
return code of each script is checked.
+ Update copyright year where present.
- Copyright notices are not added when not present.
Change-Id: I48920542ff20810cc87fb01844236350348bae59
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
19 files changed:
-# Copyright (c) 2019 Cisco and/or its affiliates.
+# Copyright (c) 2020 Cisco and/or its affiliates.
# 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:
# 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:
-# Copyright (c) 2019 Cisco and/or its affiliates.
+# Copyright (c) 2020 Cisco and/or its affiliates.
# 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:
# 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:
-# Copyright (c) 2018 Cisco and/or its affiliates.
+# Copyright (c) 2020 Cisco and/or its affiliates.
# 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:
# 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:
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- shell:
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- shell:
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_docker_test.sh
- !include-raw-escape: include-raw-vpp-docs.sh
+ !include-raw-escape:
+ - ../scripts/vpp/docs.sh
publishers:
- lf-infra-publish
publishers:
- lf-infra-publish
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- shell:
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- shell:
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_docker_test.sh
- !include-raw-escape: include-raw-vpp-docs.sh
+ !include-raw-escape:
+ - ../scripts/vpp/docs.sh
publishers:
- lf-infra-publish
publishers:
- lf-infra-publish
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- shell:
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- shell:
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_docker_test.sh
- !include-raw-escape: include-raw-vpp-sphinx-docs.sh
+ !include-raw-escape:
+ - ../scripts/vpp/sphinx-docs.sh
publishers:
- lf-infra-publish
publishers:
- lf-infra-publish
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- shell:
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- shell:
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_docker_test.sh
- !include-raw-escape: include-raw-vpp-sphinx-docs.sh
+ !include-raw-escape:
+ - ../scripts/vpp/sphinx-docs.sh
publishers:
- lf-infra-publish
publishers:
- lf-infra-publish
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- shell:
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- shell:
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_docker_test.sh
- !include-raw-escape: include-raw-vpp-make-test-docs.sh
+ !include-raw-escape:
+ - ../scripts/vpp/make-test-docs.sh
publishers:
- lf-infra-publish
publishers:
- lf-infra-publish
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- shell:
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- shell:
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_docker_test.sh
- !include-raw-escape: include-raw-vpp-make-test-docs.sh
+ !include-raw-escape:
+ - ../scripts/vpp/make-test-docs.sh
publishers:
- lf-infra-publish
publishers:
- lf-infra-publish
+++ /dev/null
-#!/usr/bin/env bash
-update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 700 --slave /usr/bin/g++ g++ /usr/bin/g++-7 && update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 800 --slave /usr/bin/g++ g++ /usr/bin/g++-8
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_docker_test.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_dpdk_dev_env.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_dpdk_dev_env.sh
- - include-raw-vpp-build.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/vpp/build.sh
publishers:
- fdio-infra-shiplogs:
publishers:
- fdio-infra-shiplogs:
- file-id: 'packagecloud_api'
target: '/root'
- shell:
- file-id: 'packagecloud_api'
target: '/root'
- shell:
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_docker_test.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_dpdk_dev_env.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_dpdk_dev_env.sh
- - include-raw-vpp-build.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/vpp/build.sh
- provide-maven-settings:
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- provide-maven-settings:
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_arm_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_arm_test.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_dpdk_dev_env.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_dpdk_dev_env.sh
- - include-raw-vpp-parallel-vars.sh
- - include-raw-vpp-arm-build.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/vpp/parallel-vars.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/vpp/arm-build.sh
publishers:
- fdio-infra-shiplogs:
publishers:
- fdio-infra-shiplogs:
- file-id: 'packagecloud_api'
target: '/root'
- shell:
- file-id: 'packagecloud_api'
target: '/root'
- shell:
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_arm_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_arm_test.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_dpdk_dev_env.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_dpdk_dev_env.sh
- - include-raw-vpp-parallel-vars.sh
- - include-raw-vpp-arm-build-no-test.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/vpp/parallel-vars.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/vpp/arm-build-no-test.sh
- provide-maven-settings:
settings-file: 'vpp-settings'
- provide-maven-settings:
settings-file: 'vpp-settings'
- !include-raw-escape: include-raw-vpp-checkstyle.sh
+ !include-raw-escape:
+ - ../scripts/vpp/checkstyle.sh
- !include-raw-escape: include-raw-vpp-test-checkstyle.sh
+ !include-raw-escape:
+ - ../scripts/vpp/test-checkstyle.sh
- !include-raw-escape: include-raw-vpp-commitmsg.sh
+ !include-raw-escape:
+ - ../scripts/vpp/commitmsg.sh
publishers:
- fdio-infra-shiplogs:
publishers:
- fdio-infra-shiplogs:
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_docker_test.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_dpdk_dev_env.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_dpdk_dev_env.sh
- - include-raw-vpp-build.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/vpp/build.sh
publishers:
- fdio-infra-shiplogs:
publishers:
- fdio-infra-shiplogs:
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_docker_test.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_dpdk_dev_env.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_dpdk_dev_env.sh
- - include-raw-vpp-clang-build.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/vpp/clang-build.sh
publishers:
- fdio-infra-shiplogs:
publishers:
- fdio-infra-shiplogs:
- command: !include-raw-escape: include-raw-vpp-coverity.sh
+ command: !include-raw-escape: ../scripts/vpp/coverity.sh
unstable-return: 42
publishers:
unstable-return: 42
publishers:
- file-id: 'packagecloud_api'
target: '/root'
- shell:
- file-id: 'packagecloud_api'
target: '/root'
- shell:
- !include-raw-escape: include-raw-vpp-checkstyle.sh
+ !include-raw-escape:
+ - ../scripts/vpp/checkstyle.sh
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_docker_test.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_dpdk_dev_env.sh
- shell:
!include-raw-escape:
- ../scripts/setup_vpp_dpdk_dev_env.sh
- - include-raw-vpp-build.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/vpp/build.sh
- provide-maven-settings:
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- provide-maven-settings:
settings-file: 'vpp-settings'
global-settings-file: 'global-settings'
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_docker_test.sh
+ - shell:
+ !include-raw-escape:
+ - ../scripts/setup_vpp_dpdk_dev_env.sh
- !include-raw-escape: ../scripts/setup_vpp_dpdk_dev_env.sh
+ !include-raw-escape:
+ - ../scripts/vpp/parallel-vars.sh
- shell:
!include-raw-escape:
- shell:
!include-raw-escape:
- - include-raw-vpp-parallel-vars.sh
- - include-raw-vpp-csit-device.sh
+ - ../scripts/vpp/csit-device.sh
publishers:
- robot-report:
publishers:
- robot-report:
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_docker_test.sh
- !include-raw-escape: ../scripts/setup_vpp_dpdk_dev_env.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_dpdk_dev_env.sh
- !include-raw-escape: include-raw-vpp-csit-perf.sh
+ !include-raw-escape:
+ - ../scripts/vpp/csit-perf.sh
publishers:
- robot-report:
publishers:
- robot-report:
- !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
+ !include-raw-escape:
+ - ../scripts/setup_vpp_ubuntu_docker_test.sh
- !include-raw-escape: check_crc.sh
+ !include-raw-escape:
+ - ../scripts/vpp/check_crc.sh
# TODO: Add sending e-mail notifications to vpp-api-dev@lists.fd.io
publishers:
# TODO: Add sending e-mail notifications to vpp-api-dev@lists.fd.io
publishers: