Brett Smith [Mon, 25 Jan 2016 23:15:12 +0000 (18:15 -0500)]
8008: Make dependencies for build-dockerfiles.
We've apparently never had code to do this before. I guess all
deployments had the dependencies generated by hand before running.
This makes them automated to fix failures like
<https://ci.curoverse.com/job/build-packages/1668/console>.
Refs #8008.
Peter Amstutz [Mon, 25 Jan 2016 17:14:44 +0000 (12:14 -0500)]
Fix markdown for arvbox README.md refs #8080
Peter Amstutz [Mon, 25 Jan 2016 15:34:02 +0000 (10:34 -0500)]
Add "status" command, refs #8080
Peter Amstutz [Mon, 25 Jan 2016 15:21:22 +0000 (10:21 -0500)]
Just create arvbox superuser instead of creating a whole useless database.
Check directly whether creating the arvbox is required. refs #8080
Ward Vandewege [Fri, 22 Jan 2016 22:44:55 +0000 (17:44 -0500)]
Make sure not to accidentally include config/application.yml and
config/database.yml in our rails packages, take 2: make sure that
config/database.yml *is* present in our workbench packages, where we
want to include it.
No issue #
Ward Vandewege [Fri, 22 Jan 2016 21:40:26 +0000 (16:40 -0500)]
Merge branch '8066-git-init-from-postinst'
closes #8066
Ward Vandewege [Fri, 22 Jan 2016 21:39:23 +0000 (16:39 -0500)]
Some review fixes.
closes #8066
Ward Vandewege [Fri, 22 Jan 2016 21:21:23 +0000 (16:21 -0500)]
Merge branch 'master' into 8066-git-init-from-postinst
Ward Vandewege [Fri, 22 Jan 2016 15:27:59 +0000 (10:27 -0500)]
Make sure not to accidentally include config/application.yml and
config/database.yml in our rails packages.
No issue #
Peter Amstutz [Fri, 22 Jan 2016 15:26:14 +0000 (10:26 -0500)]
Bump libcloud package version pin to 0.20.2dev1 refs #8235
Peter Amstutz [Thu, 21 Jan 2016 19:47:40 +0000 (14:47 -0500)]
Merge branch '8008-test-all-packages' closes #8008
Peter Amstutz [Thu, 21 Jan 2016 19:30:03 +0000 (14:30 -0500)]
8008: Tweak error code reporting. Remove debugging line.
Brett Smith [Wed, 20 Jan 2016 23:52:36 +0000 (18:52 -0500)]
8008: Quote more variables in package test scripts.
radhika [Wed, 20 Jan 2016 17:44:02 +0000 (12:44 -0500)]
refs #8028
Merge branch '8028-crunch-dispatch-local'
radhika [Wed, 20 Jan 2016 17:43:32 +0000 (12:43 -0500)]
Merge branch 'master' into 8028-crunch-dispatch-local
Conflicts:
jenkins/run-tests.sh
Peter Amstutz [Wed, 20 Jan 2016 17:10:26 +0000 (12:10 -0500)]
Document some arvbox hw/sw requirements refs #8080
Peter Amstutz [Wed, 20 Jan 2016 16:43:10 +0000 (11:43 -0500)]
Enable arvbox user to sudo to crunch user. refs #8080
Peter Amstutz [Wed, 20 Jan 2016 16:40:09 +0000 (11:40 -0500)]
Add crunch-run to run-tests refs #7816
Peter Amstutz [Wed, 20 Jan 2016 15:38:43 +0000 (10:38 -0500)]
Fix gitolite-shell path refs #8080
Nico Cesar [Tue, 19 Jan 2016 20:17:22 +0000 (15:17 -0500)]
added git_internal_dir init in postinst.sh
Peter Amstutz [Tue, 19 Jan 2016 18:09:31 +0000 (13:09 -0500)]
Merge branch '8080-arvbox' closes #8080
Peter Amstutz [Mon, 18 Jan 2016 20:33:03 +0000 (15:33 -0500)]
8080: fpm_depends comes before run-build-package commands; fpm_args comes after
run-build package commands. Improve quoting. Use sed -i.
Peter Amstutz [Mon, 18 Jan 2016 19:43:01 +0000 (14:43 -0500)]
8008: Move test files into their own directories. Fix rails package tests to
work with debian & ubuntu. Fix error code checking.
Peter Amstutz [Thu, 14 Jan 2016 21:40:59 +0000 (16:40 -0500)]
8008: SSO package tests pass for all targets.
Peter Amstutz [Thu, 14 Jan 2016 20:45:18 +0000 (15:45 -0500)]
8008: Incorporate SSO package testing into general package testing framework.
Peter Amstutz [Wed, 13 Jan 2016 21:41:39 +0000 (16:41 -0500)]
Fixing our fpm rails package building to handle fpm-info.sh.
Peter Amstutz [Wed, 13 Jan 2016 20:40:36 +0000 (15:40 -0500)]
8008: Run bundle install and bundle list for api server and workbench.
Peter Amstutz [Wed, 13 Jan 2016 19:50:45 +0000 (14:50 -0500)]
8080: Successfully tests all packages. Produces before/after/diff lists for each package.
Peter Amstutz [Wed, 13 Jan 2016 19:11:30 +0000 (14:11 -0500)]
8008: Test each Arvados package individually.
radhika [Wed, 13 Jan 2016 16:17:11 +0000 (11:17 -0500)]
8028: add services/crunch-dispatch-local
Brett Smith [Mon, 11 Jan 2016 22:17:45 +0000 (17:17 -0500)]
Merge branch '8014-rails-postinst-scripts-wip'
Refs #8014. Closes #8036.
Brett Smith [Mon, 11 Jan 2016 22:17:09 +0000 (17:17 -0500)]
8014: Rails upgrade scripts are removed; don't run them in deploy script.
Brett Smith [Mon, 4 Jan 2016 23:02:08 +0000 (18:02 -0500)]
8014: Rails postinst script sets better default access for /etc/arvados.
Brett Smith [Sat, 2 Jan 2016 17:15:53 +0000 (12:15 -0500)]
8014, 8059: Unify Rails package building.
* Introduce a handle_rails_package function, and helpers, to build a
Rails package.
* Generalize all the support scripts into unified postinst, prerm, and
postrm scripts. handle_rails_package builds these into the
packages. See jenkins/rails-package-scripts/README.md for details.
* More error checking throughout (e.g., check for failure when doing
any prep work for Rails packages, or the Workbench packages
specifically, using `set -e` in a subshell).
One behavior change from this unification: before this,
run-build-packages treated --build-bundle-packages to mean "*also*
build bundle packages", while run-build-packages-sso treated the
switch to mean "*only* build bundle packages". This commit declares
run-build-packages to be the winner, and makes run-build-packages-sso
consistent with it.
Brett Smith [Sat, 2 Jan 2016 00:09:08 +0000 (19:09 -0500)]
Fix quoting of local variable assignments throughout.
When you assign a variable directly (e.g., `FOO=bar`), you don't need
to quote the RHS, because the shell doesn't do expansion in that
case. But when you declare and assign a variable (e.g., `local
foo=bar`), you *do* potentially need to quote it, because `local` is a
command and all the normal expansion rules for running commands
applies.
Brett Smith [Fri, 1 Jan 2016 18:38:00 +0000 (13:38 -0500)]
8014: Clean database state detection in arvados-sso postinst.
* Remove unused status code capture.
* Use `grep -q`. Previous versions of the script avoided it because
they piped directly from rake tasks, which would get upset when the
pipe broke. Now that we capture all the output, that's no longer a
concern.
Brett Smith [Fri, 1 Jan 2016 17:26:20 +0000 (12:26 -0500)]
8014: Introduce run_and_report function to arvados-sso postinst.
Use this to DRY up code that says "Doing something... done."
This commit removes some `|| exit $?` that's redundant with `set -e`.
Brett Smith [Fri, 1 Jan 2016 17:17:01 +0000 (12:17 -0500)]
8014: Improve conffile handling in arvados-sso postinst.
* DRY it up into a function.
* DATABASE_READY and APPLICATION_READY care about whether the
corresponding .yml file is usable. Always detect when it is
unmodified from the .yml.example file.
* Build symlinks from /var/www to /etc in more cases where it's safe.
Brett Smith [Fri, 1 Jan 2016 16:10:05 +0000 (11:10 -0500)]
8014: arvados-sso postinst recognizes versioned Nginx service names.
Brett Smith [Fri, 1 Jan 2016 16:02:46 +0000 (11:02 -0500)]
8014: Refactor web service detection warnings in arvados-sso postinst.
Brett Smith [Fri, 1 Jan 2016 15:54:00 +0000 (10:54 -0500)]
8014: Simplify COMMAND_PREFIX-setting code.
Brett Smith [Fri, 1 Jan 2016 15:51:01 +0000 (10:51 -0500)]
8014: Refactor "not fully configured" messages in arvados-sso postinst.
Brett Smith [Fri, 1 Jan 2016 15:41:23 +0000 (10:41 -0500)]
8014: Remove unused $VERSION tracking from arvados-sso postinst.
Brett Smith [Thu, 31 Dec 2015 20:58:18 +0000 (15:58 -0500)]
8014: Remove unused sso-server-upgrade.sh script.
Brett Smith [Sun, 10 Jan 2016 03:34:18 +0000 (22:34 -0500)]
7991: pip build process detects if --no-use-wheel is supported.
Refs #7991.
Brett Smith [Sun, 10 Jan 2016 03:33:34 +0000 (22:33 -0500)]
7991: Update error message for pip build errors.
Refs #7991.
Brett Smith [Fri, 8 Jan 2016 22:20:05 +0000 (17:20 -0500)]
Merge branch '7991-google-api-python-client-perms-wip'
Closes #7991, #8136.
Brett Smith [Fri, 8 Jan 2016 20:58:28 +0000 (15:58 -0500)]
7991: Fix permissions of google-api-python-client egg info files.
Ward Vandewege [Thu, 7 Jan 2016 00:38:28 +0000 (19:38 -0500)]
Make sure not to silence package installation during the test-packages
stage, so that we can see actual failure messages if there is a problem.
No issue #
Brett Smith [Wed, 6 Jan 2016 14:36:14 +0000 (09:36 -0500)]
8104: Pin the pycurl backport version.
Refs #8104.
Tom Clegg [Mon, 14 Dec 2015 21:56:28 +0000 (16:56 -0500)]
Merge branch '7901-crunchstat-summary' refs #7901
Tom Clegg [Thu, 10 Dec 2015 21:00:17 +0000 (16:00 -0500)]
7901: Add crunchstat-summary
Brett Smith [Thu, 10 Dec 2015 20:52:32 +0000 (15:52 -0500)]
7961: SSO postinst script uses bash.
Closes #7961.
Brett Smith [Wed, 9 Dec 2015 17:43:58 +0000 (12:43 -0500)]
7953: Update test procedure for CentOS 6 packages.
Don't install any Software Collections in the Dockerfile, just the
Software Collections tools. Test that our packages correctly declare
their dependency on the relevant Software Collection, and that it gets
pulled in. We want to tell users to install this way, so this makes
sure it's working.
Refs #7953, #7957.
Brett Smith [Tue, 8 Dec 2015 01:55:59 +0000 (20:55 -0500)]
Merge branch '7829-package-licenses-wip'
Refs #7829. Closes #7913.
Brett Smith [Mon, 7 Dec 2015 20:36:32 +0000 (15:36 -0500)]
7829: Add licenses to Arvados software packages.
Brett Smith [Mon, 7 Dec 2015 20:31:09 +0000 (15:31 -0500)]
7953: Fix Docker image to test CentOS 6.6 packages.
Follows the same rationale as
bebf531a2cb9cf08843d6ac4d4ae2238d58efc2b.
Refs #7953.
Brett Smith [Mon, 7 Dec 2015 17:00:29 +0000 (12:00 -0500)]
Merge branch '7953-centos-scl-fix-wip'
Refs #7953. Closes #7955.
Brett Smith [Mon, 7 Dec 2015 15:06:02 +0000 (10:06 -0500)]
7953: Fix Docker image to build CentOS 6.6 packages.
* Follow the Software Collections documentation at
<https://wiki.centos.org/AdditionalResources/Repositories/SCL>.
This downgrades us to Python 3.3, but that shouldn't be a
problem, since we test and build packages for Debian 7 which uses
Python 3.2. On the plus side, it removes an external dependency
on softwarecollections.org.
* The python-pip package disappeared. I don't know where it went.
Maybe there were changes to the underlying centos:6 Docker image?
Install it manually.
Ward Vandewege [Fri, 4 Dec 2015 15:14:22 +0000 (10:14 -0500)]
Default run-deploy.sh to ssh port 22, and provide a command line option
to change the port.
No issue #
radhika [Wed, 2 Dec 2015 17:51:10 +0000 (12:51 -0500)]
refs #7710
Merge branch '7710-add-go-sdk-crunchrunner'
Brett Smith [Tue, 1 Dec 2015 22:13:20 +0000 (17:13 -0500)]
7839: Stop backporting requests for Python 2.
This is no longer needed now that our Keep client is built on top of
pycurl. Confirmed by building all our Python packages from source
into a fresh virtualenv. requests does not appear in `pip freeze`.
requests is still needed for Python 3 because docker-py uses it.
Closes #7839.
radhika [Tue, 1 Dec 2015 18:35:41 +0000 (13:35 -0500)]
7710: add crunchrunner to gostuff
radhika [Thu, 26 Nov 2015 15:45:53 +0000 (10:45 -0500)]
refs #7253
Merge branch '7253-add-go-sdk-manifest'
radhika [Thu, 26 Nov 2015 05:53:55 +0000 (00:53 -0500)]
Merge branch 'master' into 7253-add-go-sdk-manifest
radhika [Wed, 25 Nov 2015 22:19:04 +0000 (17:19 -0500)]
7253: add sdk/go/blockdigest to gostuff
Tom Clegg [Wed, 25 Nov 2015 20:05:20 +0000 (15:05 -0500)]
Force pbr<1.7.0 when installing mock.
No issue #
radhika [Wed, 25 Nov 2015 15:21:50 +0000 (10:21 -0500)]
7253: add sdk/go/manifest to gostuff
radhika [Mon, 23 Nov 2015 19:18:55 +0000 (14:18 -0500)]
refs #7490
Merge branch '7490-datamanager-test'
radhika [Thu, 12 Nov 2015 18:06:27 +0000 (13:06 -0500)]
7490: add services/datamanager/keep to gostuff
Tom Clegg [Wed, 11 Nov 2015 17:14:51 +0000 (12:14 -0500)]
Merge branch '5824-keep-web-workbench' refs #5824
Peter Amstutz [Wed, 11 Nov 2015 14:20:36 +0000 (09:20 -0500)]
Merge branch '7593-arvados-cwl-runner' refs #7593
Tom Clegg [Tue, 10 Nov 2015 02:18:12 +0000 (21:18 -0500)]
Merge branch '7722-build-keep-rsync' closes #7722
Nico Cesar [Mon, 9 Nov 2015 21:48:34 +0000 (16:48 -0500)]
Merge branch '7591-httplib2-perms-fix-wip'
refs #7591
Brett Smith [Sat, 7 Nov 2015 16:49:17 +0000 (11:49 -0500)]
7591: Workaround bad permissions in the httplib2 backport.
Tom Clegg [Fri, 6 Nov 2015 21:55:38 +0000 (16:55 -0500)]
5824: Merge branch 'master' into 5824-keep-web-workbench
Tom Clegg [Fri, 6 Nov 2015 17:41:24 +0000 (12:41 -0500)]
Add libwww-perl and python mock dependencies, so tests can run on ubuntu 14.04
If we let setuptools install mock for us (because it's listed in
tests_require), "python setup.py test" fails:
running test
Searching for mock>=1.0
Best match: mock 1.3.0
Processing mock-1.3.0-py2.7.egg
Using /tmp/arvados/sdk/python/.eggs/mock-1.3.0-py2.7.egg
Traceback (most recent call last):
File "setup.py", line 49, in <module>
cmdclass={'egg_info': tagger},
[...]
File "/tmp/.cache/arvados-build/VENVDIR/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2910, in scan_list
raise RequirementParseError(msg, line, "at", line[p:])
pkg_resources.RequirementParseError: Expected version spec in funcsigs;python_version<"3.3" at ;python_version<"3.3
No issue #
Tom Clegg [Thu, 5 Nov 2015 06:19:13 +0000 (01:19 -0500)]
7722: Build keep-rsync package. Deduplicate go->fpm recipe.
Ward Vandewege [Wed, 4 Nov 2015 14:50:42 +0000 (09:50 -0500)]
arvados-api-server-upgrade.sh fix: do not try to chmod the cache
directory if it doesn't exist. This avoids an error on fresh install.
Rails will create the cache directory if it doesn't exist.
No issue #
Tom Clegg [Wed, 4 Nov 2015 04:54:39 +0000 (23:54 -0500)]
Merge branch '5824-keep-web'
refs #5824
Tom Clegg [Sat, 17 Oct 2015 07:02:03 +0000 (03:02 -0400)]
5824: Start keep-web service for Workbench integration tests.
Tom Clegg [Wed, 4 Nov 2015 04:50:44 +0000 (23:50 -0500)]
5824: Add services/keep-web
Peter Amstutz [Thu, 29 Oct 2015 16:28:15 +0000 (12:28 -0400)]
Remove unnecessary yum update. touch RPM database to work around overlayfs bug.
refs #7370
Peter Amstutz [Thu, 29 Oct 2015 15:55:03 +0000 (11:55 -0400)]
Obsoleted by run-build-packages-all-targets.sh --test-packages refs #7370
Nico Cesar [Thu, 29 Oct 2015 15:42:37 +0000 (11:42 -0400)]
reverted hkp port 80 explicitly
no issue #
Ward Vandewege [Wed, 28 Oct 2015 21:21:06 +0000 (17:21 -0400)]
Make sure that the CentOS 6 test script actually does the yum update call.
refs #7370
Peter Amstutz [Wed, 28 Oct 2015 15:26:29 +0000 (11:26 -0400)]
7593: Add sdk/cwl to package building.
Ward Vandewege [Tue, 27 Oct 2015 19:16:17 +0000 (15:16 -0400)]
Add python-pip to the Arvados build images.
this is a dependency for #7591 (refs #7591)
Nico Cesar [Tue, 27 Oct 2015 15:14:16 +0000 (11:14 -0400)]
hkp://pool.sks-keyservers.net:80 is needed to use the transaparent proxy
no issue #
Ward Vandewege [Sat, 24 Oct 2015 02:24:51 +0000 (22:24 -0400)]
Fix path issue when running run-build-packages-all-targets.sh from
another directory.
refs #7370
Ward Vandewege [Fri, 23 Oct 2015 20:31:18 +0000 (16:31 -0400)]
Make sure bundle is installed in arvados-api-server-upgrade.sh,
arvados-workbench-upgrade.sh and arvados-sso-server.postinst
No issue #
Peter Amstutz [Fri, 23 Oct 2015 14:29:02 +0000 (10:29 -0400)]
Merge branch '7370-package-install-testing' closes #7370
Ward Vandewege [Wed, 21 Oct 2015 01:18:23 +0000 (21:18 -0400)]
Shut up dpkg-scanpackages warnings.
refs #7370
Brett Smith [Mon, 19 Oct 2015 16:53:20 +0000 (12:53 -0400)]
Backport pbr < 1.0 on CentOS 6.
The lockfile backport grew a dependency on pbr < 1.0 in their version
0.11. No issue #.
Peter Amstutz [Fri, 16 Oct 2015 18:29:57 +0000 (14:29 -0400)]
7370: run-build-packages-all-targets hands off to run-build-packages-one-target, suppports --test-packages option.
Peter Amstutz [Thu, 15 Oct 2015 20:40:54 +0000 (16:40 -0400)]
7370: Fix centos6 package builder container.
Peter Amstutz [Thu, 15 Oct 2015 20:24:07 +0000 (16:24 -0400)]
Merge branch 'master' into 7370-package-install-testing
Conflicts:
jenkins/run-build-packages-one-target.sh
Peter Amstutz [Thu, 15 Oct 2015 20:21:56 +0000 (16:21 -0400)]
7370: Refactoring way the package test is set up and executed.
radhika [Thu, 15 Oct 2015 16:38:41 +0000 (12:38 -0400)]
refs #7167
Merge branch '7167-keep-rsync-test-setup'
radhika [Thu, 15 Oct 2015 16:36:16 +0000 (12:36 -0400)]
Merge branch 'master' into 7167-keep-rsync-test-setup