-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.docif
69 lines (52 loc) · 2.64 KB
/
config.docif
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/bin/bash
# This is supposed to be a docker baseimage repository but it doesn't matter
# because we are not caching. It just needs to be set.
BASEIMAGE_REPO="arbitrary_value"
# false means we won't cache, and therefore BASEIMAGE_REPO will be ignored.
PUSH_BASEIMAGE="false"
# The github repository location (case sensitive), for sending status updates to
GITHUB_REPO='gtagency/buzzmobile'
# The url to point to when a status check is pending.
PENDING_URL="https://github.com/gtagency/buzzmobile"
############################## Variable Names ##################################
# These are the variables that will hold secrets and such.
# This can be done through the CircleCi GUI or Travis CI secrets
DOCKER_PASSWORD_VAR="DOCKER_PASS"
DOCKER_EMAIL_VAR="DOCKER_EMAIL"
DOCKER_USER_VAR="DOCKER_USER"
# Status token is used for updating status
GH_STATUS_TOKEN_VAR="GH_STATUS"
# Variable holing the username of the Status Token
GH_USER_VAR="GH_USER"
# Variable holing the email of the Status Token
GH_EMAIL_VAR="GH_EMAIL"
# The project root INSIDE THE DOCKER CONTAINER
# This will act as the 'current directory' within the project
# This will need to be changed in the dockerfile as well to take effect.
# (use a custom one Dockerflie where the 'developer' user is set and sets
# HOME and RUN envs)
DOCKER_PROJECT_ROOT="/home/developer/catkin_ws/src/buzzmobile"
# The home dir of the user running the docker commands (used for caching when using ~)
DOCKER_PROJECT_HOME="/home/developer"
# The git clone root INSIDE THE DOCKER CONTAINER
GIT_CLONE_ROOT="${DOCKER_PROJECT_ROOT}"
# A custom dockerfile, for advanced setup
# This file is in relation to you'r project's root.
CUSTOM_DOCKERFILE="./Dockerfile"
################################# COMMANDS #####################################
# The script to set up the environment, by default ubuntu.
# YOU WILL NEED TO USE SUDO TO GET ROOT PRIVILEGES HERE
SETUP_COMMAND="sudo apt-get update && sudo apt-get -y install vim tmux git"
# @REQUIRED
# Commands to run when testing. Each index will have its own status token
# Commands are in this format
# COMMAND; SHORT_NAME; DESCRIPTION
TEST_COMMANDS=()
TEST_COMMANDS+=( './install;build;Check for installation and catkin_make' )
TEST_COMMANDS+=( './ci_scripts/style;style;Check for pylint errors and warnings' )
TEST_COMMANDS+=( './ci_scripts/unittest;unittest;Run unit tests' )
TEST_COMMANDS+=( './ci_scripts/simulation;simulation;Run simulation/full system tests' )
# Environmental variables to make available to the build environment
ENV_VARS=()
ENV_VARS+=("GH_PUSH_TOKEN") # To be used by autoupdating script
################################################################################