Tom Clegg [Fri, 11 Mar 2016 17:28:53 +0000 (12:28 -0500)]
8345: Need "yum install -y" to reliably install rpm packages.
Tom Clegg [Fri, 11 Mar 2016 07:15:10 +0000 (02:15 -0500)]
8345: 8491: Downgrade to llfuse 0.41 until #8345 gets sorted out (but keep the fuse backports).
Tom Clegg [Mon, 7 Mar 2016 19:28:10 +0000 (14:28 -0500)]
8345: Uninstall old llfuse from reused virtualenv, if necessary.
Tom Clegg [Mon, 7 Mar 2016 05:47:10 +0000 (00:47 -0500)]
8345: Merge branch 'master' into 8345-llfuse-unpin
Tom Clegg [Mon, 7 Mar 2016 05:46:08 +0000 (00:46 -0500)]
8345: Fix up log messages to show which distro/package is being built/tested.
Tom Clegg [Mon, 7 Mar 2016 05:44:46 +0000 (00:44 -0500)]
8345: Build contextlib2 backport, needed by python-llfuse on debian7.
Tom Clegg [Thu, 3 Mar 2016 18:02:41 +0000 (13:02 -0500)]
8345: Add build-essential to ubuntu1204 package-building image
Tom Clegg [Thu, 3 Mar 2016 01:05:26 +0000 (20:05 -0500)]
8345: Build and install new fuse libs before building llfuse.
Ward Vandewege [Wed, 2 Mar 2016 15:35:55 +0000 (10:35 -0500)]
Build arvbox instead of the old docker images.
refs #8231
Tom Clegg [Wed, 2 Mar 2016 15:34:58 +0000 (10:34 -0500)]
8345: Use a separate vendor/cache for each OS target. See dev.arvados.org/issues/8345#note-11
Peter Amstutz [Wed, 2 Mar 2016 15:24:08 +0000 (10:24 -0500)]
Remove arvbox from arvados-dev (now in arvados/tools) refs #8231
Tom Clegg [Tue, 1 Mar 2016 07:42:46 +0000 (02:42 -0500)]
Merge branch 'master' into 8345-llfuse-unpin
Brett Smith [Mon, 29 Feb 2016 17:45:39 +0000 (12:45 -0500)]
8371, 8413: Bump Rails package iteration.
Build these bug fixes into new packages.
Closes #8371, #8413.
Brett Smith [Mon, 29 Feb 2016 17:43:38 +0000 (12:43 -0500)]
Merge branch '8413-fix-rails-postinst-chgrp-wip'
Refs #8413. Closes #8475.
Brett Smith [Fri, 26 Feb 2016 23:13:19 +0000 (18:13 -0500)]
8413: Rails postinst doesn't chgrp root /etc/arvados.
Non-sensitive Rails configuration files can be 0644 root:root.
Porting those permissions is fine for the individual configuration
file, but not the parent directory tree. Don't change the group of
the directory tree in this case.
Brett Smith [Mon, 29 Feb 2016 17:43:11 +0000 (12:43 -0500)]
Merge branch '8371-centos-postrm-bugfix-wip'
Refs #8371. Closes #8476.
Brett Smith [Fri, 26 Feb 2016 23:20:41 +0000 (18:20 -0500)]
8371: Rails postrm only fires after removing last RPM.
This prevents removing the package files when the postrm script is
called for the old version of a package after doing an upgrade.
RPM post- scripts are called with $1 as the number of versions of the
package currently installed on the system. 0 means the last version
has been removed. We only want to remove files in that case.
Peter Amstutz [Thu, 25 Feb 2016 16:16:20 +0000 (11:16 -0500)]
Merge branch 'arvbox-fixes' no issue #
Peter Amstutz [Thu, 25 Feb 2016 16:15:47 +0000 (11:15 -0500)]
Tweak slurm configuration to run as non-root user.
Peter Amstutz [Thu, 25 Feb 2016 16:14:21 +0000 (11:14 -0500)]
Fix arvados-login-sync for vm account creation
Peter Amstutz [Thu, 25 Feb 2016 16:12:00 +0000 (11:12 -0500)]
Generalize arvbox 'svrestart' to 'sv' no issue #
Tom Clegg [Sat, 20 Feb 2016 09:49:20 +0000 (04:49 -0500)]
Merge branch 'master' into 8345-llfuse-unpin
Conflicts:
jenkins/run-build-packages.sh
Tom Clegg [Sat, 20 Feb 2016 08:39:03 +0000 (03:39 -0500)]
Install bundler gem in all build containers.
RVM used to install bundler by default, but now it doesn't.
https://github.com/rvm/rvm/commit/
dc07790042d78c525d7d52616c78cb2d55c0e764
I suppose some systems (like Jenkins) have been able to continue
working because they have cached docker images that were built before
RVM dropped bundler (1.26.11 -- Mar 30, 2015).
But on a new system, we ended up here:
[...]
Package python3-websocket-client_0.35.0-1_all.deb exists, not rebuilding
/jenkins/run-library.sh: line 139: bundle: command not found
ERROR: arvados-api-server package prep failed
/jenkins/run-build-packages.sh: line 492: bundle: command not found
ERROR: Asset precompilation failed
ERROR: build failed with exit status 1.
No issue #
Tom Clegg [Sat, 20 Feb 2016 08:04:50 +0000 (03:04 -0500)]
Fix dependencies after installing built package. refs #8345
Ward Vandewege [Sat, 20 Feb 2016 04:58:09 +0000 (23:58 -0500)]
Pin package builds of the google-api-python-client and oauth2client
packages to a known-working version.
no issue #
Tom Clegg [Sat, 20 Feb 2016 03:46:34 +0000 (22:46 -0500)]
8345: Add libselinux-dev build-dep missed by awk script, skip "recommended" packages
Joshua C. Randall [Fri, 19 Feb 2016 14:26:35 +0000 (14:26 +0000)]
uses variable for curl output filename and makes curl foLlow redirects
Joshua C. Randall [Fri, 19 Feb 2016 14:18:06 +0000 (14:18 +0000)]
cleans up debian/changelog generation per tomclegg's comment
Joshua C. Randall [Fri, 19 Feb 2016 14:11:47 +0000 (14:11 +0000)]
adds safety quotes and '-[0-9]' before wildcard as suggested in PR #6 comments
Joshua C. Randall [Fri, 19 Feb 2016 14:09:34 +0000 (14:09 +0000)]
adds safety quotes and '_' before wildcard as suggested in PR #6 comments
Peter Amstutz [Thu, 18 Feb 2016 21:28:29 +0000 (16:28 -0500)]
Run slurmctld and slurmd inside arvbox. refs #6518
Peter Amstutz [Tue, 16 Feb 2016 15:16:55 +0000 (10:16 -0500)]
Move services to /var/lib/arvbox/services because they include logs and logs
don't go in /usr. no issue #
Peter Amstutz [Mon, 15 Feb 2016 21:37:00 +0000 (16:37 -0500)]
Explicitly install Docker 1.9.1 instead of using get.dockerproject.org (which gets the latest). no issue #
Peter Amstutz [Sun, 14 Feb 2016 04:18:27 +0000 (23:18 -0500)]
Add crunch-dispatch-local to arvbox. no issue #
Peter Amstutz [Fri, 12 Feb 2016 20:14:01 +0000 (15:14 -0500)]
Add arvbox support for overriding settings in application.yml
no issue #
Joshua Randall [Fri, 5 Feb 2016 15:16:37 +0000 (15:16 +0000)]
adds centos6 backport of fuse 2.9.2
Joshua Randall [Wed, 3 Feb 2016 12:48:19 +0000 (12:48 +0000)]
Unpins llfuse version and adds fuse 2.9.2 backport
Brett Smith [Wed, 3 Feb 2016 19:24:07 +0000 (14:24 -0500)]
Inhibit udev startup in Debian test Docker images.
The FUSE driver package depends on fuse, which depends on udev.
udev can't start its daemon from postinst in a container.
It has code to try to detect running in a container and skip the
daemon, but it fails intermittently.
e.g., <https://ci.curoverse.com/job/build-packages/1699/consoleFull>
It also skips starting the daemon when /etc/udev/disabled exists, so
create that.
Brett Smith [Wed, 3 Feb 2016 13:19:34 +0000 (08:19 -0500)]
.deb dependencies from Python packages ignore iteration.
See comment for rationale.
Inspired by <https://github.com/curoverse/arvados/pull/35>.
No issue #.
Peter Amstutz [Mon, 1 Feb 2016 14:16:52 +0000 (09:16 -0500)]
Pin llfuse to 0.41.1 because 0.42 came out and broke things. no issue #
Peter Amstutz [Fri, 29 Jan 2016 21:15:41 +0000 (16:15 -0500)]
Add distinct fpm_exclude so it shows up in the right place on the fpm command
line. refs #8008
Peter Amstutz [Thu, 28 Jan 2016 19:55:29 +0000 (14:55 -0500)]
Use volumes for /var/log/nginx and /etc/ssl/private so that changing ownership
sticks. refs #8080
Peter Amstutz [Thu, 28 Jan 2016 19:22:23 +0000 (14:22 -0500)]
Arvbox fixes: use 'postgres' database when testing if a user exists. Copy
gitolite.rc to the right place. Print out what is being deleted when using
"reset" or "destroy". refs #8080
Peter Amstutz [Wed, 27 Jan 2016 21:40:53 +0000 (16:40 -0500)]
chown /etc/ssl/private to arvbox refs #8080
Peter Amstutz [Wed, 27 Jan 2016 20:39:38 +0000 (15:39 -0500)]
Bump iteration of rails packages to -4 refs #8008
Peter Amstutz [Wed, 27 Jan 2016 19:34:06 +0000 (14:34 -0500)]
Fix selecting most recent package for package testing, refs #8008.
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.