From 0f1c999f546d45e87e0b8e4e7636cf0625dd206a Mon Sep 17 00:00:00 2001 From: QiLiang Date: Wed, 21 Mar 2018 12:19:17 +0800 Subject: Add ci entry scripts Currently, just some dummy scripts for ci test. Scripts contents Plan: - deploy.sh is for ci daily job deploy and verify - upload.sh is for building/uploading docker image, other resources - verify.sh is for basic patch verify (e.g. ut, lint) Change-Id: If4c9ffb484a265258dcb6afaf6f479c8e394d7ee Signed-off-by: QiLiang --- ci/deploy.sh | 12 ++++++++++++ ci/upload.sh | 15 +++++++++++++++ ci/verify.sh | 12 ++++++++++++ 3 files changed, 39 insertions(+) create mode 100755 ci/deploy.sh create mode 100755 ci/upload.sh create mode 100755 ci/verify.sh diff --git a/ci/deploy.sh b/ci/deploy.sh new file mode 100755 index 0000000..6280fd2 --- /dev/null +++ b/ci/deploy.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# +# Copyright (c) Authors of Clover +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +# +set -ex + +echo "Clover deploy complete!" diff --git a/ci/upload.sh b/ci/upload.sh new file mode 100755 index 0000000..05ab08c --- /dev/null +++ b/ci/upload.sh @@ -0,0 +1,15 @@ +#!/bin/bash +# +# Copyright (c) Authors of Clover +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +# +set -ex + +echo dummy > dummy +gsutil cp dummy gs://$GS_URL/dummy + +echo "Clover upload complete!" diff --git a/ci/verify.sh b/ci/verify.sh new file mode 100755 index 0000000..c1d65a4 --- /dev/null +++ b/ci/verify.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# +# Copyright (c) Authors of Clover +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +# +set -ex + +echo "Clover verify complete!" -- cgit 1.2.3-korg