mirror of
https://github.com/openfaas/faas.git
synced 2025-06-08 16:26:47 +00:00
Automatic builds for auth-module on x86_64 (via Travis) and on-demand on-device for arm via publish.sh The basic-auth module is not built or pushed upon 'tag' / 'release' of the faas repo, but it should be: https://github.com/openfaas/faas/tree/master/auth. We also don't create on-device images for this, but should do for both armhf and arm64: https://github.com/openfaas/faas/blob/master/contrib/publish-arm.sh This change addresses these challenges and also introduces a tagAndPush script to alleviate some of the recently introduced repetition in .travis.yml. Signed-off-by: Richard Gee <richard@technologee.co.uk>
30 lines
624 B
Makefile
30 lines
624 B
Makefile
TAG?=latest
|
|
|
|
.PHONY: build
|
|
build:
|
|
./build.sh
|
|
|
|
.PHONY: build-gateway
|
|
build-gateway:
|
|
(cd gateway; ./build.sh latest-dev)
|
|
|
|
.PHONY: test-ci
|
|
test-ci:
|
|
./contrib/ci.sh
|
|
|
|
.PHONY: ci-armhf-build
|
|
ci-armhf-build:
|
|
(cd gateway; ./build.sh $(TAG) ; cd ../auth/basic-auth ; ./build.sh $(TAG))
|
|
|
|
.PHONY: ci-armhf-push
|
|
ci-armhf-push:
|
|
(cd gateway; ./push.sh $(TAG) ; cd ../auth/basic-auth ; ./push.sh $(TAG))
|
|
|
|
.PHONY: ci-arm64-build
|
|
ci-arm64-build:
|
|
(cd gateway; ./build.sh $(TAG) ; cd ../auth/basic-auth ; ./build.sh $(TAG))
|
|
|
|
.PHONY: ci-arm64-push
|
|
ci-arm64-push:
|
|
(cd gateway; ./push.sh $(TAG) ; cd ../auth/basic-auth ; ./push.sh $(TAG))
|