diff --git a/.deploy/circleci/README b/.deploy/circleci/README new file mode 100644 index 00000000000..ccc83d26270 --- /dev/null +++ b/.deploy/circleci/README @@ -0,0 +1 @@ +All files and directories under this directory will be copy to tc-website root on circleci env before build diff --git a/build_distui.xml b/build_distui.xml index ea15361eb91..2891cd71278 100644 --- a/build_distui.xml +++ b/build_distui.xml @@ -1,4 +1,5 @@ + @@ -23,11 +24,10 @@ - - - - - + + + + diff --git a/build_tc.xml b/build_tc.xml index 99e73c79cee..e557f8a5de6 100644 --- a/build_tc.xml +++ b/build_tc.xml @@ -847,7 +847,7 @@ - + diff --git a/circle.yml b/circle.yml new file mode 100644 index 00000000000..4baf3f224fc --- /dev/null +++ b/circle.yml @@ -0,0 +1,14 @@ +machine: + services: + - docker + +checkout: + pre: + - git clone https://github.com/topcoder-platform/tc-website-glue glue + - git clone https://github.com/topcoder-platform/tc-website-shared shared + - git clone https://github.com/topcoder-platform/tc-website-external-artifacts external-artifacts + + +test: + override: + - cp -Rf .deploy/circleci/* . && docker run -v ${HOME}:/root/tc-platform appiriodevops/tc-website:build diff --git a/resources/cache.properties b/resources/cache.properties index dc972fd0e86..2341322ab5f 100755 --- a/resources/cache.properties +++ b/resources/cache.properties @@ -1,33 +1,33 @@ -cache.primary = localhost:8501 +#cache.primary = localhost:8501 #cache.secondary = 63.118.154.182:8502 # allow at most 25000 items in the cache -cache.size = 25000 +#cache.size = 25000 # sync every 10 seconds -cache.synctime = 10000 +#cache.synctime = 10000 # check every minute -cache.expirecheck = 60000 +#cache.expirecheck = 60000 # expire after 10 hours -cache.expiretime = 3600000 +#cache.expiretime = 3600000 ### Use the following configurations to use JBoss Cache as cache ### -host_url = env.topcoder.com:2199 -jndi_name = TCCache -cache_admin_jndi_name = TCCacheAdmin -cache_client_class=com.topcoder.web.common.cache.JbossCacheClient +#host_url = env.topcoder.com:2199 +#jndi_name = TCCache +#cache_admin_jndi_name = TCCacheAdmin +#cache_client_class=com.topcoder.web.common.cache.JbossCacheClient ### Use the following configurations to use REDIS as cache ### -​ -#cache_client_class=com.topcoder.web.common.cache.RedisCacheClient -#tc_subject_cache_address_class=com.topcoder.web.common.cache.address.TCSubjectAddress -#request_cache_address_class=com.topcoder.web.common.cache.address.RequestAddress -​ +#​ +cache_client_class=com.topcoder.web.common.cache.RedisCacheClient +tc_subject_cache_address_class=com.topcoder.web.common.cache.address.TCSubjectAddress +request_cache_address_class=com.topcoder.web.common.cache.address.RequestAddress +#​ #format: redis://username:password@my.host:6389 -#redis.uri=redis://cache.topcoder.com:6379 -​ -​ -#redis.maxTotalConnections=50 -#redis.maxIdleConnections=30 -#redis.minIdleConnections=1 +redis.uri=redis://env.topcoder.com:6379 +#​ +#​ +redis.maxTotalConnections=50 +redis.maxIdleConnections=30 +redis.minIdleConnections=1