Add ci entry scripts 39/54239/3
authorQiLiang <liangqi1@huawei.com>
Wed, 21 Mar 2018 04:19:17 +0000 (12:19 +0800)
committerQiLiang <liangqi1@huawei.com>
Wed, 21 Mar 2018 07:41:44 +0000 (15:41 +0800)
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 <liangqi1@huawei.com>
ci/deploy.sh [new file with mode: 0755]
ci/upload.sh [new file with mode: 0755]
ci/verify.sh [new file with mode: 0755]

diff --git a/ci/deploy.sh b/ci/deploy.sh
new file mode 100755 (executable)
index 0000000..6280fd2
--- /dev/null
@@ -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 (executable)
index 0000000..05ab08c
--- /dev/null
@@ -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 (executable)
index 0000000..c1d65a4
--- /dev/null
@@ -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!"