1
0
mirror of https://github.com/rancher/os.git synced 2025-06-27 07:16:48 +00:00
os/scripts/ci
Sven Dowideit 0816893d97 No idea why, I need things running
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-04-11 04:25:46 +00:00

29 lines
605 B
Bash
Executable File

#!/bin/bash
#set -e
cd $(dirname $0)/..
echo BUILD
./scripts/build
echo TEST
./scripts/test
echo VALIDATE
./scripts/validate
echo PREPARE
./scripts/prepare
echo PACKAGE
./scripts/package
echo INTEGRATION-TEST
./scripts/integration-test
echo "--- Run"
echo "github-release release --user rancher --repo os --tag ${VERSION} --pre-release --draft"
for file in $(ls dist/artifacts/); do
if [ "$file" != "installer.tar" ]; then
echo "github-release upload --user rancher --repo os --tag ${VERSION} --file ./dist/artifacts/${file} --name ${file}"
fi
done
echo
cat dist/images | sed 's/^/docker push /'