mirror of
https://github.com/samply/bridgehead.git
synced 2025-12-09 09:04:27 +01:00
Compare commits
12 Commits
hotfix/itc
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f50b4237d4 | ||
|
|
0838851993 | ||
|
|
af3b7cc3a2 | ||
|
|
fad2283e6d | ||
|
|
ecbef2cd0c | ||
|
|
66fe90ff98 | ||
|
|
03b520bfcc | ||
|
|
4082292f99 | ||
|
|
e22ac4b066 | ||
|
|
cd38957dd7 | ||
|
|
4ef585bfc5 | ||
|
|
6ca67ca082 |
@@ -22,7 +22,7 @@ services:
|
|||||||
- "traefik.http.routers.blaze_cce.tls=true"
|
- "traefik.http.routers.blaze_cce.tls=true"
|
||||||
|
|
||||||
focus:
|
focus:
|
||||||
image: docker.verbis.dkfz.de/cache/samply/focus:${FOCUS_TAG}-dktk
|
image: docker.verbis.dkfz.de/cache/samply/focus:${FOCUS_TAG}
|
||||||
container_name: bridgehead-focus
|
container_name: bridgehead-focus
|
||||||
environment:
|
environment:
|
||||||
API_KEY: ${FOCUS_BEAM_SECRET_SHORT}
|
API_KEY: ${FOCUS_BEAM_SECRET_SHORT}
|
||||||
@@ -34,7 +34,6 @@ services:
|
|||||||
EPSILON: 0.28
|
EPSILON: 0.28
|
||||||
QUERIES_TO_CACHE: '/queries_to_cache.conf'
|
QUERIES_TO_CACHE: '/queries_to_cache.conf'
|
||||||
ENDPOINT_TYPE: ${FOCUS_ENDPOINT_TYPE:-blaze}
|
ENDPOINT_TYPE: ${FOCUS_ENDPOINT_TYPE:-blaze}
|
||||||
CQL_PROJECTS_ENABLED: "cce"
|
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/docker/bridgehead/cce/queries_to_cache.conf:/queries_to_cache.conf:ro
|
- /srv/docker/bridgehead/cce/queries_to_cache.conf:/queries_to_cache.conf:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ services:
|
|||||||
BEAM_PROXY_ID: ${SITE_ID}
|
BEAM_PROXY_ID: ${SITE_ID}
|
||||||
BEAM_BROKER_ID: ${BROKER_ID}
|
BEAM_BROKER_ID: ${BROKER_ID}
|
||||||
BEAM_APP_ID: "focus"
|
BEAM_APP_ID: "focus"
|
||||||
PROJECT_METADATA: "cce"
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- "beam-proxy"
|
- "beam-proxy"
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ services:
|
|||||||
- "traefik.http.routers.blaze_itcc.tls=true"
|
- "traefik.http.routers.blaze_itcc.tls=true"
|
||||||
|
|
||||||
focus:
|
focus:
|
||||||
image: docker.verbis.dkfz.de/cache/samply/focus:${FOCUS_TAG}-dktk
|
image: docker.verbis.dkfz.de/cache/samply/focus:${FOCUS_TAG}
|
||||||
container_name: bridgehead-focus
|
container_name: bridgehead-focus
|
||||||
environment:
|
environment:
|
||||||
API_KEY: ${FOCUS_BEAM_SECRET_SHORT}
|
API_KEY: ${FOCUS_BEAM_SECRET_SHORT}
|
||||||
@@ -34,7 +34,6 @@ services:
|
|||||||
EPSILON: 0.28
|
EPSILON: 0.28
|
||||||
QUERIES_TO_CACHE: '/queries_to_cache.conf'
|
QUERIES_TO_CACHE: '/queries_to_cache.conf'
|
||||||
ENDPOINT_TYPE: ${FOCUS_ENDPOINT_TYPE:-blaze}
|
ENDPOINT_TYPE: ${FOCUS_ENDPOINT_TYPE:-blaze}
|
||||||
CQL_PROJECTS_ENABLED: "itcc"
|
|
||||||
volumes:
|
volumes:
|
||||||
- /srv/docker/bridgehead/itcc/queries_to_cache.conf:/queries_to_cache.conf:ro
|
- /srv/docker/bridgehead/itcc/queries_to_cache.conf:/queries_to_cache.conf:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ services:
|
|||||||
BEAM_PROXY_ID: ${SITE_ID}
|
BEAM_PROXY_ID: ${SITE_ID}
|
||||||
BEAM_BROKER_ID: ${BROKER_ID}
|
BEAM_BROKER_ID: ${BROKER_ID}
|
||||||
BEAM_APP_ID: "focus"
|
BEAM_APP_ID: "focus"
|
||||||
PROJECT_METADATA: "itcc"
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- "beam-proxy"
|
- "beam-proxy"
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
@@ -337,7 +337,8 @@ function sync_secrets() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function secret_sync_gitlab_token() {
|
function secret_sync_gitlab_token() {
|
||||||
if [[ "$PROJECT" != "dktk" && "$PROJECT" != "bbmri" ]]; then
|
if [ "$PROJECT" == "minimal" ]; then
|
||||||
|
log "INFO" "Not running Secret Sync for project minimal"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
# Map the origin of the git repository /etc/bridgehead to the prefix recognized by Secret Sync
|
# Map the origin of the git repository /etc/bridgehead to the prefix recognized by Secret Sync
|
||||||
@@ -397,7 +398,7 @@ function secret_sync_gitlab_token() {
|
|||||||
else
|
else
|
||||||
log "WARN" "Secret Sync failed"
|
log "WARN" "Secret Sync failed"
|
||||||
# Remove the git credential helper
|
# Remove the git credential helper
|
||||||
git -C /etc/bridgehead config --unset credential.helpera
|
git -C /etc/bridgehead config --unset credential.helper
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# In the past the git credential helper was also set for /srv/docker/bridgehead but never used.
|
# In the past the git credential helper was also set for /srv/docker/bridgehead but never used.
|
||||||
|
|||||||
Reference in New Issue
Block a user