Skip to content

ENT-12600: Removed scripts related to building docs #1814

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 4 additions & 19 deletions build-remote
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ usage() {
echo "-d /var/cfengine, --workdir=/var/cfengine"
echo " Specify directory which will be CFEngine's workdir. Does not work for"
echo " Windows binaries."
echo "--release|--debug|--docs|--release-and-debug"
echo "--release|--debug|--release-and-debug"
echo " With or without debug symbols."
echo "-v, --verbose"
echo " Whether or not to echo the log as the build progresses."
Expand All @@ -64,7 +64,7 @@ usage() {
}

opts() {
OPTS=`getopt -o p:b:w:c:d:vht: --long project:,branch:,wix-machine:,cross-target:,workdir:,verbose,source:,role:,version:,release,debug,docs,help,test-machine:,test-shell,no-tests -n build-remote -- "$@"`
OPTS=`getopt -o p:b:w:c:d:vht: --long project:,branch:,wix-machine:,cross-target:,workdir:,verbose,source:,role:,version:,release,debug,help,test-machine:,test-shell,no-tests -n build-remote -- "$@"`

eval set -- "$OPTS"
echo "$?"
Expand All @@ -75,7 +75,6 @@ opts() {
exit 1
fi

DOCS=no
PROJECT=nova
BRANCH=master
BUILD_TYPE=DEBUG
Expand Down Expand Up @@ -112,9 +111,6 @@ opts() {
--debug)
BUILD_TYPE=DEBUG
shift;;
--docs)
DOCS=yes
shift;;
--source)
SOURCE="$2"
shift 2;;
Expand Down Expand Up @@ -161,7 +157,7 @@ opts() {
REPOSITORY=$PROJECT-$BRANCH
HOST=$1

export PROJECT BRANCH WIX_MACHINE CROSS_TARGET HOST BUILD_TYPE BUILD_NUMBER DOCS EXPLICIT_ROLE EXPLICIT_VERSION TEST_MACHINE TEST_SHELL PREFIX
export PROJECT BRANCH WIX_MACHINE CROSS_TARGET HOST BUILD_TYPE BUILD_NUMBER EXPLICIT_ROLE EXPLICIT_VERSION TEST_MACHINE TEST_SHELL PREFIX

export SCHEDULER=$PROJECT-$BRANCH-localbuild
}
Expand Down Expand Up @@ -279,12 +275,6 @@ checkout() {
esac
}

build_docs() {
remote_script configure-docs
remote_script compile
remote_script upload-docs
}

build() {
remote_script configure
remote_script compile
Expand Down Expand Up @@ -318,12 +308,7 @@ common_build() {
remote_script clean-buildmachine
remote_script install-dependencies

case "$DOCS" in
yes)
build_docs;;
no)
build;;
esac
build
}

opts "$@"
Expand Down
11 changes: 0 additions & 11 deletions build-scripts/configure-docs

This file was deleted.

14 changes: 0 additions & 14 deletions build-scripts/upload-docs

This file was deleted.

Loading