summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Russell <gabriel.russell@mongodb.com>2016-03-14 16:33:32 -0400
committerGabriel Russell <gabriel.russell@mongodb.com>2016-03-17 17:01:20 -0400
commit92815512727612ebee7c82537062d3f1e93a8278 (patch)
treeb427c943a2b55553ffe8a0149055febb0eea861c
parentdb308a698f3adf3ac18c03242d94dfd8f5e42b0f (diff)
downloadmongo-92815512727612ebee7c82537062d3f1e93a8278.tar.gz
TOOLS-1097 run dist on more distros
-rw-r--r--common.yml86
1 files changed, 85 insertions, 1 deletions
diff --git a/common.yml b/common.yml
index 7ef2ee4f66a..4ea5757c325 100644
--- a/common.yml
+++ b/common.yml
@@ -240,7 +240,7 @@ functions:
export ${library_path}
fi
. ./set_gopath.sh
- go build -ldflags "-X github.com/mongodb/mongo-tools/common/options.Gitspec `git rev-parse HEAD` -X github.com/mongodb/mongo-tools/common/options.VersionStr $(git describe)" ${args} ${build_tags} -o bin/${tool} ${tool}/main/${tool}.go
+ ${gorootvars} go build -ldflags "-X github.com/mongodb/mongo-tools/common/options.Gitspec `git rev-parse HEAD` -X github.com/mongodb/mongo-tools/common/options.VersionStr $(git describe)" ${args} ${build_tags} -o bin/${tool} ${tool}/main/${tool}.go
"download mongod":
command: shell.exec
@@ -1533,3 +1533,87 @@ buildvariants:
integration_test_args: integration
tasks: *ubuntu1204_race_tasks
+#######################################
+# Dist only Buildvariants #
+#######################################
+
+- name: suse11
+ display_name: SUSE 11 SSL
+ run_on:
+ - suse11-test
+ expansions:
+ <<: *mongo_url_ubuntu1204
+ build_tags: -tags "sasl ssl"
+ arch: "linux/x86_64"
+ tasks:
+ - name: dist
+
+- name: suse12
+ display_name: SUSE 12 SSL
+ run_on:
+ - suse12-test
+ expansions:
+ <<: *mongo_url_ubuntu1204
+ build_tags: -tags "sasl ssl"
+ arch: "linux/x86_64"
+ tasks:
+ - name: dist
+
+- name: rhel55
+ display_name: RHEL 5.5 SSL
+ run_on:
+ - rhel55
+ expansions:
+ <<: *mongo_url_ubuntu1204
+ gorootvars: GOROOT=/opt/go PATH="/opt/go/bin:$PATH"
+ build_tags: -tags "sasl ssl"
+ arch: "linux/x86_64"
+ tasks:
+ - name: dist
+
+- name: rhel62
+ display_name: RHEL 6.2 SSL
+ run_on:
+ - rhel62-test
+ expansions:
+ <<: *mongo_url_ubuntu1204
+ gorootvars: GOROOT=/opt/go PATH="/opt/go/bin:$PATH"
+ build_tags: -tags "sasl ssl"
+ arch: "linux/x86_64"
+ tasks:
+ - name: dist
+
+- name: rhel70
+ display_name: RHEL 7.0 SSL
+ run_on:
+ - rhel70
+ expansions:
+ <<: *mongo_url_ubuntu1204
+ gorootvars: GOROOT=/opt/go PATH="/opt/go/bin:$PATH"
+ build_tags: -tags "sasl ssl"
+ arch: "linux/x86_64"
+ tasks:
+ - name: dist
+
+- name: ubuntu1404
+ display_name: Ubuntu 14.04 SSL
+ run_on:
+ - ubuntu1404-test
+ expansions:
+ <<: *mongo_url_ubuntu1204
+ build_tags: -tags "sasl ssl"
+ arch: "linux/x86_64"
+ tasks:
+ - name: dist
+
+- name: debian71
+ display_name: Debian 7.1 SSL
+ run_on:
+ - debian71-test
+ expansions:
+ <<: *mongo_url_ubuntu1204
+ gorootvars: GOROOT=/opt/go PATH="/opt/go/bin:$PATH"
+ build_tags: -tags "sasl ssl"
+ arch: "linux/x86_64"
+ tasks:
+ - name: dist