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

feat(quickstart): add actions to debug quickstart #9559

Merged
Show file tree
Hide file tree
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
13 changes: 10 additions & 3 deletions docker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,17 @@ tasks.register('quickstartSlim') {}
tasks.register('quickstartDebug') {}
tasks.register('quickstartPg') {}

tasks.withType(ComposeDownForced) {
removeVolumes = true
tasks.register('quickstartNuke') {
doFirst {
dockerCompose.quickstart.removeVolumes = true
dockerCompose.quickstartPg.removeVolumes = true
dockerCompose.quickstartSlim.removeVolumes = true
dockerCompose.quickstartDebug.removeVolumes = true
}
finalizedBy(tasks.withType(ComposeDownForced))
}
task quickstartNuke {

tasks.register('quickstartDown') {
finalizedBy(tasks.withType(ComposeDownForced))
}

Expand Down
54 changes: 53 additions & 1 deletion docker/profiles/docker-compose.actions.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@

x-datahub-actions-service: &datahub-actions-service
hostname: actions
image: ${DATAHUB_ACTIONS_IMAGE:-${DATAHUB_ACTIONS_REPO:-acryldata}/datahub-actions}:${ACTIONS_VERSION:-head}
image: ${DATAHUB_ACTIONS_IMAGE:-${DATAHUB_ACTIONS_REPO:-acryldata}/datahub-actions}:${ACTIONS_VERSION:-v0.0.14}
env_file: datahub-actions/env/docker.env
environment:
ACTIONS_EXTRA_PACKAGES: ${ACTIONS_EXTRA_PACKAGES:-}
ACTIONS_CONFIG: ${ACTIONS_CONFIG:-}
KAFKA_BOOTSTRAP_SERVER: kafka-broker:29092
SCHEMA_REGISTRY_URL: http://datahub-gms:8080/schema-registry/api/

x-datahub-actions-service-dev: &datahub-actions-service-dev
<<: *datahub-actions-service

services:
datahub-actions-quickstart:
<<: *datahub-actions-service
Expand Down Expand Up @@ -43,3 +46,52 @@ services:
depends_on:
datahub-gms-quickstart-consumers:
condition: service_healthy
datahub-actions-debug:
<<: *datahub-actions-service-dev
container_name: actions-dev
profiles:
- debug
- debug-backend
depends_on:
datahub-gms-debug:
condition: service_healthy
datahub-actions-debug-postgres:
<<: *datahub-actions-service-dev
container_name: actions-dev
profiles:
- debug-postgres
depends_on:
datahub-gms-debug-postgres:
condition: service_healthy
datahub-actions-debug-cassandra:
<<: *datahub-actions-service-dev
container_name: actions-dev
profiles:
- debug-cassandra
depends_on:
datahub-gms-debug-cassandra:
condition: service_healthy
datahub-actions-debug-consumers:
<<: *datahub-actions-service-dev
container_name: actions-dev
profiles:
- debug-consumers
depends_on:
datahub-gms-debug-consumers:
condition: service_healthy
datahub-actions-debug-neo4j:
<<: *datahub-actions-service-dev
container_name: actions-dev
profiles:
- debug-neo4j
depends_on:
datahub-gms-debug-neo4j:
condition: service_healthy
datahub-actions-debug-elasticsearch:
<<: *datahub-actions-service-dev
container_name: actions-dev
profiles:
- debug-elasticsearch
depends_on:
datahub-gms-debug-elasticsearch:
condition: service_healthy
Loading