created start files for development runs
This commit is contained in:
parent
527b22d6d3
commit
1580912117
|
@ -0,0 +1,25 @@
|
|||
version: '3'
|
||||
services:
|
||||
conductor:
|
||||
image: "nubisware/netflixoss-conductor:latest"
|
||||
container_name: conductorserver
|
||||
ports:
|
||||
- "5000:5000"
|
||||
- "8080:8080"
|
||||
environment:
|
||||
- "loadExample=false"
|
||||
networks:
|
||||
- orchestrator
|
||||
init:
|
||||
build: .
|
||||
image: init
|
||||
networks:
|
||||
- orchestrator
|
||||
volumes:
|
||||
- ./resources:/var/resources:ro
|
||||
- ./scripts:/var/scripts:ro
|
||||
entrypoint: /var/scripts/entrypoint-noworkflows.sh
|
||||
networks:
|
||||
- orchestrator
|
||||
networks:
|
||||
orchestrator:
|
|
@ -0,0 +1,26 @@
|
|||
version: '3'
|
||||
services:
|
||||
conductor:
|
||||
image: "nubisware/netflixoss-conductor:latest"
|
||||
container_name: conductorserver
|
||||
ports:
|
||||
- "5000:5000"
|
||||
- "8080:8080"
|
||||
environment:
|
||||
- "loadExample=false"
|
||||
- "log4j2.debug=true"
|
||||
networks:
|
||||
- orchestrator
|
||||
init:
|
||||
build: .
|
||||
image: init
|
||||
networks:
|
||||
- orchestrator
|
||||
volumes:
|
||||
- ./resources:/var/resources:ro
|
||||
- ./scripts:/var/scripts:ro
|
||||
entrypoint: /var/scripts/entrypoint.sh
|
||||
networks:
|
||||
- orchestrator
|
||||
networks:
|
||||
orchestrator:
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
export BASE="http://conductorserver:8080/api"
|
||||
echo "Waiting for conductor ..."
|
||||
until $(curl --output /dev/null --silent --fail $BASE/health); do
|
||||
echo 'still waiting ...'
|
||||
sleep 5
|
||||
done
|
||||
|
||||
echo 'Contact ... starting upload'
|
||||
|
||||
curl -s -o /dev/null -w "%{http_code}\n" -X POST -H 'Content-Type: application/json' -d @/var/resources/tasks/pytasks.json $BASE/metadata/taskdefs
|
||||
|
||||
#curl -s -o /dev/null -w "%{http_code}\n" -X POST -H 'Content-Type: application/json' -d @/var/resources/workflows/portal/group_deleted.json $BASE/metadata/workflow
|
Loading…
Reference in New Issue