diff options
Diffstat (limited to 'scripts/config')
-rw-r--r-- | scripts/config/build.configuration | 5 | ||||
-rw-r--r-- | scripts/config/docker.configuration | 44 | ||||
-rw-r--r-- | scripts/config/gbs.conf | 21 | ||||
-rw-r--r-- | scripts/config/image_name.configuration | 3 |
4 files changed, 0 insertions, 73 deletions
diff --git a/scripts/config/build.configuration b/scripts/config/build.configuration deleted file mode 100644 index cdbf3bf4b..000000000 --- a/scripts/config/build.configuration +++ /dev/null @@ -1,5 +0,0 @@ -WORKSPACE_RPATH=${NNFW_WORKSPACE:-Product} - -# Soft link path to build and install directory -BUILD_ALIAS=${NNFW_PROJECT_PATH}/${WORKSPACE_RPATH}/obj -INSTALL_ALIAS=${NNFW_PROJECT_PATH}/${WORKSPACE_RPATH}/out diff --git a/scripts/config/docker.configuration b/scripts/config/docker.configuration deleted file mode 100644 index 806ffb32e..000000000 --- a/scripts/config/docker.configuration +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash - -source "$NNFW_SCRIPT_PATH/config/image_name.configuration" - -echo "Using docker image $DOCKER_IMAGE_NAME" - -if [ -z "`docker images | grep $DOCKER_IMAGE_NAME`" ]; then - echo "Need docker image!" - exit 1 -fi - -HOST_PATH="$NNFW_PROJECT_PATH" -DOCKER_PATH="$NNFW_PROJECT_PATH" - -export GIT_SSL_NO_VERIFY=1 - -DOCKER_VOLUMES+=" -v $HOST_PATH:$DOCKER_PATH" - -if [[ ! -z $ENV_FILE ]]; then - DOCKER_ENV_VARS+=" --env-file ${ENV_FILE} " -fi - -DOCKER_ENV_VARS+=" -e http_proxy" -DOCKER_ENV_VARS+=" -e no_proxy" -DOCKER_ENV_VARS+=" -e GIT_SSL_NO_VERIFY" -DOCKER_ENV_VARS+=" -e EXTERNAL_DOWNLOAD_SERVER" - -DOCKER_RUN_OPTS="${DOCKER_OPTS}" -DOCKER_RUN_OPTS+=" --rm" -DOCKER_RUN_OPTS+=" -w $DOCKER_PATH" - -function docker_cleanup() -{ - # Newly created files during during docker run can have different ownership. - # This may cause some problems, for example, some jenkins slaves or developers - # can't remove built files due to lack of permission. - # To address this issue, let's change owner of all files - # in nncc to owner of nncc. - NNFW_OWNER_UID=$(stat -c "%u" $HOST_PATH) - NNFW_OWNER_GID=$(stat -c "%g" $HOST_PATH) - - CMD="chown -R $NNFW_OWNER_UID:$NNFW_OWNER_GID $DOCKER_PATH" - docker run $DOCKER_RUN_OPTS $DOCKER_ENV_VARS $DOCKER_VOLUMES $DOCKER_IMAGE_NAME $CMD -} diff --git a/scripts/config/gbs.conf b/scripts/config/gbs.conf deleted file mode 100644 index af555c399..000000000 --- a/scripts/config/gbs.conf +++ /dev/null @@ -1,21 +0,0 @@ -[general] -#Current profile name which should match a profile section name -profile = profile.tizen - -[profile.tizen] -user=obs_viewer -passwdx = QlpoOTFBWSZTWWV18UwAAAKDgAAAkiCZgCAAMQZMQQDJ6jQwAvxdyRThQkGV18Uw -obs = obs.tizen -repos = repo.tizen_base,repo.tizen_mobile -buildroot = /home/GBS-ROOT/ - -[obs.tizen] -url = http://api.tizen.org - -[repo.tizen_mobile] -url = http://download.tizen.org/snapshots/tizen/unified/latest/repos/standard/packages/ - -[repo.tizen_base] -url = http://download.tizen.org/snapshots/tizen/base/latest/repos/standard/packages/ - - diff --git a/scripts/config/image_name.configuration b/scripts/config/image_name.configuration deleted file mode 100644 index 507f154c7..000000000 --- a/scripts/config/image_name.configuration +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -DOCKER_IMAGE_NAME=${DOCKER_IMAGE_NAME:-nnfw_docker} |