You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mp...@apache.org on 2018/02/08 04:29:29 UTC
[1/2] mesos git commit: Updated Operator API Reservation
documentation to use `reservations`.
Repository: mesos
Updated Branches:
refs/heads/master c341e860c -> f7dbd29bd
Updated Operator API Reservation documentation to use `reservations`.
We updated this already in d831e27, but it was mistakenly using
the `reservation` field rather than the `reservations` field.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a6c17a26
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/a6c17a26
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/a6c17a26
Branch: refs/heads/master
Commit: a6c17a2646c3b85a23af19def4e0f858a4e61a89
Parents: c341e86
Author: Michael Park <mp...@apache.org>
Authored: Tue Feb 6 10:01:32 2018 -0800
Committer: Michael Park <mp...@apache.org>
Committed: Wed Feb 7 20:25:29 2018 -0800
----------------------------------------------------------------------
docs/reservation.md | 44 ++++++++++++++++++++++++++++----------------
1 file changed, 28 insertions(+), 16 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/a6c17a26/docs/reservation.md
----------------------------------------------------------------------
diff --git a/docs/reservation.md b/docs/reservation.md
index 33f58c3..a6eb02a 100644
--- a/docs/reservation.md
+++ b/docs/reservation.md
@@ -623,19 +623,25 @@ We send an HTTP POST request to the master's
"name": "cpus",
"type": "SCALAR",
"scalar": { "value": 8 },
- "reservation": {
- "principal": <operator_principal>,
- "role": "ads"
- }
+ "reservations": [
+ {
+ type: DYNAMIC,
+ role: "ads",
+ principal: <operator_principal>,
+ }
+ ]
},
{
"name": "mem",
"type": "SCALAR",
"scalar": { "value": 4096 },
- "reservation": {
- "principal": <operator_principal>,
- "role": "ads"
- }
+ "reservations": [
+ {
+ type: DYNAMIC,
+ role: "ads",
+ principal: <operator_principal>,
+ }
+ ]
}
]' \
-X POST http://<ip>:<port>/master/reserve
@@ -671,19 +677,25 @@ We can send an HTTP POST request to the master's
"name": "cpus",
"type": "SCALAR",
"scalar": { "value": 8 },
- "reservation": {
- "principal": <reserver_principal>,
- "role": "ads"
- }
+ "reservations": [
+ {
+ type: DYNAMIC,
+ role: "ads",
+ principal: <reserver_principal>,
+ }
+ ]
},
{
"name": "mem",
"type": "SCALAR",
"scalar": { "value": 4096 },
- "reservation": {
- "principal": <reserver_principal>,
- "role": "ads"
- }
+ "reservations": [
+ {
+ type: DYNAMIC,
+ role: "ads",
+ principal: <reserver_principal>,
+ }
+ ]
}
]' \
-X POST http://<ip>:<port>/master/unreserve
[2/2] mesos git commit: Updated ReviewBot to use Ubuntu 16.04.
Posted by mp...@apache.org.
Updated ReviewBot to use Ubuntu 16.04.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f7dbd29b
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f7dbd29b
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/f7dbd29b
Branch: refs/heads/master
Commit: f7dbd29bd9809d1dd254041537ca875e7ea26613
Parents: a6c17a2
Author: Michael Park <mp...@apache.org>
Authored: Wed Feb 7 20:28:42 2018 -0800
Committer: Michael Park <mp...@apache.org>
Committed: Wed Feb 7 20:28:42 2018 -0800
----------------------------------------------------------------------
support/jenkins/reviewbot.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/f7dbd29b/support/jenkins/reviewbot.sh
----------------------------------------------------------------------
diff --git a/support/jenkins/reviewbot.sh b/support/jenkins/reviewbot.sh
index ec42967..57ae5a3 100755
--- a/support/jenkins/reviewbot.sh
+++ b/support/jenkins/reviewbot.sh
@@ -24,7 +24,7 @@ MESOS_DIR=$(git rev-parse --show-toplevel)
: ${USERNAME:?"Environment variable 'USERNAME' must be set to the username of the 'Mesos Reviewbot' Reviewboard account."}
: ${PASSWORD:?"Environment variable 'PASSWORD' must be set to the password of the 'Mesos Reviewbot' Reviewboard account."}
-export OS='ubuntu:14.04'
+export OS='ubuntu:16.04'
export BUILDTOOL='autotools'
export COMPILER='gcc'
export CONFIGURATION='--verbose --disable-libtool-wrappers'