Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
89268a5
Update the script for deploy and tweak the docker compose file for th…
aprilrieger Jan 7, 2026
148e0ae
Update script
aprilrieger Jan 7, 2026
7615e60
Update script
aprilrieger Jan 7, 2026
361ba5b
Update script
aprilrieger Jan 7, 2026
4b4ec5b
Update script
aprilrieger Jan 7, 2026
9bf7298
Update script
aprilrieger Jan 7, 2026
8cf564f
Update script
aprilrieger Jan 7, 2026
0942d07
Updates the gha to pull latest actions
aprilrieger Jan 7, 2026
b33f5ba
Update ghas
aprilrieger Jan 7, 2026
f6e6d14
update the remianing ghas to enter_the_matrix
aprilrieger Jan 7, 2026
3763550
update the remianing ghas to enter_the_matrix
aprilrieger Jan 7, 2026
185d6d5
target branch add-platform
aprilrieger Jan 7, 2026
2f0c3c6
target branch add-platform
aprilrieger Jan 7, 2026
15ee5b3
target branch add-platform
aprilrieger Jan 7, 2026
87adeb7
target branch add-platform
aprilrieger Jan 7, 2026
7d52632
target branch add-platform
aprilrieger Jan 7, 2026
3060a66
target branch add-platform
aprilrieger Jan 7, 2026
182fd3e
target branch add-platform
aprilrieger Jan 7, 2026
9b9d13d
update to the latest actions release v1.0.8
aprilrieger Jan 7, 2026
a8f6afd
Update the deploy gha to v1.0.8
aprilrieger Jan 7, 2026
69c1c43
update to v1.0.8 to test ghas off main
aprilrieger Jan 8, 2026
e8ac73d
Pass debug status
aprilrieger Jan 8, 2026
4a19608
Pass debug status test only
aprilrieger Jan 8, 2026
55277cf
Add debug
aprilrieger Jan 8, 2026
c3d1b36
Fix BlacklightAdvancedSearch decorators and ensure bundle install run…
aprilrieger Jan 8, 2026
ccd0068
actually commit it
aprilrieger Jan 8, 2026
2cd73a5
Update submodule to branch on hyku from pr: https://github.com/samver…
aprilrieger Jan 8, 2026
fe208c6
Update submodule for hyku update in pr
aprilrieger Jan 9, 2026
1c6da8c
Update to remove additional support that is no longer needed
aprilrieger Jan 9, 2026
acd5525
Remove local override since on hyku now
aprilrieger Jan 9, 2026
b9fe782
Update submodule
aprilrieger Jan 9, 2026
c5ba629
Update submodule to main hyku
aprilrieger Jan 9, 2026
3aab98d
removes - BUNDLE_GIT_CLONE_NO_HARDLINKS=1
aprilrieger Jan 9, 2026
ba9a256
Put solr back for test
aprilrieger Jan 9, 2026
611b30d
Merge branch 'test-ghas-v108-off-main' into i112-update-deploy-script
aprilrieger Jan 9, 2026
200f793
Update the debug_step for deploy action as well just because
aprilrieger Jan 9, 2026
4adeecc
Update submodule
aprilrieger Jan 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions .github/workflows/build-solr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@ run-name: Build Solr of ${{ github.ref_name }} by @${{ github.actor }}
on:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
debug_step:
required: false
default: false
description: 'Pause the selected step to debug using tmate'
type: choice
default: 'build'
options:
- build

jobs:
build:
uses: notch8/actions/.github/workflows/build.yaml@v1.0.4
uses: notch8/actions/.github/workflows/build.yaml@v1.0.8
secrets: inherit
with:
platforms: "linux/amd64"
solrTarget: hyku-solr
solrTarget: hyku-solr
7 changes: 3 additions & 4 deletions .github/workflows/build-test-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,22 @@ on:

jobs:
build:
uses: notch8/actions/.github/workflows/build.yaml@v1.0.4
uses: notch8/actions/.github/workflows/build.yaml@v1.0.8
secrets: inherit
with:
platforms: "linux/amd64"
webTarget: hyku-web
workerTarget: hyku-worker

test:
needs: build
uses: notch8/actions/.github/workflows/test.yaml@v1.0.4
uses: notch8/actions/.github/workflows/test.yaml@v1.0.8
with:
confdir: '/app/samvera/hyrax-webapp/solr/conf'
rspec_cmd: "cd .. && gem install semaphore_test_boosters && bundle && rspec_booster --job $CI_NODE_INDEX/$CI_NODE_TOTAL"

lint:
needs: build
uses: notch8/actions/.github/workflows/lint.yaml@v1.0.4
uses: notch8/actions/.github/workflows/lint.yaml@v1.0.8
with:
webTarget: hyku-web
workerTarget: hyku-worker
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ on:
type: choice
options:
- friends
debug_enabled:
debug_step:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false

jobs:
deploy:
uses: notch8/actions/.github/workflows/deploy.yaml@v1.0.4
uses: notch8/actions/.github/workflows/deploy.yaml@v1.0.8
secrets: inherit
30 changes: 30 additions & 0 deletions bin/deploy-hykudev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/usr/bin/env bash
set -euo pipefail

## Instructions:
## 0. Alias was already created and persisted at ~/.bashrc:
## alias dc='dotenv -e .env.development docker-compose'
## 1. Connect to WVU VPN via The Windows App
## 2. Connect via PuTTY to hykudev server: hykudev.lib.wvu.edu with your user name
## 3. Switch to ansible: sudo su - ansible
## 4. cd wvu_knapsack
## 5. git pull origin main (or branch name)
## 6. ./bin/deploy_hykudev.sh

echo "Updating submodules..."
git submodule sync --recursive
git submodule update --init --recursive

echo "Stopping and cleaning up old containers..."
docker compose down --remove-orphans

echo "Pulling Docker images..."
TAG="$(git rev-parse --short=8 HEAD)" dotenv -e .env.development docker compose pull

echo "Building and starting containers..."
TAG="$(git rev-parse --short=8 HEAD)" dotenv -e .env.development docker compose up -d web

echo "Deploy complete. Containers are now running image tagged"
echo ""
echo "Admin Tenant: https://hykudev-admin.lib.wvu.edu"
echo "Default Tenant: https://hykudev.lib.wvu.edu"
53 changes: 0 additions & 53 deletions bin/submodule-update.sh

This file was deleted.

60 changes: 0 additions & 60 deletions deploy-hykudev.sh

This file was deleted.

2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ services:
extends:
file: hyrax-webapp/docker-compose.yml
service: web
ports:
- "127.0.0.1:3000:3000"
# Uncomment command to access container with out starting bin/web. Useful for debugging or updating Gemfile.lock
# command: sleep infinity

Expand Down
2 changes: 1 addition & 1 deletion hyrax-webapp
Submodule hyrax-webapp updated 57 files
+2 −2 Gemfile
+21 −22 Gemfile.lock
+5 −1 README.md
+ app/assets/images/logo-hyku.png
+0 −97 app/assets/stylesheets/hyku.scss
+80 −0 app/assets/stylesheets/hyku/splash.scss
+2 −2 app/assets/stylesheets/hyrax.scss
+21 −26 app/assets/stylesheets/themes/gallery_view.scss
+3 −2 app/controllers/catalog_controller.rb
+5 −0 app/controllers/identity_providers_controller.rb
+46 −0 app/helpers/identity_providers_helper.rb
+2 −1 app/indexers/concerns/hyku_indexing.rb
+10 −0 app/indexers/concerns/scrub_text.rb
+2 −3 app/indexers/hyku/indexers/file_set_indexer.rb
+124 −14 app/models/solr_document.rb
+22 −0 app/views/blacklight_dynamic_sitemap/sitemap/show.xml.builder
+11 −0 app/views/catalog/_document_gallery.html.erb
+3 −0 app/views/hyrax/base/_attribute_rows.html.erb
+101 −32 app/views/identity_providers/_form.html.erb
+4 −2 app/views/splash/index.html.erb
+16 −0 config/initializers/active_fedora_frozen_array_fix.rb
+1 −1 config/initializers/version.rb
+3 −2 config/locales/blacklight.en.yml
+24 −0 config/locales/de.yml
+1 −0 config/locales/devise.en.yml
+127 −117 config/locales/en.yml
+24 −0 config/locales/es.yml
+22 −21 config/locales/etd.en.yml
+24 −0 config/locales/fr.yml
+73 −76 config/locales/hyrax.en.yml
+24 −0 config/locales/it.yml
+45 −44 config/locales/oer.en.yml
+24 −0 config/locales/pt-BR.yml
+25 −25 config/locales/simple_form.en.yml
+24 −0 config/locales/zh.yml
+311 −0 config/metadata/basic_metadata.yaml
+144 −0 config/metadata/etd_resource.yaml
+3 −1 config/metadata/image_resource.yaml
+168 −0 config/metadata/oer_resource.yaml
+25 −1 config/metadata_profiles/m3_profile.yaml
+1 −0 config/routes.rb
+2 −0 docs/wiki/ActiveJob-with-tenants.md
+48 −0 docs/wiki/Creating-Custom-Themes.md
+47 −0 docs/wiki/Home.md
+1,329 −0 docs/wiki/Hyku-Test-Plan.md
+13 −0 docs/wiki/Multi-tenant-domain-model.md
+7 −0 docs/wiki/Run-rake-task-on-all-or-selected-tenants.md
+1 −0 docs/wiki/Set-email-addresses.md
+375 −0 docs/wiki/Updating-Hyku-6-with-Hyrax-5-Developer-Notes.md
+27 −0 docs/wiki/Using-account-switching-in-development.md
+148 −0 docs/wiki/Valkyrie-Migration.md
+15 −0 docs/wiki/Versioning---Draft.md
+31 −24 lib/blacklight_advanced_search/advanced_query_parser_decorator.rb
+62 −0 spec/fixtures/files/m3_profile.yaml
+53 −0 spec/models/solr_document_spec.rb
+102 −0 spec/requests/blacklight_dynamic_sitemap/sitemap_spec.rb
+195 −0 spec/views/identity_providers/_form.html.erb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,14 @@ def render_constraints_filters(params_or_search_state = search_state)
end
end

BlacklightAdvancedSearch::RenderConstraintsOverride.prepend(BlacklightAdvancedSearch::RenderConstraintsOverrideDecorator)
if defined?(BlacklightAdvancedSearch::RenderConstraintsOverride)
# blacklight_advanced_search <= 7 (old hook point)
BlacklightAdvancedSearch::RenderConstraintsOverride.prepend(
BlacklightAdvancedSearch::RenderConstraintsOverrideDecorator
)
elsif defined?(Blacklight::RenderConstraintsHelperBehavior)
# blacklight_advanced_search 8+ (RenderConstraintsOverride removed/renamed)
Blacklight::RenderConstraintsHelperBehavior.prepend(
BlacklightAdvancedSearch::RenderConstraintsOverrideDecorator
)
end