arvados.git
4 years ago17086: build packages for Ubuntu 20.04, Focal Fossa.
Ward Vandewege [Thu, 5 Nov 2020 19:43:37 +0000 (14:43 -0500)]
17086: build packages for Ubuntu 20.04, Focal Fossa.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoFix more golint warnings.
Ward Vandewege [Thu, 5 Nov 2020 00:52:42 +0000 (19:52 -0500)]
Fix more golint warnings.

No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoMerge branch '17040-slow-query' refs #17040
Peter Amstutz [Tue, 3 Nov 2020 18:29:21 +0000 (13:29 -0500)]
Merge branch '17040-slow-query' refs #17040

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago17040: Update structure.sql
Peter Amstutz [Tue, 3 Nov 2020 18:01:57 +0000 (13:01 -0500)]
17040: Update structure.sql

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago17040: RefreshTrashedGroups migration, clear_permissions calls forget_cached_group_perms
Peter Amstutz [Tue, 3 Nov 2020 17:12:59 +0000 (12:12 -0500)]
17040: RefreshTrashedGroups migration, clear_permissions calls forget_cached_group_perms

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago17040: Cache results of User.group_permissions
Peter Amstutz [Mon, 2 Nov 2020 21:20:02 +0000 (16:20 -0500)]
17040: Cache results of User.group_permissions

When requesting a list of groups (either directly, or with the
"shared" endpoint) it calls writable_by for each group.  This
indirectly calls User.group_permissions, which makes a database query.
When it does this for every group (with a database query each time),
which gets very expensive.

To address this, this commit caches the result of group_permissions on
the user object.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago17040: Get user_uuids and embed them as a constant in the main query
Peter Amstutz [Mon, 2 Nov 2020 19:25:28 +0000 (14:25 -0500)]
17040: Get user_uuids and embed them as a constant in the main query

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years agoFix more golint warnings.
Ward Vandewege [Sun, 1 Nov 2020 22:27:04 +0000 (17:27 -0500)]
Fix more golint warnings.

No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoMerge branch '17047-centos-remove-rh-python-dependencies' into master
Javier Bértoli [Wed, 28 Oct 2020 19:56:29 +0000 (16:56 -0300)]
Merge branch '17047-centos-remove-rh-python-dependencies' into master

closes #17047
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

4 years ago17047: bugfixes, and add an entry to the upgrade notes about the
Ward Vandewege [Wed, 28 Oct 2020 19:29:58 +0000 (15:29 -0400)]
17047: bugfixes, and add an entry to the upgrade notes about the
       packaging change.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agofeat(centos): use centos-provided python3
Javier Bértoli [Tue, 27 Oct 2020 13:13:53 +0000 (10:13 -0300)]
feat(centos): use centos-provided python3

Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

4 years agobuild: Remove remaining references to the SSO server packages.
Ward Vandewege [Tue, 27 Oct 2020 15:24:23 +0000 (11:24 -0400)]
build: Remove remaining references to the SSO server packages.

No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agodocumentation: Mention distribution packages on the "Install the Slurm
Ward Vandewege [Tue, 27 Oct 2020 15:23:05 +0000 (11:23 -0400)]
documentation: Mention distribution packages on the "Install the Slurm
dispatcher" page.

closes #16883

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoMerge branch '17044-remove-debian-stretch' into master
Ward Vandewege [Tue, 27 Oct 2020 15:14:15 +0000 (11:14 -0400)]
Merge branch '17044-remove-debian-stretch' into master

closes #17044

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years ago17040: Refactor trash check
Peter Amstutz [Tue, 27 Oct 2020 02:55:46 +0000 (22:55 -0400)]
17040: Refactor trash check

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago17044: implement review comments (part 2): update cwl tests to use
Ward Vandewege [Mon, 26 Oct 2020 23:35:12 +0000 (19:35 -0400)]
17044: implement review comments (part 2): update cwl tests to use
       Debian buster.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years ago17044: implement review comments (part 1).
Ward Vandewege [Mon, 26 Oct 2020 23:33:10 +0000 (19:33 -0400)]
17044: implement review comments (part 1).

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years ago17044: remove Debian "stretch" from the build infrastructure. Update
Ward Vandewege [Mon, 26 Oct 2020 19:14:37 +0000 (15:14 -0400)]
17044: remove Debian "stretch" from the build infrastructure. Update
       documentation to mark stretch as EOL post the last release in the
       2.1.X series.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoMerge branch '16996-add-dispatch-local-service-file' into master
Javier Bértoli [Mon, 26 Oct 2020 18:32:23 +0000 (15:32 -0300)]
Merge branch '16996-add-dispatch-local-service-file' into master

closes #16996
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

4 years agofeat(crunch-dispatch-local): add crunch-run dependency
Javier Bértoli [Mon, 26 Oct 2020 15:28:29 +0000 (12:28 -0300)]
feat(crunch-dispatch-local): add crunch-run dependency

refs #16995
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

4 years agofix(crunch-dispatch-local): add missing service file
Javier Bértoli [Mon, 19 Oct 2020 13:06:18 +0000 (10:06 -0300)]
fix(crunch-dispatch-local): add missing service file

refs #16996
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

4 years agoFix more golint warnings.
Ward Vandewege [Sun, 25 Oct 2020 15:42:59 +0000 (11:42 -0400)]
Fix more golint warnings.

No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoFix more golint warnings.
Ward Vandewege [Sun, 25 Oct 2020 00:28:04 +0000 (20:28 -0400)]
Fix more golint warnings.

No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoMerge branch '16930-tagging' into master
Ward Vandewege [Fri, 23 Oct 2020 20:40:35 +0000 (16:40 -0400)]
Merge branch '16930-tagging' into master

closes #16930

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years ago16930: remove local 'latest' tag before pushing.
Ward Vandewege [Fri, 23 Oct 2020 18:31:14 +0000 (14:31 -0400)]
16930: remove local 'latest' tag before pushing.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoFix author e-mail addresses in our gemspecs.
Ward Vandewege [Fri, 23 Oct 2020 17:01:55 +0000 (13:01 -0400)]
Fix author e-mail addresses in our gemspecs.

No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years ago17040: Swap the order of where clauses in the readable_by query
Peter Amstutz [Fri, 23 Oct 2020 00:44:15 +0000 (20:44 -0400)]
17040: Swap the order of where clauses in the readable_by query

This seems work around a query planner bug in Postgres 9.5.

A hotfix provided to a customer resulted in dramatically better
performance.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years agoMake run-build-docker-images.sh a little smarter, allow building just
Ward Vandewege [Wed, 21 Oct 2020 15:10:00 +0000 (11:10 -0400)]
Make run-build-docker-images.sh a little smarter, allow building just
one type of arvbox images.

refs #16930

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoMerge branch '17010-re-run-workflow' refs #17010
Peter Amstutz [Thu, 22 Oct 2020 18:45:17 +0000 (14:45 -0400)]
Merge branch '17010-re-run-workflow' refs #17010

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago17010: Use !! instead of (? true : false)
Peter Amstutz [Thu, 22 Oct 2020 18:44:37 +0000 (14:44 -0400)]
17010: Use !! instead of (? true : false)

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago17010: Don't double up --enable-reuse
Peter Amstutz [Thu, 22 Oct 2020 02:27:14 +0000 (22:27 -0400)]
17010: Don't double up --enable-reuse

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago17010: Fix tests. Tests check that --enable-reuse is set
Peter Amstutz [Thu, 22 Oct 2020 02:16:26 +0000 (22:16 -0400)]
17010: Fix tests.  Tests check that --enable-reuse is set

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago17010: Fix tests
Peter Amstutz [Wed, 21 Oct 2020 21:19:05 +0000 (17:19 -0400)]
17010: Fix tests

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago17010: Fix debug comment
Peter Amstutz [Wed, 21 Oct 2020 20:37:17 +0000 (16:37 -0400)]
17010: Fix debug comment

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago17010: When running workflow from workbench, enable reuse by default
Peter Amstutz [Wed, 21 Oct 2020 20:13:50 +0000 (16:13 -0400)]
17010: When running workflow from workbench, enable reuse by default

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago17010: Redesign "Re-run..." button to choose project to run in
Peter Amstutz [Wed, 21 Oct 2020 20:02:12 +0000 (16:02 -0400)]
17010: Redesign "Re-run..." button to choose project to run in

Also move workflow step reuse to the "Inputs" tab instead of a modal.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years agoMake run-build-docker-images.sh a little smarter, allow building just
Ward Vandewege [Wed, 21 Oct 2020 16:06:26 +0000 (12:06 -0400)]
Make run-build-docker-images.sh a little smarter, allow building just
one type of arvbox images (part 2).

refs #16930

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoMerge branch '16471-install-using-salt' into master
Javier Bértoli [Wed, 21 Oct 2020 15:47:09 +0000 (12:47 -0300)]
Merge branch '16471-install-using-salt' into master

closes #16471
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

4 years agoMerge branch '16669-oidc-access-token'
Tom Clegg [Wed, 21 Oct 2020 14:11:37 +0000 (10:11 -0400)]
Merge branch '16669-oidc-access-token'

refs #16669

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

4 years ago16669: Fix test.
Tom Clegg [Thu, 24 Sep 2020 14:05:30 +0000 (10:05 -0400)]
16669: Fix test.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

4 years ago16669: Fix pass-through of cached remote token.
Tom Clegg [Wed, 23 Sep 2020 21:37:34 +0000 (17:37 -0400)]
16669: Fix pass-through of cached remote token.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

4 years ago16669: Fix access token cache panic.
Tom Clegg [Tue, 22 Sep 2020 15:03:45 +0000 (11:03 -0400)]
16669: Fix access token cache panic.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

4 years ago16669: Test access tokens in federation scenario.
Tom Clegg [Tue, 22 Sep 2020 14:59:13 +0000 (10:59 -0400)]
16669: Test access tokens in federation scenario.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

4 years ago16669: Fix use of timestamp in local timezone.
Tom Clegg [Tue, 22 Sep 2020 14:58:02 +0000 (10:58 -0400)]
16669: Fix use of timestamp in local timezone.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

4 years ago16669: Fix nil pointer dereference.
Tom Clegg [Wed, 16 Sep 2020 15:24:05 +0000 (11:24 -0400)]
16669: Fix nil pointer dereference.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

4 years ago16669: Set expiry time when inserting new access token record.
Tom Clegg [Wed, 16 Sep 2020 14:57:07 +0000 (10:57 -0400)]
16669: Set expiry time when inserting new access token record.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

4 years ago16669: Accept OIDC access token in RailsAPI auth.
Tom Clegg [Wed, 16 Sep 2020 14:17:31 +0000 (10:17 -0400)]
16669: Accept OIDC access token in RailsAPI auth.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

4 years ago16669: Give LoginCluster a chance to validate bare (non-v2) tokens.
Tom Clegg [Tue, 15 Sep 2020 14:40:05 +0000 (10:40 -0400)]
16669: Give LoginCluster a chance to validate bare (non-v2) tokens.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

4 years ago16669: Accept OIDC access token in lieu of arvados api token.
Tom Clegg [Fri, 4 Sep 2020 15:20:29 +0000 (11:20 -0400)]
16669: Accept OIDC access token in lieu of arvados api token.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

4 years ago16669: Move fake OIDC provider to arvadostest pkg.
Tom Clegg [Mon, 31 Aug 2020 13:21:43 +0000 (09:21 -0400)]
16669: Move fake OIDC provider to arvadostest pkg.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

4 years agodocs(salt): some minor fixes in the Salt-based installation documentation.
Javier Bértoli [Tue, 20 Oct 2020 11:12:26 +0000 (08:12 -0300)]
docs(salt): some minor fixes in the Salt-based installation documentation.

refs #16471:
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

4 years agoMerge branch '16718-group-contents-collection-versions'. Refs #16718
Lucas Di Pentima [Mon, 19 Oct 2020 20:56:15 +0000 (17:56 -0300)]
Merge branch '16718-group-contents-collection-versions'. Refs #16718

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago16718: Merge branch 'master' into 16718-group-contents-collection-versions
Lucas Di Pentima [Mon, 19 Oct 2020 20:55:42 +0000 (17:55 -0300)]
16718: Merge branch 'master' into 16718-group-contents-collection-versions

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago16471: refactor documentation to reflect different Salt-based
Ward Vandewege [Mon, 19 Oct 2020 17:38:00 +0000 (13:38 -0400)]
16471: refactor documentation to reflect different Salt-based
       installation methods.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoCollection$create returns (vector of) ArvadosFile object
Peter Amstutz [Thu, 15 Oct 2020 16:07:33 +0000 (12:07 -0400)]
Collection$create returns (vector of) ArvadosFile object

Update documentation.

refs #16998

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago16471: fix a few typos.
Ward Vandewege [Mon, 19 Oct 2020 15:40:36 +0000 (11:40 -0400)]
16471: fix a few typos.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoUpdate new cluster checklist to reflect the deprecation of the SSO
Ward Vandewege [Mon, 19 Oct 2020 14:24:39 +0000 (10:24 -0400)]
Update new cluster checklist to reflect the deprecation of the SSO
server.

No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoAdd WebDAV and S3 API documentation
Peter Amstutz [Fri, 9 Oct 2020 22:48:07 +0000 (18:48 -0400)]
Add WebDAV and S3 API documentation

Remove sections of keep-web/doc.go are now part of the API
documentation

refs #16558

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago16471: Formatting fixes.
Lucas Di Pentima [Fri, 16 Oct 2020 20:30:08 +0000 (17:30 -0300)]
16471: Formatting fixes.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years agodocs(provision): document initial URL
Javier Bértoli [Fri, 16 Oct 2020 19:29:51 +0000 (16:29 -0300)]
docs(provision): document initial URL

refs #16471 and #16992
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

4 years agofeat(provision): better testing config and documentation
Javier Bértoli [Fri, 16 Oct 2020 18:30:34 +0000 (15:30 -0300)]
feat(provision): better testing config and documentation

refs #16471 and #16992
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

4 years agofeat(provision): example configurations in salt
Javier Bértoli [Fri, 16 Oct 2020 16:25:31 +0000 (13:25 -0300)]
feat(provision): example configurations in salt

refs #16471 and #16992
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

4 years agoFix arvados-cwl-conformance-tests.
Ward Vandewege [Fri, 16 Oct 2020 15:12:27 +0000 (11:12 -0400)]
Fix arvados-cwl-conformance-tests.

refs #16982

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoLink to the coding standards
Michael R. Crusoe [Fri, 16 Oct 2020 07:24:14 +0000 (09:24 +0200)]
Link to the coding standards

I expect coding standards to be in (or directly linked from) a
project's `CONTRIBUTING.md`

no issue #

Arvados-DCO-1.1-Signed-off-by: Michael R. Crusoe <mcrusoe@curii.com>

4 years agoSSLHandshakeError is Python 2 only refs #17008
Michael R. Crusoe [Thu, 15 Oct 2020 15:16:37 +0000 (17:16 +0200)]
SSLHandshakeError is Python 2 only refs #17008

Arvados-DCO-1.1-Signed-off-by: Michael R. Crusoe <mcrusoe@curii.com>

4 years agoWhen calculating the version of our Go and Rails deb/rpm packages, take
Ward Vandewege [Fri, 16 Oct 2020 01:23:38 +0000 (21:23 -0400)]
When calculating the version of our Go and Rails deb/rpm packages, take
the 'build' directory into account.

refs #17011

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoBugfix: fix detection of already generated Python deb/rpm packages.
Ward Vandewege [Fri, 16 Oct 2020 01:04:55 +0000 (21:04 -0400)]
Bugfix: fix detection of already generated Python deb/rpm packages.

refs #16982

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoFix whitespace in build/run-library.sh
Ward Vandewege [Fri, 16 Oct 2020 00:29:25 +0000 (20:29 -0400)]
Fix whitespace in build/run-library.sh

No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoSeparate inline/download keep-web ports refs #16812
Peter Amstutz [Thu, 15 Oct 2020 21:06:45 +0000 (17:06 -0400)]
Separate inline/download keep-web ports refs #16812

This makes inline viewing of private files work as expected with
arvbox, which is helpful for development and testing.

It relies on "TrustAllContent: true", so it is also XSS insecure.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years agoMerge branch '16982-tilde-devN' refs #16982
Peter Amstutz [Thu, 15 Oct 2020 14:59:56 +0000 (10:59 -0400)]
Merge branch '16982-tilde-devN' refs #16982

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years agoFix heading for "upgrading" no issue #
Peter Amstutz [Wed, 14 Oct 2020 14:29:52 +0000 (10:29 -0400)]
Fix heading for "upgrading" no issue #

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years agofeat(docs): salt install documentation
Javier Bértoli [Wed, 14 Oct 2020 13:43:32 +0000 (10:43 -0300)]
feat(docs): salt install documentation
refs #16471 and #16992
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

4 years agofix(salt): choose repo
Javier Bértoli [Mon, 12 Oct 2020 15:25:16 +0000 (12:25 -0300)]
fix(salt): choose repo

refs #16471 and #16992
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

4 years agoMerge branch '16992-disable-pg-pager' into master
Ward Vandewege [Wed, 14 Oct 2020 13:31:11 +0000 (09:31 -0400)]
Merge branch '16992-disable-pg-pager' into master

closes #16992

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years ago16992: Merge branch 'master' into 16992-disable-pg-pager
Ward Vandewege [Wed, 14 Oct 2020 13:30:29 +0000 (09:30 -0400)]
16992: Merge branch 'master' into 16992-disable-pg-pager

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years ago16718: Adds tests for new param on groups#content.
Lucas Di Pentima [Tue, 13 Oct 2020 14:59:50 +0000 (11:59 -0300)]
16718: Adds tests for new param on groups#content.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years agoMerge branch '16981-sync-group-report-fix'. Refs #16981
Lucas Di Pentima [Tue, 13 Oct 2020 14:16:32 +0000 (11:16 -0300)]
Merge branch '16981-sync-group-report-fix'. Refs #16981

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago16718: Merge branch 'master' into 16718-group-contents-collection-versions
Lucas Di Pentima [Mon, 12 Oct 2020 20:18:51 +0000 (17:18 -0300)]
16718: Merge branch 'master' into 16718-group-contents-collection-versions

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years agoMerge branch '16989-fix-fed-migrate' refs #16989 2.1.0
Peter Amstutz [Mon, 12 Oct 2020 19:52:35 +0000 (15:52 -0400)]
Merge branch '16989-fix-fed-migrate' refs #16989

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago16989: setup_on_activate needs to happen after update, not before
Peter Amstutz [Mon, 12 Oct 2020 19:42:20 +0000 (15:42 -0400)]
16989: setup_on_activate needs to happen after update, not before

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago16989: Don't auto-admin first user in federation migrate test
Peter Amstutz [Mon, 12 Oct 2020 19:23:14 +0000 (15:23 -0400)]
16989: Don't auto-admin first user in federation migrate test

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago16989: Make sure username is valid before trying to create repo
Peter Amstutz [Mon, 12 Oct 2020 19:18:32 +0000 (15:18 -0400)]
16989: Make sure username is valid before trying to create repo

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago16981: Fixes error reporting when failing to create a remote group.
Lucas Di Pentima [Mon, 12 Oct 2020 14:23:18 +0000 (11:23 -0300)]
16981: Fixes error reporting when failing to create a remote group.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years agoFix a few more golint warnings.
Ward Vandewege [Mon, 12 Oct 2020 02:12:12 +0000 (22:12 -0400)]
Fix a few more golint warnings.

No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years ago16922: disable the postgres pager in the rails postinst script.
Ward Vandewege [Sat, 10 Oct 2020 12:56:02 +0000 (08:56 -0400)]
16922: disable the postgres pager in the rails postinst script.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years agoSetup default VM/repo in setup method refs #16989
Peter Amstutz [Sat, 10 Oct 2020 00:12:53 +0000 (20:12 -0400)]
Setup default VM/repo in setup method refs #16989

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years agoSetup default VM from AutoSetupNewUsersWithVmUUID refs #16989
Peter Amstutz [Fri, 9 Oct 2020 22:52:14 +0000 (18:52 -0400)]
Setup default VM from AutoSetupNewUsersWithVmUUID refs #16989

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years agoMerge branch '16989-user-setup' refs #16989
Peter Amstutz [Fri, 9 Oct 2020 18:30:58 +0000 (14:30 -0400)]
Merge branch '16989-user-setup' refs #16989

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years agofix(salt): temporal fix for database setup issue
Javier Bértoli [Fri, 9 Oct 2020 16:00:51 +0000 (13:00 -0300)]
fix(salt): temporal fix for database setup issue

plus some linting

refs #16471 and #16992
Arvados-DCO-1.1-Signed-off-by: Javier Bértoli <jbertoli@curii.com>

4 years ago16989: Test all combinations of remote user status
Peter Amstutz [Fri, 9 Oct 2020 17:00:05 +0000 (13:00 -0400)]
16989: Test all combinations of remote user status

Rework remote user setup/activate/unsetup.  Sending welcome email
moved to model setup method.  Add tests.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago16989: Add test to sync is_invited
Peter Amstutz [Fri, 9 Oct 2020 16:26:04 +0000 (12:26 -0400)]
16989: Add test to sync is_invited

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago16471: Includes saltstack quick start section on install guide.
Lucas Di Pentima [Fri, 9 Oct 2020 14:23:27 +0000 (11:23 -0300)]
16471: Includes saltstack quick start section on install guide.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years agoMerge branch '16981-logincluster-sync-groups-fix'
Lucas Di Pentima [Fri, 9 Oct 2020 13:41:09 +0000 (10:41 -0300)]
Merge branch '16981-logincluster-sync-groups-fix'
Refs #16981

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago16981: Retrieves the local clusterID from exported config.
Lucas Di Pentima [Thu, 8 Oct 2020 21:01:09 +0000 (18:01 -0300)]
16981: Retrieves the local clusterID from exported config.

Also, fixed tests by not starting a new api server and using what run-tests
provides.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>

4 years ago16982: OS packages build as ~devN, Python and Ruby use .devN
Peter Amstutz [Thu, 8 Oct 2020 20:07:06 +0000 (16:07 -0400)]
16982: OS packages build as ~devN, Python and Ruby use .devN

Also ~rcN becomes .rcN in Ruby.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years agoMerge branch '16976-python-rc-packages' refs #16976
Peter Amstutz [Thu, 8 Oct 2020 18:28:49 +0000 (14:28 -0400)]
Merge branch '16976-python-rc-packages' refs #16976

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago16976: use unfiltered version number when checking for deb/rpm of our
Ward Vandewege [Thu, 8 Oct 2020 18:23:19 +0000 (14:23 -0400)]
16976: use unfiltered version number when checking for deb/rpm of our
       Python packages.

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

4 years ago16976: Use adjusted version tag to accomodate release candidate packages
Peter Amstutz [Thu, 8 Oct 2020 17:40:18 +0000 (13:40 -0400)]
16976: Use adjusted version tag to accomodate release candidate packages

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years ago16976: Support release candidates for our Python packages
Peter Amstutz [Thu, 8 Oct 2020 16:55:31 +0000 (12:55 -0400)]
16976: Support release candidates for our Python packages

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

4 years agoWhen doing arvbox hotreset, make sure to use flock around the rake task.
Ward Vandewege [Thu, 8 Oct 2020 03:40:42 +0000 (23:40 -0400)]
When doing arvbox hotreset, make sure to use flock around the rake task.

refs #16955

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>