This repository was archived by the owner on Jan 23, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Build script cleanup and CircleCI integration. #6
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
All files and directories under this directory will be copy to tc-website root on circleci env before build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
|
||
test: | ||
override: | ||
- cp -Rf .deploy/circleci/* . && docker run -v ${HOME}:/root/tc-platform appiriodevops/tc-website:build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't
git clone https://github.com/topcoder-platform/tc-website-external-artifacts
be:git clone https://github.com/topcoder-platform/tc-website-external-artifacts external-artifacts
?