Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRAFT - Community version #371

Open
wants to merge 413 commits into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
413 commits
Select commit Hold shift + click to select a range
bdc34ee
Merge pull request #208 from PeaceWorksTechnologySolutions/fix-settin…
nigelgbanks Jan 13, 2022
ce32e07
Changed defaults for cantaloupe to a working state
Feb 2, 2022
a6f0aa1
Turns out fedora needs to be web accessible for cantaloupe to work...
Feb 2, 2022
ca1d24b
Merge pull request #219 from Islandora-Devops/fix-cantaloupe-defaults
DonRichards Feb 2, 2022
acf7718
Merge pull request #204 from joshdentremont/189-code-server
DonRichards Feb 8, 2022
4610e2c
Test for create_database being called before the container has initia…
Feb 9, 2022
7361406
Update comment about exposing Fedora
joshdentremont Feb 10, 2022
49f7074
Merge pull request #225 from Islandora-Devops/issues-224
nigelgbanks Feb 10, 2022
a97e13a
Merge pull request #227 from joshdentremont/patch-1
DonRichards Feb 11, 2022
e1ae8da
Changes to README.md to update requirements
ysuarez Feb 18, 2022
f055a55
Merge pull request #229 from Islandora-Devops/ysuarez-isle2-requireme…
DonRichards Feb 21, 2022
0e7c153
Update to sample.env to change defaults
joshdentremont Feb 23, 2022
027996f
Check if term exists before modifying
Feb 24, 2022
07bbdc5
Merge pull request #234 from Islandora-Devops/issue-190-missing-term
nigelgbanks Mar 2, 2022
2e71a82
Bumped release to include fixes for folks using custom images
Mar 2, 2022
225f46a
Merge pull request #236 from Islandora-Devops/update-release
nigelgbanks Mar 2, 2022
3aa6e1f
Merge pull request #231 from joshdentremont/patch-2
Natkeeran Mar 2, 2022
ffba761
Nerfing make demo so I can get through to actually using the install …
dannylamb Apr 15, 2021
f1388e8
Finding profile and blowing up on not finding the theme
dannylamb Apr 16, 2021
90ab2ae
Finally installing
dannylamb Apr 23, 2021
1766a65
Making it so you can build from images on dockerhub
dannylamb Apr 23, 2021
025e39e
Updating makefile
dannylamb Apr 27, 2021
bc36645
updating buildkit hash
dannylamb May 6, 2021
7a8b18b
Make local works
dannylamb May 6, 2021
430d577
Confirm on clean
May 6, 2021
624cb73
Adding REPOSITORY to make local
dannylamb May 17, 2021
504a4fc
Bumping buildkit hash
dannylamb May 17, 2021
e35e7ea
Adds the config/sync directory if it doesn't already exist and chowns it
May 17, 2021
65cc504
Getting ready to pull in upstream
dannylamb Jul 16, 2021
7aed31a
Temp edit - islandora_profile in packagist
noahwsmith Jul 28, 2021
48d4bf9
patching Makefile for d9
noahwsmith Aug 1, 2021
01e5d9c
cleanup on install
noahwsmith Aug 2, 2021
60a859f
Bringing make local and make demo codebases into alignment
dannylamb Aug 3, 2021
3a7cca3
incremental improvements to install profile, including cleaning up su…
noahwsmith Oct 25, 2021
1d4f5a9
clean up output from Make commands
noahwsmith Oct 25, 2021
90c0558
freeze Context module commit hash
noahwsmith Oct 25, 2021
91e2b1c
changing the node owner for d9
noahwsmith Nov 2, 2021
0102068
adding composer_update
noahwsmith Nov 2, 2021
c4c9306
make local works with the install profile
dannylamb Nov 19, 2021
c9df948
Reverting make demo and local and renaming to -install-profile variants
dannylamb Nov 23, 2021
189f900
Updating TAG in sample.env
dannylamb Nov 23, 2021
4ac9157
Git clone main branch of sandbox for local-install-profile.
rosiel Dec 14, 2021
dc3ff8a
Update buildkit commit in TAG variable.
rosiel Dec 14, 2021
7ca3f82
Update homepage.json
Natkeeran Feb 3, 2022
d3f8728
Update homepage.json
Natkeeran Feb 4, 2022
2163ced
Update Makefile
Natkeeran Feb 7, 2022
3e77d34
Changes to allow path to the isle-dc repo to have spaces (#237)
ysuarez Mar 9, 2022
8e0783b
Removing duplicate "confirm" function
noahwsmith Mar 23, 2022
5b04015
Merge pull request #160 from Islandora-Devops/install-profile
rosiel Mar 24, 2022
d63b105
Bugfix: matomo domain env is incorrect
noahwsmith Mar 28, 2022
10c3e32
Merge pull request #242 from Islandora-Devops/patch-matomo-domain-env
DonRichards Mar 29, 2022
8d26bd9
Add ability to enable ACME generation of SSL Certs
misilot Feb 11, 2022
9bfab80
Merge pull request #228 from misilot/acme-update
DonRichards Apr 5, 2022
2b23dbe
Update sample.env (#244)
DonRichards Apr 6, 2022
c7e00e3
Remove unnecessary reverse proxy. (#222)
nigelgbanks Apr 11, 2022
a949886
Reinstall islandora & views for make local
DonRichards Jan 14, 2022
b5756c3
Move to it's own hot fit command
DonRichards Jan 14, 2022
ee80294
Adds check before running & add drupal console here
DonRichards Jan 14, 2022
07017d3
Improve queries
DonRichards Jan 19, 2022
6ed9d76
add fix_view docs
DonRichards Jan 19, 2022
cde0ff8
Add currently enabled index to only impact enabled views
DonRichards Apr 28, 2022
be7e0db
Load env changes with single make command (#247)
DonRichards May 4, 2022
7727a3a
Reordering the Fedora Port in docker-compose file
misilot May 17, 2022
f4c2e29
Merge pull request #259 from misilot/patch-1
noahwsmith May 17, 2022
efd5d5f
Add to for Secrets to be generated before generating secrets (#226)
DonRichards May 18, 2022
23d37e7
Updates Traefik to Latest Release (#252)
misilot Jun 2, 2022
0a7deff
Merge branch 'development' into issues_212
DonRichards Jun 6, 2022
a4685d6
Move docker-compose files to subdirectory
misilot Feb 9, 2022
a5c7e53
Move some files to a `build` directory since they are build artifacts
misilot Feb 9, 2022
c199f00
Make the Dockerfile a multistage build
misilot Feb 9, 2022
46f7621
Adding `docker-compose.override.yml` to .gitignore
misilot Feb 9, 2022
606a321
Merge pull request #223 from misilot/refactor-docker-compose
DonRichards Jun 7, 2022
6dd2035
Add custom Makefile check include
DonRichards Jun 15, 2022
371eac9
Add description
DonRichards Jun 15, 2022
044e4b7
Correct if statement
DonRichards Jun 15, 2022
48a18c9
Merge pull request #213 from Islandora-Devops/issues_212
ajstanley Jun 15, 2022
8b45586
Merge pull request #265 from Islandora-Devops/custom_makefile_include
ysuarez Jun 29, 2022
bef92c1
Fix some small misspellings
ysuarez Jun 29, 2022
80a1bba
Merge pull request #269 from ysuarez/2022_6_29_fix_misspellings
rosiel Jun 29, 2022
3b56e7f
Add note that custom.Makefile targets not being able to override defa…
ysuarez Jun 30, 2022
e6d29f5
Merge pull request #270 from ysuarez/custom_makefile_note
DonRichards Jul 11, 2022
3cf8275
Switch from nested IFs to case switch for prompt
DonRichards Jul 13, 2022
b62b1ed
Merge pull request #274 from Islandora-Devops/generate_secrets_prompt…
rosiel Jul 13, 2022
45e2b50
make local now finishes with islandora_defaults installed and ready
noahwsmith Apr 7, 2022
34510bb
fixing install profile commands in isle-dc
noahwsmith Apr 7, 2022
2849f85
PHONY cleanup
noahwsmith Apr 7, 2022
e225e34
fix for simple make local: can't yet require islandora:2.0
noahwsmith Apr 7, 2022
202306c
WIP towards getting the install profile back online
noahwsmith Apr 8, 2022
483448c
closing back in on the local-install-profile
noahwsmith Apr 10, 2022
f01e414
cleaning up install
noahwsmith Apr 10, 2022
9b280b6
revert change which pulled drush en's from install
noahwsmith Apr 11, 2022
b527622
strongarm install to use the correct profile
noahwsmith Apr 11, 2022
3df3f99
ready for testing
noahwsmith Apr 11, 2022
81dbeb5
fix content import
noahwsmith Apr 11, 2022
4fb5a2c
Use updated versions
nigelgbanks Apr 14, 2022
7412be7
switch demo to mean local with demo content
noahwsmith Apr 15, 2022
b651a6f
further progress towards making the demo functions mean local+content
noahwsmith Apr 15, 2022
ec0af56
workbench needs to use https
noahwsmith Apr 15, 2022
78ba714
upgrade Islandora Defaults to 2.0
noahwsmith May 10, 2022
d1221c5
Updates to Islandora Workbench to enable demo content import
noahwsmith May 10, 2022
7a6441b
updates to allow Islandora Defaults ^2.0 to work
noahwsmith May 10, 2022
9db66d5
don't need to rollback tags after fix to islandora taxonomies
noahwsmith May 10, 2022
194389a
switching back to Don's repo for workbench
noahwsmith May 10, 2022
2bd6ffc
switching to pre-merged branch for workbench
noahwsmith May 11, 2022
609779b
Correction to command
noahwsmith May 11, 2022
08d258c
switch to main branch of sandbox repo
noahwsmith May 20, 2022
9a57155
fix the site selection for the workaround on islandora-migrations
noahwsmith May 20, 2022
1c0ef45
only need to reindex solr after workbench
noahwsmith May 20, 2022
2aabc2e
remove demo-legacy
noahwsmith May 20, 2022
0414ff2
Fixed command
noahwsmith May 25, 2022
c82ae60
typo in rebase reconciliation
noahwsmith Jun 10, 2022
296e1a5
demo data has been moved
noahwsmith Jun 10, 2022
7415b7b
Improve help messages
DonRichards Jul 15, 2022
d1ad1d7
Set new default local and demo.
DonRichards Jul 15, 2022
9b9c20c
correct typo and comment
DonRichards Jul 15, 2022
616f627
Remove old files no longer needed
DonRichards Jul 15, 2022
bce85ff
Update documentation to reflect the new make local & demo commands
DonRichards Jul 15, 2022
5705b87
Merge pull request #248 from Islandora-Devops/fixing_initial_install_…
ajstanley Jul 15, 2022
c2db5f3
Remove the comment that doesn't work on MACs
DonRichards Jul 18, 2022
8cc8f02
Merge pull request #276 from Islandora-Devops/help_typo
ajstanley Jul 19, 2022
7c48aae
Update README.md
highermath Jul 21, 2022
4f698a1
Correct the settings.php permissions errors
DonRichards Aug 4, 2022
1ffcc36
quick fix for workbench imports
noahwsmith Aug 5, 2022
8568113
Merge pull request #283 from Islandora-Devops/fix_env
ajstanley Aug 5, 2022
dc1c3e4
syntax issues with demo_content
noahwsmith Aug 8, 2022
124699d
Merge branch 'development' of github.com:Islandora-Devops/isle-dc int…
noahwsmith Aug 8, 2022
71eb5b5
Update README.md (#282)
DonRichards Aug 10, 2022
9e1ec3f
Update to use latest containers, fixes issue with houdini and ghostsc…
noahwsmith Aug 23, 2022
702f7e4
Merge pull request #285 from Islandora-Devops/container-update-1
DonRichards Aug 31, 2022
69fa1f1
This variable declaration has a typo in it
noahwsmith Sep 9, 2022
27d3e3d
Merge pull request #286 from Islandora-Devops/bugfix-traefik-log-level
nigelgbanks Sep 12, 2022
d912e06
Theoretically together.
adam-vessey Sep 13, 2022
13020e6
Add in the new env business.
adam-vessey Sep 13, 2022
8ffdb66
Adjust the starter stuff.
adam-vessey Sep 13, 2022
6565817
Attempt to have migrations run as user with the required role.
adam-vessey Sep 20, 2022
f44ddc1
Makefile: Abstract how we call sed, for compatibility with both Linux…
jasonhildebrand Sep 20, 2022
4aaffc9
Solr error should not be fatal.
jasonhildebrand Jan 26, 2022
9f44038
Satisfyable JWT conditions for migrations.
adam-vessey Sep 20, 2022
29e2561
Move share line to common target.
adam-vessey Sep 20, 2022
848c8f7
%s/ENVIROMENT/ENVIRONMENT/g in the Makefile...
adam-vessey Sep 20, 2022
b82e6de
Add blurb about the other targets to the README.
adam-vessey Sep 21, 2022
1029faa
Merge pull request #216 from PeaceWorksTechnologySolutions/solr-error…
DonRichards Sep 28, 2022
b28b872
Update CONTRIBUTING.md
islandora-community Oct 5, 2022
ba71239
Merge pull request #291 from PeaceWorksTechnologySolutions/make-demo-…
DonRichards Oct 5, 2022
dbbf07a
Merge branch 'development' into feature/starter-site
adam-vessey Oct 11, 2022
ecb139d
Add the newline-at-end-of-file back in...
adam-vessey Oct 11, 2022
eae526e
Merge pull request #287 from adam-vessey/feature/starter-site
rosiel Oct 11, 2022
259b5db
Correct URL for activemq
DonRichards Oct 14, 2022
74968de
Merge pull request #297 from Islandora-Devops/DonRichards-patch-1
noahwsmith Oct 17, 2022
f5b7e83
Update README.md
DonRichards Oct 26, 2022
8da2da1
Update README.md
DonRichards Oct 27, 2022
ac868e9
Bumped TAG to the latest release
nigelgbanks Nov 3, 2022
65db71e
Merge pull request #308 from Islandora-Devops/bump-buildkit-release
nigelgbanks Nov 3, 2022
6ff5cf5
Update `make clean` warning.
rosiel Nov 8, 2022
96a013d
Merge pull request #310 from Islandora-Devops/rosiel-make-clean-warn
DonRichards Nov 9, 2022
4d1f382
Merge pull request #304 from Islandora-Devops/DonRichards-readme-update
rosiel Nov 25, 2022
0a5951c
Merge pull request #278 from highermath/patch-1
rosiel Nov 29, 2022
c01ece3
Update TAG to latest release of isle-builtkit
misilot Nov 29, 2022
5fa7f70
Merge pull request #316 from misilot/patch-1
rosiel Nov 30, 2022
9bfa3d6
Add support for External Account Binding with ACME
misilot Apr 21, 2022
52af78f
Expose the Default Traefik Log Level variable
misilot Apr 21, 2022
72410d7
Add idc-codebase for make start-dev
DonRichards Dec 8, 2022
4454482
Simplify mass chown
noahwsmith Jan 5, 2023
9ab60d8
Merge pull request #319 from Islandora-Devops/noahwsmith-issue-317
nigelgbanks Jan 6, 2023
ed8e34c
Merge remote-tracking branch 'Islandora-Devops/development' into comm…
DonRichards Jan 10, 2023
2a95971
Reset makefile to upstream's version
DonRichards Jan 10, 2023
ada278c
Add custom makefile
DonRichards Jan 11, 2023
c463788
Add env and IDC readme
DonRichards Jan 11, 2023
7e8e517
Config export and expose microservices
DonRichards Jan 11, 2023
3b0a730
Merge pull request #253 from misilot/acme-updates
DonRichards Jan 13, 2023
fed48cd
Point to Starter Site at its new location, Devops
rosiel Jan 13, 2023
2d00b3c
Merge pull request #321 from Islandora-Devops/rosiel-patch-1
noahwsmith Jan 19, 2023
cb10632
Merge remote-tracking branch 'Islandora-Devops/development' into comm…
DonRichards Jan 20, 2023
111d86a
Set up a working example
DonRichards Jan 24, 2023
ac57aab
Add ignores for rsync
DonRichards Jan 24, 2023
4b2d31d
Adding exports for repo syncing
DonRichards Jan 26, 2023
dfc9d68
More progress but at a working point
DonRichards Jan 30, 2023
2ee317f
Fix repo export
DonRichards Jan 31, 2023
1f23ed4
Add back codebase removal for make jhu clean
DonRichards Jan 31, 2023
c57137c
Switch demo content
DonRichards Feb 6, 2023
78d5a2b
Correct the repo export
DonRichards Feb 7, 2023
bcf0b50
adjustment to up
DonRichards Feb 7, 2023
5b2285a
Fix demo data function
DonRichards Feb 9, 2023
53be05f
Fix set-codebase-permissions and add up without rebuild
DonRichards Feb 10, 2023
052ab7b
Merge remote-tracking branch 'idc/community_version' into community_v…
DonRichards Feb 10, 2023
73405a5
Fix demo content directory reference
DonRichards Feb 14, 2023
805257e
Add github ci back
DonRichards Feb 14, 2023
36f4d26
Add some docs on how to edit.
DonRichards Feb 14, 2023
a3deb63
Add `make test` to allow CICD to possibly work.
DonRichards Feb 15, 2023
d7cf014
Echo done when complete
DonRichards Feb 15, 2023
5dcf32a
Add some Improvements
DonRichards Feb 16, 2023
5bf4972
Add solr reindexing
DonRichards Feb 17, 2023
81b7db4
Rebuild solr
DonRichards Feb 20, 2023
833fd22
Add the solr config file removal
DonRichards Feb 20, 2023
711cf23
Refine make clean & reset
DonRichards Feb 24, 2023
3b2e325
Correct the set-codebase-permissions
DonRichards Feb 24, 2023
13aa9cf
Update theme make command
DonRichards Feb 24, 2023
2776fb5
Switch to JHU root collections demo content
DonRichards Feb 28, 2023
a9b2a05
Add ui module and workbench export
DonRichards Mar 1, 2023
b7dc490
Improve build and exports
DonRichards Mar 7, 2023
27a34a7
Add touch just in case it has an issue w/ making the file w/ permissions
DonRichards Mar 7, 2023
c2302c9
Add import/export of idc_ui_community
DonRichards Mar 13, 2023
2fc32f9
Add default.services to scripts
DonRichards Mar 14, 2023
1e42978
Remove debug code
DonRichards Mar 14, 2023
d4a9d1a
Add runner test
DonRichards Mar 14, 2023
e7ba491
Add generic image back if it's missing
DonRichards Mar 15, 2023
6c55ed5
Add exclusions for git & github directory for export
DonRichards Mar 15, 2023
3dffa0e
Fix sizes
DonRichards Mar 16, 2023
b081cf7
Add host prep script
DonRichards Mar 17, 2023
ee6e0ca
Set .env domain
DonRichards Mar 17, 2023
09a2e60
Fix typo
DonRichards Mar 17, 2023
888c521
Add root dir as variable
DonRichards Mar 17, 2023
ffd16e8
Build in roll back
DonRichards Mar 17, 2023
06eba9d
Added some improvements
DonRichards Mar 17, 2023
748e7fe
Improve Layout
DonRichards Mar 17, 2023
21fa1b6
Improve SSL check
DonRichards Mar 17, 2023
3386b71
Fix spacing
DonRichards Mar 17, 2023
a7686fa
Turn off debugging
DonRichards Mar 17, 2023
ad891a5
Rebuild the docker compose file and restart it
DonRichards Mar 17, 2023
fa79abe
Add host specific changes
DonRichards Mar 17, 2023
591e9f7
Set private
DonRichards Mar 17, 2023
291f0bd
Add some changes to improve dev
DonRichards May 9, 2023
97d5f59
Working migration except nodes
DonRichards May 30, 2023
9ace109
Add username/password checks and add domain replace function
DonRichards Jul 5, 2023
bc284db
Fix spacing and in user/passwords and add set owner after config export
DonRichards Jul 5, 2023
843ed14
Fix migration and build
DonRichards Sep 8, 2023
6a7f184
disable workbench warnings
DonRichards Sep 8, 2023
e160e16
Fix tabs mismatch and filename for workbench sed command.
DonRichards Sep 11, 2023
7aeb291
Add all taxonomies and islandora objects demo content
DonRichards Sep 15, 2023
3364ca3
Add the ability to stop without losing anything
DonRichards Sep 15, 2023
9aa2992
Add front page
DonRichards Oct 4, 2023
e061503
Add docker buildkit disable
DonRichards Oct 4, 2023
722d535
Restart Work
DonRichards Oct 6, 2023
c8024f7
Complete migration
DonRichards Oct 18, 2023
1131304
Fix race condition on building
DonRichards Oct 18, 2023
efaa437
Fix directory check
DonRichards Oct 18, 2023
af2f905
Sandbox adjustments
DonRichards Oct 18, 2023
bbd3000
Moving stuff around for checks
DonRichards Oct 18, 2023
9862b0e
More adjustments for sandbox
DonRichards Oct 18, 2023
52df7c5
codebase typo
DonRichards Oct 18, 2023
ed5460d
More adjustments for sandbox
DonRichards Oct 18, 2023
c2eeadd
rm codebase if needed
DonRichards Oct 18, 2023
ab7530b
More adjustments
DonRichards Oct 18, 2023
9c2e740
Adjustments for sandbox
DonRichards Oct 18, 2023
55cfe4d
Incomplete workflow added
DonRichards Oct 19, 2023
3039315
Add wait for endpoint
DonRichards Oct 20, 2023
7659303
Merge remote-tracking branch 'idc/community_version' into community_v…
DonRichards Oct 20, 2023
91c78b7
Add temp fix for node ids in migrate script
DonRichards Oct 24, 2023
16ad1ee
Add more feedback and allow for double quotes or lack there of
DonRichards Oct 25, 2023
7775dcf
Fix theme libraries directory
DonRichards May 15, 2024
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
170 changes: 170 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
# Environment variables defined in this file apply to both the Makefile and to
# docker-compose.yml
#
# Due to restrictions in the `env-file` format we cannot specify multi-line
# values for environment variables. For this reason the environment
# variables are set on service definitions in the docker-compose.*.yml files,
# rather than defined in `env-file` files.

# Determines which docker-compose file(s) will be used for the `drupal` service.
# See documentation for more details.
ENVIRONMENT=demo

# Enable this to generate a docker-compose file that uses secrets.
# If you're running staging, CI, or production, set to true.
USE_SECRETS=true

###############################################################################
# Environment variables specific to composer.
###############################################################################

COMPOSE_HTTP_TIMEOUT=480

# Also used for naming services in traefik as well as defining network alias and urls.
# For example the `drupal` service will be found at `islandora.${COMPOSE_PROJECT_NAME}.${DRUPAL_SITE_HOST}`.
# See https://docs.docker.com/compose/reference/envvars/
COMPOSE_PROJECT_NAME=isle-dc

# Allows building custom image with buildkit.
COMPOSE_DOCKER_CLI_BUILD=1
DOCKER_BUILDKIT=1

# Dockerfile to use when building the custom project.
PROJECT_DRUPAL_DOCKERFILE=Dockerfile

# Includes `traefik` as a service, if false assume we are sharing a traefik
# from another project.
INCLUDE_TRAEFIK_SERVICE=true

# Should we use ACME to generate a SSL Certificate
USE_ACME=false
# Specify email to tie SSL Certificate to with ACME provider
[email protected]

# Includes `watchtower` as a service.
INCLUDE_WATCHTOWER_SERVICE=false

# Includes `etcd` as a service.
INCLUDE_ETCD_SERVICE=false

# Includes `code-server` as a service.
INCLUDE_CODE_SERVER_SERVICE=false

# Choose which database backend to use: mariadb/postgresql
# Services that only support MySQL (Matomo) do not have the option to change.
# Also at this time not all Drupal modules work with PostgresSQL, it is provided
# as option here so it can be tested and fixed at some later date.
DRUPAL_DATABASE_SERVICE=mariadb
FCREPO_DATABASE_SERVICE=mariadb

# Repository to use for pulling isle-buildkit images, change to `local`
# To use images you have built locally with isle-buildkit, or use your
# custom docker registry if you have set up one.
#
REPOSITORY=islandora

# The version of the isle-buildkit images, non isle-buildkit images have
# their versions specified explicitly in their respective docker-compose files.
TAG=1.0.10

###############################################################################
# Exposed Containers & Ports
###############################################################################

# Expose Cantaloupe at ${DOMAIN}/cantaloupe
EXPOSE_CANTALOUPE=true

# Expose Matomo at ${DOMAIN}/matomo
EXPOSE_MATOMO=false

# Expose Drupal at ${DOMAIN}
EXPOSE_DRUPAL=true

# Expose MySQL over the given port - DO NOT EXPOSE THIS IN PRODUCTION
EXPOSE_MYSQL=false
MYSQL_PORT=3306

# Expose Postgres over the given port - DO NOT EXPOSE THIS IN PRODUCTION
EXPOSE_POSTGRES=false
POSTGRES_PORT=5432

# Expose the Traefik dashboard over the given port - DO NOT EXPOSE THIS IN PRODUCTION
EXPOSE_TRAEFIK_DASHBOARD=false
TRAEFIK_DASHBOARD_PORT=8080

# Expose Fedora over the given port - Necessary for Canteloupe
EXPOSE_FEDORA=true
FEDORA_PORT=8081

# Expose Blazegraph over the given port - DO NOT EXPOSE THIS IN PRODUCTION
EXPOSE_BLAZEGRAPH=true
BLAZEGRAPH_PORT=8082

# Expose Activemq over the given port - DO NOT EXPOSE THIS IN PRODUCTION
EXPOSE_ACTIVEMQ=false
ACTIVEMQ_PORT=8161

# Expose SOLR over the given port - DO NOT EXPOSE THIS IN PRODUCTION
EXPOSE_SOLR=true
SOLR_PORT=8983

# Expose Code Server over the given port - DO NOT EXPOSE THIS IN PRODUCTION
EXPOSE_CODE_SERVER=false
CODE_SERVER_PORT=8443

###############################################################################
# Global Environment variables
###############################################################################

DOMAIN=islandora.traefik.me
SITE=https://${DOMAIN}
DISABLE_SYN=false
FEDORA_6=true
RESTART_POLICY=unless-stopped

# PHP variables
PHP_MEMORY_LIMIT=5G
PHP_POST_MAX_SIZE=5G
PHP_UPLOAD_MAX_FILESIZE=5G
PHP_MAX_EXECUTION_TIME=30

# If you're just demoing or are starting from scratch, use this.
INSTALL_EXISTING_CONFIG=true
DRUPAL_INSTALL_PROFILE=standard

# If you're installing from an existing codebase, uncomment this
#INSTALL_EXISTING_CONFIG=true
#DRUPAL_INSTALL_PROFILE=minimal

# If you're experiencing timeouts in Alpaca, consider bumping these
# values for each connector. They are in milliseconds (1000 = 1 second).
ALPACA_OCR_TIMEOUT=300000
ALPACA_FITS_TIMEOUT=300000
ALPACA_HOUDINI_TIMEOUT=300000
ALPACA_HOMARUS_TIMEOUT=300000

# Set Memory Limit for each container.
ACTIVEMQ_MEMORY_LIMIT=2G
ALPACA_MEMORY_LIMIT=2G
BLAZEGRAPH_MEMORY_LIMIT=5G
CANTALOUPE_MEMORY_LIMIT=5G
CRAYFITS_MEMORY_LIMIT=1G
DRUPAL_MEMORY_LIMIT=5G
FCREPO_MEMORY_LIMIT=5G
FITS_MEMORY_LIMIT=5G
HOMARUS_MEMORY_LIMIT=1G
HOUDINI_MEMORY_LIMIT=1G
HYPERCUBE_MEMORY_LIMIT=512M
IDE_MEMORY_LIMIT=5G
MARIADB_MEMORY_LIMIT=1G
MATOMO_MEMORY_LIMIT=1G
MILLINER_MEMORY_LIMIT=1G
RECAST_MEMORY_LIMIT=1G
SOLR_MEMORY_LIMIT=8G
TRAEFIK_MEMORY_LIMIT=8G
WATCHTOWER_MEMORY_LIMIT=2G

# Configuration to enable the custom delegate script for Cantaloupe
CANTALOUPE_DELEGATE_SCRIPT_ENABLED=false
CANTALOUPE_DELEGATE_SCRIPT_PATHNAME=/opt/tomcat/bin/delegates.rb
CANTALOUPE_HTTPSOURCE_LOOKUP_STRATEGY=BasicLookupStrategy
1 change: 1 addition & 0 deletions .github/README.md
191 changes: 191 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
name: CI
on:
push:
branches:
- main
- development
tags:
- v*
pull_request:
branches:
- main
- development

jobs:
build:
name: build
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.excludes-matrix.outputs.matrix }}
steps:
# Check out current commit
- name: Checkout
uses: actions/checkout@v3

# Make sure buildkit is enabled
- name: Enable buildkit
shell: bash
run: |
echo '{"experimental": "enabled"}' > ~/.docker/config.json

# Build and Export image for push to github container registry
- name: Build and export drupal image
run: make static-drupal-image-export

# Build and run the static environment
- name: Build Static
run: make static-docker-compose.yml up

- uses: actions/upload-artifact@v2
with:
name: drupal-image
path: images

- name: Generate Test Matrix
id: test-matrix
uses: jhu-idc/[email protected]
with:
key: suite

- name: Exclude nightly jobs
id: excludes-matrix
uses: jhu-idc/[email protected]
with:
key: suite
glob: '*nightly*.sh'
exclude: true
matrix: ${{ steps.test-matrix.outputs.matrix }}
- name: Notify Slack
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took,pullRequest # selectable (default: repo,message)
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required
if: failure()
test:
name: test
runs-on: ubuntu-latest
if: false # Don/Tim: disable testing for now
needs: build
strategy:
matrix: ${{ fromJSON(needs.build.outputs.matrix) }}
fail-fast: false
steps:
# Check out current commit
- name: Checkout
uses: actions/checkout@v3

- name: Download Drupal Image
uses: actions/download-artifact@v2
with:
name: drupal-image
path: images

- name: Load Drupal Image
run: docker load < images/static-drupal.tar

- name: Use static docker-compose file, to test static image
run: make static-docker-compose.yml

- name: Up
run: make up

- name: test
run: |
mkdir -p end-to-end/reports
chmod a+rwx end-to-end/reports
make test test=${{ matrix.suite }}
- name: reports
if: always()
run: |
mkdir -p end-to-end/reports/${{ matrix.suite }}
docker ps
docker logs idc_drupal_1 2>&1 | tee end-to-end/reports/${{ matrix.suite }}/drupal-${{ matrix.suite }}.log
docker logs idc_alpaca_1 2>&1 | tee end-to-end/reports/${{ matrix.suite }}/alpaca-${{ matrix.suite }}.log
docker logs idc_homarus_1 2>&1 | tee end-to-end/reports/${{ matrix.suite }}/homarus-${{ matrix.suite }}.log
docker logs idc_crayfits_1 2>&1 | tee end-to-end/reports/${{ matrix.suite }}/crayfits-${{ matrix.suite }}.log
docker logs idc_fits_1 2>&1 | tee end-to-end/reports/${{ matrix.suite }}/fits-${{ matrix.suite }}.log
docker logs idc_houdini_1 2>&1 | tee end-to-end/reports/${{ matrix.suite }}/houdini-${{ matrix.suite }}.log
docker logs idc_dlq_1 2>&1 | tee end-to-end/reports/${{ matrix.suite }}/dlq-${{ matrix.suite }}.log
- name: upload reports
if: always()
uses: actions/upload-artifact@v2
with:
name: reports-${{ matrix.suite }}
path: end-to-end/reports/${{ matrix.suite }}
- name: upload screenshots
if: always()
uses: actions/upload-artifact@v2
with:
name: reports-screenshots
path: end-to-end/reports/screenshots
- name: Notify Slack
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took,pullRequest # selectable (default: repo,message)
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required
MATRIX_CONTEXT: ${{ toJson(matrix) }} # required
if: failure()
deploy:
name: Deploy
runs-on: ubuntu-latest
needs: [ build ] # Tim, Don: removing test dependency
env:
DOCKER_USER: ${{secrets.DOCKER_USER}}
DOCKER_PUSH_REPOSITORY: ${{secrets.DOCKER_PUSH_REPOSITORY}}
steps:
# Check out current commit
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Docker Login
if: ${{ github.event_name != 'pull_request' && env.DOCKER_USER }}
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ env.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASS }}

- name: Download Drupal Image
if: ${{ github.event_name != 'pull_request' && env.DOCKER_USER }}
uses: actions/download-artifact@v2
with:
name: drupal-image
path: images

- name: Load Drupal Image
if: ${{ github.event_name != 'pull_request' && env.DOCKER_USER }}
run: docker load < images/static-drupal.tar

- name: Use static docker-compose file, to deploy image
run: make static-docker-compose.yml

# The primary purpose of this step is to make sure all the non-drupal images are
# downloaded.
- name: Load the irest of the stack
run: docker-compose up -d

# Push docker images, if we are on the appropriate branch or tag
- name: Docker Push
if: ${{ github.event_name != 'pull_request' && env.DOCKER_USER }}
run: sh tag_and_push_images.sh

# Experimental way to delete artifact
- name: Delete Temporary Images
uses: geekyeggo/delete-artifact@v1
with:
name: drupal-image

- name: Notify Slack
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took,pullRequest # selectable (default: repo,message)
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required
if: failure()
22 changes: 22 additions & 0 deletions .github/workflows/codesee-arch-diagram.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow was added by CodeSee. Learn more at https://codesee.io/
# This is v2.0 of this workflow file
on:
push:
branches:
- development
pull_request_target:
types: [opened, synchronize, reopened]

name: CodeSee

permissions: read-all

jobs:
codesee:
runs-on: ubuntu-latest
continue-on-error: true
name: Analyze the repo with CodeSee
steps:
- uses: Codesee-io/codesee-action@v2
with:
codesee-token: ${{ secrets.CODESEE_ARCH_DIAG_API_TOKEN }}
Loading
Loading