]> git.arvados.org - arvados.git/log
arvados.git
2 months ago22957: Add arvados_ansible role to install-test-env playbook
Brett Smith [Mon, 2 Jun 2025 14:28:27 +0000 (10:28 -0400)]
22957: Add arvados_ansible role to install-test-env playbook

This is in preparation to build packaging Docker images with Ansible.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

2 months ago22957: Support RHEL-based distros in distro_bootstrap
Brett Smith [Sat, 31 May 2025 15:54:42 +0000 (11:54 -0400)]
22957: Support RHEL-based distros in distro_bootstrap

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

2 months ago22944: Bugfix and DRY Ansible bootstrap tasks
Brett Smith [Fri, 30 May 2025 17:13:52 +0000 (13:13 -0400)]
22944: Bugfix and DRY Ansible bootstrap tasks

By default, Ansible tries to gather host facts at the start of each
play. In order for the bootstrap task to work as intended, it must run
in an early play with `gather_facts: no`.

Make this easier by adding a role to do it. This removes some
bootstrapping of the `gnupg` and `xz-utils` packages. Both of these were
carried over from previous automations, and they don't seem to really be
required by Ansible directly. I have been able to run all these
playbooks as-is. They might be getting pulled in as dependencies of
other packages, or might be core to more recent Debian, but whatever the
reason, we should be fine.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

2 months ago22957: Add requirements files to Ansible
Brett Smith [Fri, 30 May 2025 14:50:30 +0000 (10:50 -0400)]
22957: Add requirements files to Ansible

We are at a point where we want to use collections that aren't included
in Ansible 8. This commit adds the infrastructure for us to do that in
the standard way, while taking the opportunity to only declare what we
need (no more installing the 240MiB Fortinet collection everywhere).

The change to the PostgreSQL HBA sources is required by stricter
validation in the newer community.postgresql module. The change from
parameter names from `db` to `login_db` is because the former is
deprecated in this version.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

2 months agoMerge branch '22360-skeleton-loader' into main. Closes #22360
Stephen Smith [Thu, 29 May 2025 18:58:00 +0000 (14:58 -0400)]
Merge branch '22360-skeleton-loader' into main. Closes #22360

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months agoMerge branch '22828-empty-webshell-ok'
Tom Clegg [Thu, 29 May 2025 17:54:49 +0000 (13:54 -0400)]
Merge branch '22828-empty-webshell-ok'

fixes #22828

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months agoMerge branch '22816-container-shell-default'
Tom Clegg [Thu, 29 May 2025 14:09:32 +0000 (10:09 -0400)]
Merge branch '22816-container-shell-default'

closes #22816

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22816: Add rationale.
Tom Clegg [Thu, 29 May 2025 14:09:12 +0000 (10:09 -0400)]
22816: Add rationale.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22360: More test fixing 22360-skeleton-loader
Stephen Smith [Wed, 28 May 2025 21:29:02 +0000 (17:29 -0400)]
22360: More test fixing

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months ago22360: Fix tests
Stephen Smith [Wed, 28 May 2025 21:10:23 +0000 (17:10 -0400)]
22360: Fix tests

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months ago22360: Add tests I accidentally forgot to commit for 22394-project-tab-preference...
Stephen Smith [Wed, 28 May 2025 19:41:26 +0000 (15:41 -0400)]
22360: Add tests I accidentally forgot to commit for 22394-project-tab-preference refs #22394

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months ago22360: Pre-emptively set project panel DE working to improve responsiveness
Stephen Smith [Wed, 28 May 2025 19:40:42 +0000 (15:40 -0400)]
22360: Pre-emptively set project panel DE working to improve responsiveness

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months ago22816: Add upgrade note about changed default. 22816-container-shell-default
Tom Clegg [Wed, 28 May 2025 18:36:54 +0000 (14:36 -0400)]
22816: Add upgrade note about changed default.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22828: Skip webshell diagnostics if not enabled (empty ExternalURL). 22828-empty-webshell-ok
Tom Clegg [Wed, 28 May 2025 16:46:52 +0000 (12:46 -0400)]
22828: Skip webshell diagnostics if not enabled (empty ExternalURL).

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22816: Enable container shell for admins by default.
Tom Clegg [Wed, 28 May 2025 16:23:40 +0000 (12:23 -0400)]
22816: Enable container shell for admins by default.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22886: Update second arvados gem reference
Brett Smith [Wed, 28 May 2025 14:45:22 +0000 (10:45 -0400)]
22886: Update second arvados gem reference

Refs #22886

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

2 months ago22886: Release Arvados 3.1.2
Brett Smith [Fri, 23 May 2025 13:53:29 +0000 (09:53 -0400)]
22886: Release Arvados 3.1.2

Refs #22886.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

2 months ago22779: Skip reading ~/.aws from the a-d-c service
Brett Smith [Tue, 27 May 2025 18:33:47 +0000 (14:33 -0400)]
22779: Skip reading ~/.aws from the a-d-c service

See comments for background. Setting these variables lets a-d-c act more
like it did in previous versions while leaving a way for administrators
to opt in to newer behavior. We may do something different for Arvados
3.2.0, but this is where we want to be today. This was discussed between
Peter, Tom, Lucas, and myself. Refs #22779.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

2 months ago22360: Allow skeleton loader when criteriaChanged=false for pagination/sorting
Stephen Smith [Tue, 27 May 2025 14:17:39 +0000 (10:17 -0400)]
22360: Allow skeleton loader when criteriaChanged=false for pagination/sorting

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months ago22360: Clear toolbar selection & disable row interaction when skeleton showing
Stephen Smith [Mon, 26 May 2025 15:42:46 +0000 (11:42 -0400)]
22360: Clear toolbar selection & disable row interaction when skeleton showing

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months agoMerge branch '22791-s3-upload-concurrency'
Tom Clegg [Mon, 26 May 2025 14:29:50 +0000 (10:29 -0400)]
Merge branch '22791-s3-upload-concurrency'

fixes #22791

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22360: Render dummy lines for first time DE skeleton loader
Stephen Smith [Thu, 22 May 2025 19:40:43 +0000 (15:40 -0400)]
22360: Render dummy lines for first time DE skeleton loader

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months ago22360: Keep track of non-background criteria-changed DE working internally
Stephen Smith [Thu, 22 May 2025 13:33:00 +0000 (09:33 -0400)]
22360: Keep track of non-background criteria-changed DE working internally

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months agoUpdate arvbox to use debian 12. refs #22864
Peter Amstutz [Thu, 22 May 2025 20:55:26 +0000 (16:55 -0400)]
Update arvbox to use debian 12.  refs #22864

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

2 months ago22360: Move skeleton loader into cells to avoid layout shift with existing rows
Stephen Smith [Tue, 20 May 2025 14:05:52 +0000 (10:05 -0400)]
22360: Move skeleton loader into cells to avoid layout shift with existing rows

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months ago22232: Update MaxIndexDatabaseRead note 2
Brett Smith [Wed, 21 May 2025 20:01:18 +0000 (16:01 -0400)]
22232: Update MaxIndexDatabaseRead note 2

This should've been updated as part of refs #22232, which generalized
the logic rather than checking specific named columns.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

2 months agoMerge branch '22927-ansible-requirements'
Brett Smith [Wed, 21 May 2025 14:40:34 +0000 (10:40 -0400)]
Merge branch '22927-ansible-requirements'

Closes #22927, #22929.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

2 months ago22927: Document Ansible version requirements 22927-ansible-requirements
Brett Smith [Tue, 20 May 2025 21:45:30 +0000 (17:45 -0400)]
22927: Document Ansible version requirements

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

2 months ago22238: Simplify Workbench API_HOST template
Brett Smith [Mon, 19 May 2025 13:25:52 +0000 (09:25 -0400)]
22238: Simplify Workbench API_HOST template

The return value of external_addr already stringifies the way we need.
Refs #22238.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

2 months agoMerge branch '22827-save-log-before-copy'
Tom Clegg [Fri, 16 May 2025 14:22:55 +0000 (10:22 -0400)]
Merge branch '22827-save-log-before-copy'

refs #22827

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22360: First pass replacing DE loading indicator with skeleton
Stephen Smith [Mon, 12 May 2025 20:39:02 +0000 (16:39 -0400)]
22360: First pass replacing DE loading indicator with skeleton

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

2 months agoMerge branch '22613-http-proxy-docs'
Tom Clegg [Thu, 15 May 2025 19:25:18 +0000 (15:25 -0400)]
Merge branch '22613-http-proxy-docs'

refs #22613

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22613: Fix typo.
Tom Clegg [Thu, 15 May 2025 19:16:33 +0000 (15:16 -0400)]
22613: Fix typo.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22791: Use atomic replace_files API for S3 uploads. 22791-s3-upload-concurrency
Tom Clegg [Thu, 15 May 2025 19:04:54 +0000 (15:04 -0400)]
22791: Use atomic replace_files API for S3 uploads.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22791: Use mime.ParseMediaType to parse Content-Type header.
Tom Clegg [Thu, 15 May 2025 17:59:44 +0000 (13:59 -0400)]
22791: Use mime.ParseMediaType to parse Content-Type header.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22613: Update list of hostnames for single-node install. 22613-http-proxy-docs
Tom Clegg [Wed, 14 May 2025 19:12:44 +0000 (15:12 -0400)]
22613: Update list of hostnames for single-node install.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months ago22613: Update docs re *.containers.domain wildcards.
Tom Clegg [Wed, 14 May 2025 19:03:17 +0000 (15:03 -0400)]
22613: Update docs re *.containers.domain wildcards.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

2 months agoAnsible install Workbench config API_HOST includes port, refs #22238
Peter Amstutz [Wed, 14 May 2025 02:45:00 +0000 (22:45 -0400)]
Ansible install Workbench config API_HOST includes port, refs #22238

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

3 months ago22827: Flush logs and update container record before copying output. 22827-save-log-before-copy
Tom Clegg [Tue, 13 May 2025 14:50:50 +0000 (10:50 -0400)]
22827: Flush logs and update container record before copying output.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months agoMerge branch '22238-ansible-installer'
Brett Smith [Mon, 12 May 2025 13:18:03 +0000 (09:18 -0400)]
Merge branch '22238-ansible-installer'

Closes #22238, #22340.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22238: Add a basic introduction to the cluster installer playbook 22238-ansible-installer
Brett Smith [Fri, 9 May 2025 18:49:43 +0000 (14:49 -0400)]
22238: Add a basic introduction to the cluster installer playbook

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22238: Use inventory hostname for shell records by default
Brett Smith [Fri, 9 May 2025 18:43:07 +0000 (14:43 -0400)]
22238: Use inventory hostname for shell records by default

`ansible_fqdn` is more likely to be an internal hostname that isn't
useful to show users.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22238: Add an example inventory for the cluster installer playbook
Brett Smith [Fri, 9 May 2025 18:36:09 +0000 (14:36 -0400)]
22238: Add an example inventory for the cluster installer playbook

This provides initial documentation of both host groups and the most
useful variables.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22238: Fix variable name typo
Brett Smith [Fri, 9 May 2025 17:52:54 +0000 (13:52 -0400)]
22238: Fix variable name typo

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months agoRemove out-of-date comment
Brett Smith [Fri, 9 May 2025 16:36:16 +0000 (12:36 -0400)]
Remove out-of-date comment

Our best guess is that this dates back to when we built Debian-style
Python packages. It's definitely not true now. No issue #.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months agoMerge branch '22754-process-panel-slowness' into main. Closes #22754
Stephen Smith [Fri, 9 May 2025 14:17:33 +0000 (10:17 -0400)]
Merge branch '22754-process-panel-slowness' into main. Closes #22754

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

3 months ago21362: Search for bundler in the arvados-api-server package test
Brett Smith [Thu, 8 May 2025 13:10:53 +0000 (09:10 -0400)]
21362: Search for bundler in the arvados-api-server package test

We need to search for Bundler the same way the package postinst does for
all the same reasons. I know this is pushing the limits of what I should
push directly to main, but:

* This is code we already have, and kind of by definition it needs to
  work the same way here, so it's been reviewed in some capacity.
* I don't see any good way to DRY this up and share this code between
  the postinst and the package test script. I mean I could
  rig *something* up, there are options, but it would all be ad hoc
  shell includes, nothing especially reliable. If someone feels strongly
  about it I'm willing to take on a follow-up ticket, but at least this
  unbreaks the build for now.

Refs #21362.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months agoAdd apt-utils to test environment packages
Brett Smith [Thu, 8 May 2025 12:45:18 +0000 (08:45 -0400)]
Add apt-utils to test environment packages

apt-utils provides apt-ftparchive which is run by
run-build-packages-one-target.sh to build apt repositories.
No issue #.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago21362: Add tar to arvados-api-server dependencies
Brett Smith [Thu, 8 May 2025 10:54:12 +0000 (06:54 -0400)]
21362: Add tar to arvados-api-server dependencies

This is required for Passenger to install nginx, whether it downloads a
binary or compiles source. We missed this dependency before because tar
was preinstalled in our package test Docker images. Refs #21362.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months agoMerge branch '22680-credentials-storage' refs #22680
Peter Amstutz [Wed, 7 May 2025 16:21:33 +0000 (12:21 -0400)]
Merge branch '22680-credentials-storage' refs #22680

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

3 months agoMerge branch '22076-download-zip'
Tom Clegg [Wed, 7 May 2025 14:52:58 +0000 (10:52 -0400)]
Merge branch '22076-download-zip'

closes #22076

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months agoMerge branch '21362-rhel9-packages'
Brett Smith [Wed, 7 May 2025 14:17:29 +0000 (10:17 -0400)]
Merge branch '21362-rhel9-packages'

Refs #21362.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22680: Couple more cleanups 22680-credentials-storage
Peter Amstutz [Wed, 7 May 2025 13:30:50 +0000 (09:30 -0400)]
22680: Couple more cleanups

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

3 months ago22076: Add .zip ext if missing from requested download_filename. 22076-download-zip
Tom Clegg [Tue, 6 May 2025 20:10:02 +0000 (16:10 -0400)]
22076: Add .zip ext if missing from requested download_filename.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22076: Improve test error message.
Tom Clegg [Tue, 6 May 2025 19:57:22 +0000 (15:57 -0400)]
22076: Improve test error message.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22076: Stop accumulating so many database connections in test suite.
Tom Clegg [Tue, 6 May 2025 17:14:59 +0000 (13:14 -0400)]
22076: Stop accumulating so many database connections in test suite.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22076: Support download_filename param for zip download.
Tom Clegg [Tue, 6 May 2025 15:28:32 +0000 (11:28 -0400)]
22076: Support download_filename param for zip download.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22076: Fix unclosed zip.Reader. Check for unexpected metadata file.
Tom Clegg [Tue, 6 May 2025 14:52:53 +0000 (10:52 -0400)]
22076: Fix unclosed zip.Reader. Check for unexpected metadata file.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22076: Fix regexps to avoid inadvertent match of suffix/prefix.
Tom Clegg [Tue, 6 May 2025 14:11:08 +0000 (10:11 -0400)]
22076: Fix regexps to avoid inadvertent match of suffix/prefix.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22076: Fix unchecked error.
Tom Clegg [Tue, 6 May 2025 01:29:07 +0000 (21:29 -0400)]
22076: Fix unchecked error.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22680: Add secret != '' to the update_all query
Peter Amstutz [Mon, 5 May 2025 20:43:42 +0000 (16:43 -0400)]
22680: Add secret != '' to the update_all query

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

3 months ago21362: Document new repository for libyaml-devel in RHEL 9 21362-rhel9-packages
Brett Smith [Mon, 5 May 2025 20:25:34 +0000 (16:25 -0400)]
21362: Document new repository for libyaml-devel in RHEL 9

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22076: Split extra-long function.
Tom Clegg [Mon, 5 May 2025 20:21:36 +0000 (16:21 -0400)]
22076: Split extra-long function.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago21362: Remove package test symlinks for unsupported distros
Brett Smith [Mon, 5 May 2025 20:05:08 +0000 (16:05 -0400)]
21362: Remove package test symlinks for unsupported distros

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22680: Make 'any_searchable_columns' which excludes datetime columns
Peter Amstutz [Mon, 5 May 2025 19:44:27 +0000 (15:44 -0400)]
22680: Make 'any_searchable_columns' which excludes datetime columns

Can't use datetime in all-column search because Postgresql will try to
parse the string literal into a datetime during query compile time and
throw an error.  We'd prefer the comparison just evaluated to 'false'
but that's not what it does.  Stack Overflow suggests there a solution
involving trapping the error with a SQL stored procedure but the more
immediate fix is to just ignore the columns entirely.

The fact that we haven't seen this error before means no one is
relying on this behavior, while fixing it allows us to have passing
tests that check for a concrete security concern in the credentials
API.

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

3 months ago21362: Streamline package test Dockerfiles
Brett Smith [Mon, 5 May 2025 19:51:26 +0000 (15:51 -0400)]
21362: Streamline package test Dockerfiles

Basically a lot of the Gem/Bundler setup being done here should be
handled by the RailsAPI package instead. The test is more meaningful if
we let it happen there rather than preinstalling prerequisites in the
image.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago21362: Note what it means if Bundler removes "stale" gems
Brett Smith [Mon, 5 May 2025 19:49:16 +0000 (15:49 -0400)]
21362: Note what it means if Bundler removes "stale" gems

This is behavior I observed while trying to build Rocky 9 packages with
Ruby 3.3. RailsAPI is pinned to the last version of Nokogiri that
supports Ruby 2.7, which says that it requires Ruby <3.3.dev.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22076: Parse Accept header more carefully.
Tom Clegg [Mon, 5 May 2025 19:42:34 +0000 (15:42 -0400)]
22076: Parse Accept header more carefully.

e.g., "Accept: application/zip; q=0.9"

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22680: Code cleanup and test updates
Peter Amstutz [Mon, 5 May 2025 19:40:59 +0000 (15:40 -0400)]
22680: Code cleanup and test updates

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

3 months ago21362: Add package build infrastructure for Rocky 9
Brett Smith [Mon, 5 May 2025 19:20:04 +0000 (15:20 -0400)]
21362: Add package build infrastructure for Rocky 9

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22076: Change API to accept the list of files in body["files"].
Tom Clegg [Mon, 5 May 2025 19:27:35 +0000 (15:27 -0400)]
22076: Change API to accept the list of files in body["files"].

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago21362: Add nginx compilation dependencies for rocky9 package
Brett Smith [Mon, 5 May 2025 19:14:41 +0000 (15:14 -0400)]
21362: Add nginx compilation dependencies for rocky9 package

For reasons I don't understand, Passenger can't use a prebuilt nginx
binary on Rocky 9, it has to build it from source. Add package
dependencies for that to succeed.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago21362: Declare missing Passenger build dependencies
Brett Smith [Mon, 5 May 2025 15:37:49 +0000 (11:37 -0400)]
21362: Declare missing Passenger build dependencies

These have been masked by the packages in question being preinstalled in
the package test Dockerfile.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22680: Documentation fixups
Peter Amstutz [Mon, 5 May 2025 19:15:18 +0000 (15:15 -0400)]
22680: Documentation fixups

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

3 months ago22076: Remove hash of PDH and filenames in suggested filename.
Tom Clegg [Mon, 5 May 2025 19:10:35 +0000 (15:10 -0400)]
22076: Remove hash of PDH and filenames in suggested filename.

reverts 137096a32bc0d088e022e8f424b8b58544216f9f

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22076: Comment about content-disposition encoding.
Tom Clegg [Mon, 5 May 2025 16:28:54 +0000 (12:28 -0400)]
22076: Comment about content-disposition encoding.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months agoMerge branch '22849-dependabot-updates' into main. Closes #22849
Stephen Smith [Mon, 5 May 2025 15:32:27 +0000 (11:32 -0400)]
Merge branch '22849-dependabot-updates' into main. Closes #22849

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

3 months ago22849: Bump http-proxy-middleware to address CVE-2025-32996 and CVE-2025-32997 22849-dependabot-updates
Stephen Smith [Mon, 5 May 2025 14:34:11 +0000 (10:34 -0400)]
22849: Bump http-proxy-middleware to address CVE-2025-32996 and CVE-2025-32997

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

3 months ago22849: Bump dompurify to address CVE-2025-26791
Stephen Smith [Mon, 5 May 2025 14:32:48 +0000 (10:32 -0400)]
22849: Bump dompurify to address CVE-2025-26791

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

3 months agoMerge branch '22760-public-ports'
Tom Clegg [Fri, 2 May 2025 15:22:11 +0000 (11:22 -0400)]
Merge branch '22760-public-ports'

closes #22760

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months agoMerge branch '22768-process-in-trashed-project' refs #22768
Peter Amstutz [Fri, 2 May 2025 14:27:08 +0000 (10:27 -0400)]
Merge branch '22768-process-in-trashed-project' refs #22768

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

3 months agoMerge branch '22840-structure-sql'
Tom Clegg [Thu, 1 May 2025 19:18:10 +0000 (15:18 -0400)]
Merge branch '22840-structure-sql'

fixes #22840

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22760: Explain double-fetch in comments. 22760-public-ports
Tom Clegg [Thu, 1 May 2025 18:54:05 +0000 (14:54 -0400)]
22760: Explain double-fetch in comments.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22754: Remove memoization from MPVPanelContent 22754-process-panel-slowness
Stephen Smith [Thu, 1 May 2025 17:38:37 +0000 (13:38 -0400)]
22754: Remove memoization from MPVPanelContent

Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

3 months ago22822: Improve PEP 8 compliance of arvados.util
Brett Smith [Thu, 1 May 2025 17:04:44 +0000 (13:04 -0400)]
22822: Improve PEP 8 compliance of arvados.util

The real motivation here is to force a rebuild of PySDK packages so they
pass the new package test script. Refs #22822.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22076: Merge branch 'main' into 22076-download-zip
Tom Clegg [Thu, 1 May 2025 14:15:51 +0000 (10:15 -0400)]
22076: Merge branch 'main' into 22076-download-zip

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months agoMerge branch '22822-venv-path'
Brett Smith [Wed, 30 Apr 2025 20:47:19 +0000 (16:47 -0400)]
Merge branch '22822-venv-path'

Closes #22822.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22680: Update doc to match column name changes
Peter Amstutz [Wed, 30 Apr 2025 20:27:02 +0000 (16:27 -0400)]
22680: Update doc to match column name changes

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

3 months ago22076: Document ZIP description field, add test for /by_id/ URL.
Tom Clegg [Wed, 30 Apr 2025 19:55:38 +0000 (15:55 -0400)]
22076: Document ZIP description field, add test for /by_id/ URL.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22076: Update documentation for collection.json metadata file.
Tom Clegg [Wed, 30 Apr 2025 19:54:11 +0000 (15:54 -0400)]
22076: Update documentation for collection.json metadata file.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22680: Update the value used in TestRepackCost_SourceTree_Part test
Peter Amstutz [Wed, 30 Apr 2025 19:52:53 +0000 (15:52 -0400)]
22680: Update the value used in TestRepackCost_SourceTree_Part test

Added a comment.  This value is dependent on the contents of the
source tree and may need be updated periodically as stuff gets added.

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

3 months ago22076: Suggest filenames with .zip extension.
Tom Clegg [Wed, 30 Apr 2025 19:39:40 +0000 (15:39 -0400)]
22076: Suggest filenames with .zip extension.

Duh.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22076: Include hash of PDH and filenames in suggested filename.
Tom Clegg [Wed, 30 Apr 2025 19:37:52 +0000 (15:37 -0400)]
22076: Include hash of PDH and filenames in suggested filename.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22076: Save "downloaded from..." as zip comment.
Tom Clegg [Wed, 30 Apr 2025 19:37:44 +0000 (15:37 -0400)]
22076: Save "downloaded from..." as zip comment.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22840: Fix structure-dump hook that had stopped running. 22840-structure-sql
Tom Clegg [Wed, 30 Apr 2025 18:45:12 +0000 (14:45 -0400)]
22840: Fix structure-dump hook that had stopped running.

db:structure:dump is now db:schema:dump instead, see
https://github.com/rails/rails/pull/39470

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

3 months ago22822: Fix VIRTUAL_ENV path in Python packages 22822-venv-path
Brett Smith [Wed, 30 Apr 2025 18:29:13 +0000 (14:29 -0400)]
22822: Fix VIRTUAL_ENV path in Python packages

The code we have to update the `activate` script is failing on at least
some distributions, so activating the virtualenv appears to work but is
ineffective.

Trying to modify shell source on the fly is inherently a dicey
proposition. Instead of doing that, let's rely on the fact that builds
happen in an ephemeral Docker container, and just build the "source"
virtualenv in the same path where the package will install it,
eliminating the need for any rewriting.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months agoRe-comment out COMMENT ON EXTENSION along with a comment, refs #21074
Peter Amstutz [Wed, 30 Apr 2025 18:24:35 +0000 (14:24 -0400)]
Re-comment out COMMENT ON EXTENSION along with a comment, refs #21074

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

3 months ago22829: Check for upload failure at the right time
Brett Smith [Wed, 30 Apr 2025 17:04:52 +0000 (13:04 -0400)]
22829: Check for upload failure at the right time

The previous version was checking the success of `set +x`.
Behold the dangers of relying on global variables.
Refs #22829.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22238: Use become for database tasks on servers with PostgreSQL
Brett Smith [Wed, 30 Apr 2025 15:14:29 +0000 (11:14 -0400)]
22238: Use become for database tasks on servers with PostgreSQL

See comments for fuller discussion.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>

3 months ago22238: Bugfix virtual machine fact set logic
Brett Smith [Wed, 30 Apr 2025 14:42:48 +0000 (10:42 -0400)]
22238: Bugfix virtual machine fact set logic

We can't use create.stdout as a default value if we didn't actually run
the create task.

Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>