-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sh
76 lines (57 loc) · 1.53 KB
/
config.sh
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
70
71
72
73
74
75
76
#! /bin/bash
######### DEPLOYMENT CONFIG ############
# Setup your application deployment here
########################################
# Main version number we are tagging the app with. Always update
# this when you cut a new version of the app!
APP_VERSION=v3.0.0
##
# TAGS
##
# Repository tags/branchs
# Tags should always be used for production deployments
# Branches can be used for development deployments
SEARCH_TAG=v2.0.4
DATA_TAG=v3.0.0
CKAN_TAG=2.9.1
POSTGRES_TAG=13.1
MONGO_TAG=3.4
# SOLR_TAG=8.7.0
SOLR_TAG=6.6.6
REDIS_TAG=6.0.5
##
# Repositories
##
GITHUB_ORG_URL=https://github.com/cstars
# Search
SEARCH_REPO_NAME=ecosis
SEARCH_REPO_URL=$GITHUB_ORG_URL/$SEARCH_REPO_NAME
# Date
DATA_REPO_NAME=ckanext-ecosis
DATA_REPO_URL=$GITHUB_ORG_URL/$DATA_REPO_NAME
##
# Docker
##
# Docker Hub
ECOSIS_DOCKER_ORG=ecosis
DOCKER_CACHE_TAG="latest"
# Docker Images
SEARCH_IMAGE_NAME=$ECOSIS_DOCKER_ORG/ecosis-search
CKAN_IMAGE_NAME=$ECOSIS_DOCKER_ORG/ecosis-ckan
DATA_IMAGE_NAME=$ECOSIS_DOCKER_ORG/ecosis-data
SOLR_IMAGE_NAME=$ECOSIS_DOCKER_ORG/ecosis-solr
MONGO_IMAGE_NAME=mongo
POSTGRES_IMAGE_NAME=postgres
REDIS_IMAGE_NAME=redis
ALL_DOCKER_BUILD_IMAGES=( $SEARCH_IMAGE_NAME $CKAN_IMAGE_NAME \
$DATA_IMAGE_NAME $SOLR_IMAGE_NAME )
# Git
##
ALL_GIT_REPOSITORIES=( $SEARCH_REPO_NAME $DATA_REPO_NAME )
# Git
GIT=git
GIT_CLONE="$GIT clone"
# directory we are going to cache our various git repos at different tags
# if using pull.sh or the directory we will look for repositories (can by symlinks)
# if local development
REPOSITORY_DIR=repositories