Skip to content

Commit

Permalink
Test upgrade from v0.10 packages during v0.11 package building.
Browse files Browse the repository at this point in the history
  • Loading branch information
GUI committed Jan 21, 2016
1 parent a5ab9c0 commit 720a37e
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
32 changes: 31 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1134,6 +1134,10 @@ $(DEPS_DIR)/verify_package/centos-6/api-umbrella-0.9.0-1.el6.x86_64.rpm:
mkdir -p $(shell dirname $@)
curl -L -o $@ https://bintray.com/artifact/download/nrel/api-umbrella-el6/api-umbrella-0.9.0-1.el6.x86_64.rpm

$(DEPS_DIR)/verify_package/centos-6/api-umbrella-0.10.0-1.el6.x86_64.rpm:
mkdir -p $(shell dirname $@)
curl -L -o $@ https://bintray.com/artifact/download/nrel/api-umbrella-el6/api-umbrella-0.10.0-1.el6.x86_64.rpm

$(DEPS_DIR)/verify_package/centos-7/api-umbrella-0.8.0-1.el7.x86_64.rpm:
mkdir -p $(shell dirname $@)
curl -L -o $@ http://sourceforge.net/projects/api-umbrella/files/el/7/api-umbrella-0.8.0-1.el7.x86_64.rpm/download
Expand All @@ -1142,6 +1146,10 @@ $(DEPS_DIR)/verify_package/centos-7/api-umbrella-0.9.0-1.el7.x86_64.rpm:
mkdir -p $(shell dirname $@)
curl -L -o $@ https://bintray.com/artifact/download/nrel/api-umbrella-el7/api-umbrella-0.9.0-1.el7.x86_64.rpm

$(DEPS_DIR)/verify_package/centos-7/api-umbrella-0.10.0-1.el7.x86_64.rpm:
mkdir -p $(shell dirname $@)
curl -L -o $@ https://bintray.com/artifact/download/nrel/api-umbrella-el7/api-umbrella-0.10.0-1.el7.x86_64.rpm

$(DEPS_DIR)/verify_package/ubuntu-12.04/api-umbrella_0.8.0-1_amd64.deb:
mkdir -p $(shell dirname $@)
curl -L -o $@ http://sourceforge.net/projects/api-umbrella/files/ubuntu/12.04/api-umbrella_0.8.0-1_amd64.deb/download
Expand All @@ -1150,6 +1158,10 @@ $(DEPS_DIR)/verify_package/ubuntu-12.04/api-umbrella_0.9.0-1~precise_amd64.deb:
mkdir -p $(shell dirname $@)
curl -L -o $@ https://bintray.com/artifact/download/nrel/api-umbrella-ubuntu/pool/main/a/api-umbrella/api-umbrella_0.9.0-1%7Eprecise_amd64.deb

$(DEPS_DIR)/verify_package/ubuntu-12.04/api-umbrella_0.10.0-1~precise_amd64.deb:
mkdir -p $(shell dirname $@)
curl -L -o $@ https://bintray.com/artifact/download/nrel/api-umbrella-ubuntu/pool/main/a/api-umbrella/api-umbrella_0.10.0-1%7Eprecise_amd64.deb

$(DEPS_DIR)/verify_package/ubuntu-14.04/api-umbrella_0.8.0-1_amd64.deb:
mkdir -p $(shell dirname $@)
curl -L -o $@ http://sourceforge.net/projects/api-umbrella/files/ubuntu/14.04/api-umbrella_0.8.0-1_amd64.deb/download
Expand All @@ -1158,6 +1170,10 @@ $(DEPS_DIR)/verify_package/ubuntu-14.04/api-umbrella_0.9.0-1~trusty_amd64.deb:
mkdir -p $(shell dirname $@)
curl -L -o $@ https://bintray.com/artifact/download/nrel/api-umbrella-ubuntu/pool/main/a/api-umbrella/api-umbrella_0.9.0-1%7Etrusty_amd64.deb

$(DEPS_DIR)/verify_package/ubuntu-14.04/api-umbrella_0.10.0-1~trusty_amd64.deb:
mkdir -p $(shell dirname $@)
curl -L -o $@ https://bintray.com/artifact/download/nrel/api-umbrella-ubuntu/pool/main/a/api-umbrella/api-umbrella_0.10.0-1%7Etrusty_amd64.deb

$(DEPS_DIR)/verify_package/debian-7/api-umbrella_0.8.0-1_amd64.deb:
mkdir -p $(shell dirname $@)
curl -L -o $@ http://sourceforge.net/projects/api-umbrella/files/debian/7/api-umbrella_0.8.0-1_amd64.deb/download
Expand All @@ -1166,22 +1182,36 @@ $(DEPS_DIR)/verify_package/debian-7/api-umbrella_0.9.0-1~wheezy_amd64.deb:
mkdir -p $(shell dirname $@)
curl -L -o $@ https://bintray.com/artifact/download/nrel/api-umbrella-debian/pool/main/a/api-umbrella/api-umbrella_0.9.0-1%7Ewheezy_amd64.deb

$(DEPS_DIR)/verify_package/debian-7/api-umbrella_0.10.0-1~wheezy_amd64.deb:
mkdir -p $(shell dirname $@)
curl -L -o $@ https://bintray.com/artifact/download/nrel/api-umbrella-debian/pool/main/a/api-umbrella/api-umbrella_0.10.0-1%7Ewheezy_amd64.deb

$(DEPS_DIR)/verify_package/debian-8/api-umbrella_0.9.0-1~jessie_amd64.deb:
mkdir -p $(shell dirname $@)
curl -L -o $@ https://bintray.com/artifact/download/nrel/api-umbrella-debian/pool/main/a/api-umbrella/api-umbrella_0.9.0-1%7Ejessie_amd64.deb

$(DEPS_DIR)/verify_package/debian-8/api-umbrella_0.10.0-1~jessie_amd64.deb:
mkdir -p $(shell dirname $@)
curl -L -o $@ https://bintray.com/artifact/download/nrel/api-umbrella-debian/pool/main/a/api-umbrella/api-umbrella_0.10.0-1%7Ejessie_amd64.deb

download_verify_package_deps: \
$(DEPS_DIR)/verify_package/centos-6/api-umbrella-0.8.0-1.el6.x86_64.rpm \
$(DEPS_DIR)/verify_package/centos-6/api-umbrella-0.9.0-1.el6.x86_64.rpm \
$(DEPS_DIR)/verify_package/centos-6/api-umbrella-0.10.0-1.el6.x86_64.rpm \
$(DEPS_DIR)/verify_package/centos-7/api-umbrella-0.8.0-1.el7.x86_64.rpm \
$(DEPS_DIR)/verify_package/centos-7/api-umbrella-0.9.0-1.el7.x86_64.rpm \
$(DEPS_DIR)/verify_package/centos-7/api-umbrella-0.10.0-1.el7.x86_64.rpm \
$(DEPS_DIR)/verify_package/ubuntu-12.04/api-umbrella_0.8.0-1_amd64.deb \
$(DEPS_DIR)/verify_package/ubuntu-12.04/api-umbrella_0.9.0-1~precise_amd64.deb \
$(DEPS_DIR)/verify_package/ubuntu-12.04/api-umbrella_0.10.0-1~precise_amd64.deb \
$(DEPS_DIR)/verify_package/ubuntu-14.04/api-umbrella_0.8.0-1_amd64.deb \
$(DEPS_DIR)/verify_package/ubuntu-14.04/api-umbrella_0.9.0-1~trusty_amd64.deb \
$(DEPS_DIR)/verify_package/ubuntu-14.04/api-umbrella_0.10.0-1~trusty_amd64.deb \
$(DEPS_DIR)/verify_package/debian-7/api-umbrella_0.8.0-1_amd64.deb \
$(DEPS_DIR)/verify_package/debian-7/api-umbrella_0.9.0-1~wheezy_amd64.deb \
$(DEPS_DIR)/verify_package/debian-8/api-umbrella_0.9.0-1~jessie_amd64.deb
$(DEPS_DIR)/verify_package/debian-7/api-umbrella_0.10.0-1~wheezy_amd64.deb \
$(DEPS_DIR)/verify_package/debian-8/api-umbrella_0.9.0-1~jessie_amd64.deb \
$(DEPS_DIR)/verify_package/debian-8/api-umbrella_0.10.0-1~jessie_amd64.deb

package:
$(BUILD_DIR)/package/build
Expand Down
1 change: 1 addition & 0 deletions build/verify_package/spec/localhost/service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -523,4 +523,5 @@ def install_package(version)
end

it_behaves_like "package upgrade", "0.9.0"
it_behaves_like "package upgrade", "0.10.0"
end

0 comments on commit 720a37e

Please sign in to comment.