Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development: Start bamboo-build-agent after bamboo container is healthy in development setup #7082

Merged
merged 1 commit into from
Sep 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion docker/atlassian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
image: ghcr.io/ls1intum/artemis-jira:9.4.3
pull_policy: always
volumes:
- artemis-jira-data:/var/atlassian/application-data/jira
- artemis-jira-data:/var/atlassian/application-data/jira
krusche marked this conversation as resolved.
Show resolved Hide resolved
ports:
- "8081:8080"
# expose the port to make it reachable docker internally even if the external port mapping changes
Expand Down Expand Up @@ -57,6 +57,12 @@ services:
- "8085"
networks:
- artemis
healthcheck:
jakubriegel marked this conversation as resolved.
Show resolved Hide resolved
test: curl -f http://localhost:8085/rest/api/latest/server | grep "<state>RUNNING</state>"
interval: 10s
timeout: 5s
start_period: 40s
retries: 120 # = 20 minutes startup time during setup

bamboo-build-agent:
container_name: artemis-bamboo-build-agent
Expand All @@ -74,6 +80,9 @@ services:
BAMBOO_SERVER: "http://bamboo:8085"
networks:
- artemis
depends_on:
bamboo:
condition: service_healthy

networks:
artemis:
Expand Down
Loading