mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 08:46:48 +00:00
Create publish-armhf.sh
This commit is contained in:
parent
3b83c9e682
commit
5ac05f7959
27
contrib/publish-armhf.sh
Normal file
27
contrib/publish-armhf.sh
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
declare -a repos=("openfaas-incubator/faas-idler" "openfaas/faas" "openfaas/faas-swarm" "openfaas/nats-queue-worker" "openfaas/faas-netes" "openfaas/faas-cli")
|
||||||
|
|
||||||
|
HERE=`pwd`
|
||||||
|
|
||||||
|
#if [ ! -z "$CACHED" ]; then
|
||||||
|
rm -rf staging || :
|
||||||
|
mkdir -p staging/openfaas
|
||||||
|
mkdir -p staging/openfaas-incubator
|
||||||
|
|
||||||
|
#fi
|
||||||
|
|
||||||
|
for i in "${repos[@]}"
|
||||||
|
do
|
||||||
|
cd $HERE
|
||||||
|
|
||||||
|
echo "$i"
|
||||||
|
git clone https://github.com/$i ./staging/$i
|
||||||
|
cd ./staging/$i
|
||||||
|
pwd
|
||||||
|
export TAG=$(git describe --abbrev=0 --tags)
|
||||||
|
echo "Latest release: $TAG"
|
||||||
|
|
||||||
|
make ci-armhf-build ci-armhf-push
|
||||||
|
|
||||||
|
done
|
Loading…
x
Reference in New Issue
Block a user