Skip to content
Snippets Groups Projects

Add ability to execute a custom script from a custom git repo

Merged Ben Morrice requested to merge customscript into master
Files
3
+ 4
4
@@ -71,8 +71,8 @@
script:
- export OS_PROJECT_NAME="${PROJECT_PHYSICAL}"
- *get_latest_image
- echo bash testallthethings.sh -d "${OS_DISTRO}" -m "${OS_MAJOR}" -a "${ARCH}" -i "${IMAGE}" -f "${FLAVOR}"
- bash testallthethings.sh -d "${OS_DISTRO}" -m "${OS_MAJOR}" -a "${ARCH}" -i "${IMAGE}" -f "${FLAVOR}" | tee -a output.log
- echo bash testallthethings.sh -d "${OS_DISTRO}" -m "${OS_MAJOR}" -a "${ARCH}" -i "${IMAGE}" -f "${FLAVOR}" -g "${CUSTOM_GIT_REPO}" -s "${CUSTOM_SCRIPT}"
- bash testallthethings.sh -d "${OS_DISTRO}" -m "${OS_MAJOR}" -a "${ARCH}" -i "${IMAGE}" -f "${FLAVOR}" -g "${CUSTOM_GIT_REPO}" -s "${CUSTOM_SCRIPT}" | tee -a output.log
allow_failure: true
.test_unmanaged_virtual:
@@ -80,8 +80,8 @@
script:
- export OS_PROJECT_NAME="${PROJECT_VIRTUAL}"
- *get_latest_image
- echo bash testallthethings.sh -d "${OS_DISTRO}" -m "${OS_MAJOR}" -a "${ARCH}" -i "${IMAGE}" -f "m2.small"
- bash testallthethings.sh -d "${OS_DISTRO}" -m "${OS_MAJOR}" -a "${ARCH}" -i "${IMAGE}" -f "m2.small" | tee -a output.log
- echo bash testallthethings.sh -d "${OS_DISTRO}" -m "${OS_MAJOR}" -a "${ARCH}" -i "${IMAGE}" -f "m2.small" -g "${CUSTOM_GIT_REPO}" -s "${CUSTOM_SCRIPT}"
- bash testallthethings.sh -d "${OS_DISTRO}" -m "${OS_MAJOR}" -a "${ARCH}" -i "${IMAGE}" -f "m2.small" -g "${CUSTOM_GIT_REPO}" -s "${CUSTOM_SCRIPT}" | tee -a output.log
.test_puppet_physical:
extends: .openstack
Loading