You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/05/21 20:59:15 UTC
[1/2] incubator-ignite git commit: # ignite-456: slurp.sh
Repository: incubator-ignite
Updated Branches:
refs/heads/ignite-456 2c2f89fb5 -> e706cfc72
# ignite-456: slurp.sh
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/087f2ffd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/087f2ffd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/087f2ffd
Branch: refs/heads/ignite-456
Commit: 087f2ffd6802b9ac1f60dc15ef3c6820837ba1db
Parents: 2c2f89f
Author: null <null>
Authored: Thu May 21 21:23:43 2015 +0300
Committer: null <null>
Committed: Thu May 21 21:23:43 2015 +0300
----------------------------------------------------------------------
.gitignore | 3 +-
dev-tools/slurp.sh | 76 +++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/087f2ffd/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 296e130..3da8e4d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,4 +19,5 @@ atlassian-ide-plugin.xml
target
/libs/
pom-installed.xml
-git-patch-prop-local.sh
\ No newline at end of file
+git-patch-prop-local.sh
+/slurp.sh
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/087f2ffd/dev-tools/slurp.sh
----------------------------------------------------------------------
diff --git a/dev-tools/slurp.sh b/dev-tools/slurp.sh
new file mode 100644
index 0000000..9565a5c
--- /dev/null
+++ b/dev-tools/slurp.sh
@@ -0,0 +1,76 @@
+#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+#
+#
+#
+DEFAULT_BRANCH='ignite-sprint-5'
+
+#
+#
+#
+TC_URL=''
+
+#
+#
+#
+GIT_USER_NAME='test_user_name'
+
+#
+#
+#
+GIT_USER_EMAIL='test.mail@test.com'
+
+#
+#
+#
+JIRA_USER=''
+
+#
+#
+#
+JIRA_PWD=''
+
+#
+#
+#
+TASK_RUNNER_PWD=''
+
+#
+#
+#
+TASK_RUNNER_USER=''
+
+#
+#
+#
+JIRA_CONTRIBUTORS=''
+
+git fetch
+
+git checkout ${DEFAULT_BRANCH}
+
+export TC_URL=${TC_URL}
+export GIT_USER_NAME=${GIT_USER_NAME}
+export GIT_USER_EMAIL=${GIT_USER_EMAIL}
+export JIRA_USER=${JIRA_USER}
+export JIRA_PWD=${JIRA_PWD}
+export TASK_RUNNER_PWD=${TASK_RUNNER_PWD}
+export TASK_RUNNER_USER=${TASK_RUNNER_USER}
+
+gradle slurp -b dev-tools/build.gradle
[2/2] incubator-ignite git commit: # ignite-456: slurp.sh 2
Posted by sb...@apache.org.
# ignite-456: slurp.sh 2
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/e706cfc7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/e706cfc7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/e706cfc7
Branch: refs/heads/ignite-456
Commit: e706cfc727302f2731b711f01b49cb7e7922f6c5
Parents: 087f2ff
Author: null <null>
Authored: Thu May 21 22:00:17 2015 +0300
Committer: null <null>
Committed: Thu May 21 22:00:17 2015 +0300
----------------------------------------------------------------------
dev-tools/slurp.sh | 36 +++++++++++++++++-------------------
1 file changed, 17 insertions(+), 19 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e706cfc7/dev-tools/slurp.sh
----------------------------------------------------------------------
diff --git a/dev-tools/slurp.sh b/dev-tools/slurp.sh
index 9565a5c..bf1e91a 100644
--- a/dev-tools/slurp.sh
+++ b/dev-tools/slurp.sh
@@ -17,47 +17,42 @@
#
#
+# Copy this script file at root of ignite repo.
+# Fill all variables.
#
-#
-DEFAULT_BRANCH='ignite-sprint-5'
#
+# Default branch name. Need to use last version of "jiraslurp" scripts.
#
-#
-TC_URL=''
+DEFAULT_BRANCH='ignite-sprint-5'
#
+# TC URL. It is 10.30.0.229 for public TC from agents.
#
-#
-GIT_USER_NAME='test_user_name'
+TC_URL='10.30.0.229'
#
+# Jira user name to add comments aboyt triggered builds.
#
-#
-GIT_USER_EMAIL='test.mail@test.com'
+JIRA_USER='tc_commenter'
#
-#
-#
-JIRA_USER=''
-
-#
-#
+# Jira password.
#
JIRA_PWD=''
#
+# TC user which have permissions to trigger new builds.
#
-#
-TASK_RUNNER_PWD=''
+TASK_RUNNER_USER='task_runner'
#
+# TC user password.
#
-#
-TASK_RUNNER_USER=''
+TASK_RUNNER_PWD=''
#
-#
+# Space separated logins of jira useres which were approved to auto triggering patches. Like 'user1 user2 user3'.
#
JIRA_CONTRIBUTORS=''
@@ -65,6 +60,8 @@ git fetch
git checkout ${DEFAULT_BRANCH}
+git pull
+
export TC_URL=${TC_URL}
export GIT_USER_NAME=${GIT_USER_NAME}
export GIT_USER_EMAIL=${GIT_USER_EMAIL}
@@ -72,5 +69,6 @@ export JIRA_USER=${JIRA_USER}
export JIRA_PWD=${JIRA_PWD}
export TASK_RUNNER_PWD=${TASK_RUNNER_PWD}
export TASK_RUNNER_USER=${TASK_RUNNER_USER}
+export JIRA_CONTRIBUTORS=${JIRA_CONTRIBUTORS}
gradle slurp -b dev-tools/build.gradle