Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
amousset committed Jul 19, 2019
1 parent 4613e91 commit 0f33faf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ GET = $(PROXY_ENV) $(WGET)
endif
endif

all: rudder-templates-cli.jar test
all: initial-promises bootstrap-promises/failsafe.cf

initial-promises: rudder-templates-cli.jar test
# The common technique
sed -i -e 's/.*TRACKINGKEY.*/ "TRACKINGKEY": "hasPolicyServer-root@@common-root@@00",/' variables.json
java -jar rudder-templates-cli.jar --outext .cf --outdir initial-promises/node-server/common/1.0/ techniques/system/common/1.0/*.st
Expand Down Expand Up @@ -72,6 +74,9 @@ all: rudder-templates-cli.jar test
# Provide a default rudder.json
cp variables.json initial-promises/rudder.json

bootstrap-promises/failsafe.cf: initial-promises
mkdir -p bootstrap-promises/
cat initial-promises/node-server/common/1.0/update.cf initial-promises/node-server/failsafe.cf > $@

rudder-templates-cli.jar:
$(GET) rudder-templates-cli.jar https://repository.rudder.io/build-dependencies/rudder-templates-cli/rudder-templates-cli.jar
Expand Down

0 comments on commit 0f33faf

Please sign in to comment.