From f2a4524ce16aed1d74c7acd545bdc646b33b049b Mon Sep 17 00:00:00 2001 From: jose-bigio Date: Wed, 14 Feb 2018 14:29:55 -0800 Subject: [PATCH] Add CI target for separate CI systems Signed-off-by: jose-bigio --- Makefile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index b1f47c737..7122703ad 100644 --- a/Makefile +++ b/Makefile @@ -588,13 +588,8 @@ node-test-at: chmod +rx /tmp/goss && \ /tmp/goss --gossfile /tmp/goss.yaml validate' -# This depends on clean to ensure that dependent images get untagged and repulled -# THIS JOB DELETES LOTS OF THINGS - DO NOT RUN IT ON YOUR LOCAL DEV MACHINE. -.PHONY: semaphore -semaphore: - # Clean up unwanted files to free disk space. - bash -c 'rm -rf /usr/local/golang /opt /var/lib/mongodb /usr/lib/jvm /home/runner/{.npm,.phpbrew,.phpunit,.kerl,.kiex,.lein,.nvm,.npm,.phpbrew,.rbenv}' - +.PHONY: ci +ci: # Run the containerized UTs first. $(MAKE) node-test-containerized @@ -604,6 +599,14 @@ semaphore: $(MAKE) RELEASE_STREAM=master $(NODE_CONTAINER_NAME) st ST_TO_RUN=tests/st/policy $(MAKE) RELEASE_STREAM=master st-ssl +# This depends on clean to ensure that dependent images get untagged and repulled +# THIS JOB DELETES LOTS OF THINGS - DO NOT RUN IT ON YOUR LOCAL DEV MACHINE. +.PHONY: semaphore +semaphore: + # Clean up unwanted files to free disk space. + bash -c 'rm -rf /usr/local/golang /opt /var/lib/mongodb /usr/lib/jvm /home/runner/{.npm,.phpbrew,.phpunit,.kerl,.kiex,.lein,.nvm,.npm,.phpbrew,.rbenv}' + $(MAKE) ci + release: clean @echo "" @echo "Hit Return to go ahead and create the tag, or Ctrl-C to cancel."