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 - Diff with the community to look at #111

Closed
wants to merge 225 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
225 commits
Select commit Hold shift + click to select a range
cdd99a3
Using secrets
dannylamb Oct 1, 2020
954e6b1
Add GNU patch for use with composer-patches.
emetsger Jul 28, 2020
e43b36e
Merge pull request #79 from jhu-sheridan-libraries/gnu-patch
nigelgbanks Oct 7, 2020
f8e5753
Update allowed-external-content.txt.tmpl
dannylamb Oct 15, 2020
bb4d11e
Missing key for /tomcat/admin/roles
dannylamb Oct 15, 2020
422ea81
Merge pull request #81 from Islandora-Devops/allowed-external-content…
nigelgbanks Oct 15, 2020
1f297ff
Merge pull request #82 from Islandora-Devops/missing-tomcat-admin-roles
nigelgbanks Oct 15, 2020
7482dd0
Merge branch 'main' of https://github.com/Islandora-Devops/isle-build…
dannylamb Oct 15, 2020
bdb18d1
Guess this is no longer neccessary to build
dannylamb Oct 15, 2020
56427a7
Use the output of git-describe to tag images when the version propert…
emetsger Oct 15, 2020
b935442
Merge pull request #83 from emetsger/git-describe-version
nigelgbanks Oct 15, 2020
ab33e65
Update Dockerfile
dannylamb Oct 19, 2020
80d9819
Typo
dannylamb Oct 22, 2020
8e644ca
Merge branch 'secrets' of https://github.com/Islandora-Devops/isle-bu…
dannylamb Oct 22, 2020
b2e65cf
Allow drupal to lock tables, allows importing dumps generated by Drus…
nigelgbanks Nov 5, 2020
a5e11bd
Merge pull request #80 from Islandora-Devops/secrets
Nov 13, 2020
ee3872f
Injecting DRUPAL_REVERSE_PROXY_IP for traefik if it's available
dannylamb Nov 19, 2020
22ab128
Allow DRUPAL_REVERSE_PROXY_IPS to be set explicitly via whatever back…
nigelgbanks Nov 20, 2020
06b1d3b
Merge pull request #87 from Islandora-Devops/sprint4
nigelgbanks Nov 24, 2020
46605b0
Composer 2 (#85)
nigelgbanks Nov 24, 2020
a1afabc
Allow for multiple php-fpm services to be run in downstream container…
nigelgbanks Nov 24, 2020
c8d7b88
Merge pull request #1 from Islandora-Devops/main
emudojo Dec 4, 2020
a4a2d0b
Adding default config dir
Dec 4, 2020
72de41f
Addinf Suppport for default configuration
Dec 7, 2020
07ebaa6
added nginx configuration changes for the vhost
Dec 7, 2020
43995ce
Merge pull request #94 from Born-Digital-US/adding-config-directory-demo
nigelgbanks Dec 7, 2020
5984233
Sandbox, Import/Export tool, and Syn toggling
dannylamb Dec 8, 2020
249d697
Have imagemagick depend on ghostscript so PDF thumbnail generation wo…
nigelgbanks Dec 8, 2020
18683d4
Automatically build/publish to DockerHub using the git tag for the do…
nigelgbanks Dec 8, 2020
15a1dd1
Changes for reindexing and no gemini
dannylamb Jan 6, 2021
b5c6744
Enabling buildkit
dannylamb Jan 12, 2021
2011b53
Testing out every commit
dannylamb Jan 13, 2021
8fb51ae
Making it just commit and dropping branch name
dannylamb Jan 13, 2021
41eadf7
Merge pull request #99 from nigelgbanks/release-versioning
nigelgbanks Jan 13, 2021
88d1164
Clear git repository cache and re-attempt if checkout for given commi…
nigelgbanks Jan 13, 2021
e0f1734
Getting rid of unneccessary cut
dannylamb Jan 13, 2021
caed793
Merge pull request #105 from dannylamb/release-versioning
nigelgbanks Jan 13, 2021
74b955d
Adding back action to build PRs. Removing unneccessary action to bui…
dannylamb Jan 13, 2021
60216c6
Trying to fix build fail
dannylamb Jan 13, 2021
6f18832
Merge pull request #106 from dannylamb/release-versioning
nigelgbanks Jan 13, 2021
d0624e8
Undoing some wrong things i did
dannylamb Jan 14, 2021
569c13b
Merge branch 'main' of https://github.com/islandora-devops/isle-build…
dannylamb Jan 14, 2021
d82cb7e
Facepalming on no /rootfs
dannylamb Jan 14, 2021
bddbdd6
Updating islandora-sandbox
dannylamb Jan 19, 2021
82557c1
Updating islandora-sandbox
dannylamb Jan 19, 2021
bf3ee86
Fedora 6!
dannylamb Jan 28, 2021
cb827c0
Updating utilities for local test case
dannylamb Feb 4, 2021
6055ade
Remote activemq with fcrepo6. Reworking the fedoraAdmin permission d…
dannylamb Feb 9, 2021
298feb2
Re-triggering github action to push new images
dannylamb Feb 9, 2021
d0d0a94
Handle.net persistent identifiers
Tristaan Jan 7, 2021
9b5c35e
Added missing docs for the public/private keys
nigelgbanks Jan 13, 2021
22067c1
Made logic for creating a service user generic so it could be used by…
nigelgbanks Jan 13, 2021
6b9ff88
Updated handle changes to prioritize configuration from confd rather …
nigelgbanks Jan 13, 2021
4136a67
Add additional env vars to handle service
Tristaan Feb 10, 2021
75c7164
Matomo support multisites (#78)
nigelgbanks Feb 10, 2021
bda36c9
Use explicit frontend version of buildkit, should help with some down…
nigelgbanks Feb 11, 2021
25a0165
Refactor how environment variables secrets and defaults are set. (#96)
nigelgbanks Feb 11, 2021
947d254
Try multiple keyservers for fetching gpg keys to increase build stabi…
nigelgbanks Feb 11, 2021
49aa5f6
Merge branch 'main' of github.com:Abak-net-d-o-o/isle-buildkit into main
Tristaan Feb 12, 2021
c92796d
Changed to follow new conventions around Confd/Environment variables.
nigelgbanks Feb 12, 2021
bc0e0b9
Removed reference to Etcd, as any Confd backend might be used
nigelgbanks Feb 12, 2021
ada7e07
Fixed bug in postgres startup script causing failure to start.
nigelgbanks Feb 12, 2021
32ae1c4
Fix permission issue with PostGres that prevented startup.
nigelgbanks Feb 12, 2021
7343129
Bumped version of gradle docker plugin and enabled caching (#108)
nigelgbanks Feb 12, 2021
d5297cd
Merge pull request #1 from nigelgbanks/handle-branch-updates
Tristaan Feb 12, 2021
cd1be6f
Merge pull request #111 from Abak-net-d-o-o/main
nigelgbanks Feb 12, 2021
a9797ea
Merging in upstream changes
dannylamb Feb 16, 2021
b8ad278
Adding in getenvs
dannylamb Feb 16, 2021
e36ddd5
Rebasing off of nigel's work
dannylamb Feb 19, 2021
421eaf7
Remove Gemini from list of require services
noahwsmith Feb 22, 2021
116e319
Missing FCREPO_DB_ROOT_PASSWORD
dannylamb Feb 22, 2021
449c34a
Reworking how I check if modules are enabled or not
dannylamb Feb 24, 2021
57f1088
Temporary fix for Kubernetes
nigelgbanks Feb 26, 2021
cc0b0d3
Merge pull request #114 from nigelgbanks/kubernetes-support
nigelgbanks Feb 26, 2021
171f43d
Merge branch 'main' into post-sprint-4
nigelgbanks Feb 26, 2021
e1b7f56
Merge pull request #2 from Islandora-Devops/main
Tristaan Mar 2, 2021
ce458fb
Change mysql root user creation order
Tristaan Mar 2, 2021
9d75160
Merge pull request #116 from Abak-net-d-o-o/main
nigelgbanks Mar 3, 2021
9da6228
Updating to use newest code. Touching up recast
dannylamb Mar 5, 2021
d159262
Merge branch 'post-sprint-4' of https://github.com/islandora-devops/i…
dannylamb Mar 5, 2021
6c23a9d
Updating crayfish commit
dannylamb Mar 11, 2021
ab03986
Responding to feedback. README updates
dannylamb Mar 15, 2021
21a28a8
Touching up utilities.sh
dannylamb Mar 15, 2021
b6f7e4e
Attempting to fix deploying on remote instance without traefik.me
dannylamb Mar 15, 2021
0b0a34c
Update README.md
DonRichards Mar 16, 2021
b4e9e06
Merge pull request #120 from Islandora-Devops/DonRichards-patch-1
nigelgbanks Mar 16, 2021
18a6631
Merge pull request #95 from Islandora-Devops/post-sprint-4
nigelgbanks Mar 16, 2021
99056a6
Refactor of environment variable usage (#122)
nigelgbanks Mar 23, 2021
92b2252
Use the version 0.0.4 of the build plugin
nigelgbanks Mar 19, 2021
0ffd033
Running out of disk space on Github build servers
nigelgbanks Mar 23, 2021
89212b3
Fix for permissions issues in tomcat.
nigelgbanks Mar 23, 2021
0073ecd
Fix to use the right environment variables for database root user.
nigelgbanks Mar 25, 2021
8b87e16
Pulling in latest islandora code to fix chullo warning
dannylamb Mar 30, 2021
618583f
tomcat/nginx config folder location change
nigelgbanks Apr 1, 2021
62e3b2b
Update nginx config file to match most recent version from updated Al…
nigelgbanks Apr 1, 2021
7e7ae66
Update php-fpm config files to match most recent version from updated…
nigelgbanks Apr 1, 2021
771e922
Automated Tests
nigelgbanks Mar 25, 2021
bcb91df
Bump version of plugin
nigelgbanks Mar 25, 2021
28a65eb
Include patch in download image. (#135)
nigelgbanks Apr 6, 2021
d8467eb
Add Riprap as a microsevice (#113)
nigelgbanks Apr 6, 2021
ad8dbb4
Coder (#130)
nigelgbanks Apr 6, 2021
19c5293
Upgrade composer from 2.0.4 to 2.0.12 (#137)
nigelgbanks Apr 14, 2021
3670355
Adds php7-intl (#142)
noahwsmith Apr 14, 2021
cdb1a1c
Updating sandbox commit (#140)
dannylamb Apr 14, 2021
44265d5
Remove flakey test (#138)
nigelgbanks Apr 20, 2021
d5e177d
Fix illegal instruction issue in confd (arm64 only). (#139)
nigelgbanks Apr 20, 2021
1b4f62a
Bumping sandbox commit
dannylamb May 21, 2021
b7bcc90
Enable s3 for f6 (#134)
emudojo May 31, 2021
28540c2
Required dependencies for logging for `docker exec` shell sessions in…
nigelgbanks Jun 21, 2021
404dd1d
Bumping sandbox commit
dannylamb Jun 25, 2021
f45cf27
Bumping sandbox commit
dannylamb Jun 25, 2021
c35c05a
upgrade fedora 6 to release candidate 2 (#147)
elizoller Jun 26, 2021
3a2cc0d
Updating SHA256 for fcrepo6 rc 2 (#148)
dannylamb Jun 28, 2021
209ae56
Remove GPG checks as they occasionally fail to contact the keyserver,…
nigelgbanks Jun 29, 2021
3b4ea53
correct fits-service.properties typo in confd toml. (#151)
emetsger Jul 1, 2021
384e0a4
Correcting newlines on template for allowed external content in fcrep…
dannylamb Jul 1, 2021
060e82a
Fixing erroneous config variable name and also adding the ngix user t…
dannylamb Jul 9, 2021
a0bf5a0
Updated plugin / gradle to latest (#153)
nigelgbanks Jul 9, 2021
d56790a
Allow txt/log files to be served from flysystem. (#155)
nigelgbanks Jul 20, 2021
1ce244c
Updating to fcrepo 6.0.0
dannylamb Jul 21, 2021
af75197
Bumping Alpaca to 1.0.5
dannylamb Aug 2, 2021
b3e3f46
Adding configuration for Alpaca timeouts
dannylamb Aug 4, 2021
58800d9
Bumped Crayfish to 2.0.0 release (#160)
nigelgbanks Oct 17, 2021
b42dfeb
Remove file.stream references. (#157)
ruebot Nov 22, 2021
84e7770
Automatically update DockerHub iage documentation. (#163)
nigelgbanks Nov 22, 2021
010b18c
Added smaller README (<25K) for cantaloupe so it can be used with Doc…
nigelgbanks Nov 22, 2021
fc5c56c
Fix relative path for DockerHub docs
nigelgbanks Nov 22, 2021
1345d80
Fix logging errors with cantaloupe due to find/replace bug (#165)
nigelgbanks Nov 23, 2021
26c79db
Adding max_input_vars to php.ini (#166)
dannylamb Nov 30, 2021
a4ddee3
Explain how Docker Hub factors in the workflow. (#171)
rosiel Dec 13, 2021
ed93c0a
Updated the introduction to redirect users to better starting points …
nigelgbanks Dec 14, 2021
5cea32a
[issue-172] Use explicit commits in URLs such that (#176)
nigelgbanks Dec 17, 2021
f240a68
Adding a custom delegate to Cantaloupe to pass along the Authorizatio…
dannylamb Dec 17, 2021
78e2348
Refactor how we set/restore ownership of drupal settings file to allo…
jasonhildebrand Jan 13, 2022
25edadb
Added LDAP extension to nginx/php image. (#181)
nigelgbanks Jan 25, 2022
a65eb49
If SOLR config.zip cannot be produced, show useful error message. (#182)
jasonhildebrand Feb 1, 2022
9ecefee
[issue-190] Ensure the directory is writable before copying default.s…
nigelgbanks Feb 24, 2022
5a5b8d5
Remove unnecessary reverse proxy. (#187)
nigelgbanks Mar 3, 2022
3fbc336
Timeouts (#185)
dannylamb Mar 3, 2022
915ab33
Missed a tomcat connection timeout when auditing for timeouts earlier…
dannylamb Mar 3, 2022
4d10ef5
Update default 3-store URL now that we've removed the nginx layer (#196)
dannylamb Mar 4, 2022
a8abe5d
Use lock file for installation of code-server (#198)
nigelgbanks Mar 21, 2022
92db58d
1st pass at release process and maintainers docs (#199)
Mar 23, 2022
51a6b09
Change fits default port after proxy removal; addresses #201 (#202)
nigelgbanks Mar 24, 2022
2ee80c7
Issue 168 vulnerability checks (#183)
nigelgbanks Mar 24, 2022
55ba7ee
Bump timeout to 360 as a full cross platform rebuild with tests takes…
nigelgbanks Apr 8, 2022
d717906
Roll back FITS to working version. Upgrade when https://github.com/ha…
nigelgbanks Apr 13, 2022
fae704f
Demo image to use islandora install profile (#209)
nigelgbanks Apr 13, 2022
6420ab1
Add dependency for gs back into imagemagick (#211)
nigelgbanks Apr 22, 2022
7ecc484
Issue 174 - Logging (#206)
nigelgbanks May 2, 2022
d09627d
Adding testing isle-buildkit doc (#212)
May 2, 2022
c85af8b
migrate:import no longer supports --group function (#214)
noahwsmith May 11, 2022
624cbf8
No longer use volume for Matomo install (#143)
nigelgbanks May 12, 2022
3f7133f
Update ALPACA_FCREPO_URL value to port 8080 (#222)
misilot May 18, 2022
829ba44
changed sentence structure in Karaf Readme (#223)
misilot May 18, 2022
ee6813a
Expose JMS configuration as environment variables. (#226)
nigelgbanks Jun 15, 2022
cc4b87c
Allow for the use of development certifications for inter-container c…
nigelgbanks Jun 15, 2022
9dcbac9
Nginx drupal rule for protect files and directories was missing leadi…
nigelgbanks Jun 17, 2022
b8c3502
Respect X-Forwarded headers in responses. (#229)
nigelgbanks Jun 19, 2022
e9b2f7b
Missing x-forwarded-port (#230)
nigelgbanks Jun 19, 2022
b17bcc9
Imagemagick url changed location required to be able to build now. (#…
nigelgbanks Jun 21, 2022
2778b47
Allow development certificates to be provided as secrets rather than …
nigelgbanks Jun 21, 2022
8d1b171
Upgrade FCREPO to 6.2.0 (#233)
noahwsmith Jul 4, 2022
0e2f522
All debug log levels changed to info. Less talkative log output per i…
Aug 4, 2022
f8da9c2
Upgrade to FITS 1.5.5 (#234)
Aug 4, 2022
64b84ba
Upgrade Gradle/Plugin to support running tests on M1 macs (#235)
nigelgbanks Aug 4, 2022
a2c458b
Bump vm2 in /code-server/rootfs/usr/local/share/.config/yarn/global (…
dependabot[bot] Oct 14, 2022
b92afd8
Fix for failing tests
nigelgbanks Oct 14, 2022
ba31a7d
fix fits logging (#2) (#251)
nigelgbanks Oct 14, 2022
404caed
Issue 224 Fixed - Dead code removed (#241)
Oct 19, 2022
a0df766
Testing processing just the first page of pdfs for thumbnails and ser…
dannylamb Oct 19, 2022
c76cd59
Allow arguments to be passed to Solr on startup to configure memory, …
nigelgbanks Oct 20, 2022
933fa6f
Bump minimist in /code-server/rootfs/usr/local/share/.config/yarn/glo…
dependabot[bot] Oct 20, 2022
4cb38ff
Use args for versions, and checksums (#256)
nigelgbanks Oct 21, 2022
4be2994
Configure solr when islandora_defaults is not present. (#258)
rosiel Nov 1, 2022
219677c
Solr 8.11.2 update (#244)
DonRichards Nov 3, 2022
3a458ec
Added hypercube fedora settings back in (#265)
nigelgbanks Nov 14, 2022
4b412c7
Update default fcrepo URL for Hypercube to use port 8080 (#266)
dannylamb Nov 18, 2022
b3e273a
s/8008/8080 in hypercube/Dockerfile
dannylamb Nov 22, 2022
b10c36d
Fix for build error, upstream package changed it's checksum.
nigelgbanks Jan 30, 2023
b7895fd
Issue 215 update alpine (#238)
nigelgbanks Mar 6, 2023
4a77fc8
Remove dead code & Description action for removed images.
nigelgbanks Mar 4, 2023
9d77944
Bumped update Dockerhub description action version
nigelgbanks Mar 4, 2023
f76c624
Fix for updating description action.
nigelgbanks Mar 6, 2023
2a2c931
Remove old secret and use new one.
nigelgbanks Mar 4, 2023
a999fba
Update fcrepo to latest release and fix default environment vars for …
nigelgbanks Mar 11, 2023
f3770ca
Roll back update to fcrepo6 as it causes tests to fail since it no lo…
nigelgbanks Mar 12, 2023
aa472a9
Try to make Fcrepo shutdown successfully...
nigelgbanks Mar 12, 2023
82f4f05
Need to specify a default user for dockerhub
nigelgbanks Mar 12, 2023
5625cbe
Disable persistent session in fcrepo container as it prevents shutdown
nigelgbanks Mar 14, 2023
37ae57f
Missing icons in Matomo install (#275)
jefferya Mar 14, 2023
c19dfba
Better support for bind mounts with Drupal/IDE for development enviro…
nigelgbanks Mar 29, 2023
87d367f
Updated crayfits composer.lock against vunerability, and updated docs…
nigelgbanks Apr 4, 2023
260d221
Fix predicate for checking if grype database needs updating
nigelgbanks Apr 4, 2023
3107c43
Updated code-server extensions to latest
nigelgbanks Apr 7, 2023
12849d6
Catch failures like ld-linux-aarch64.so.1: /opt/code-server/lib/node:…
nigelgbanks Apr 7, 2023
6a5a0e5
Do no use the packaged node executable as it fails to work on arm64, …
Apr 7, 2023
250da74
Fix cross platform builds of code-server, previously worked on arm64 …
Apr 7, 2023
5a9af69
Merge extenstion installation into single run command.
nigelgbanks Apr 7, 2023
83a48fd
Installing concurrently can cause issues so we do it sequentially.
nigelgbanks Apr 7, 2023
7f3f5ee
Derp worked locally cause folders, need to be files to get checked in.
nigelgbanks Apr 7, 2023
68e0658
Moved builder setup to isle-builder repository.
nigelgbanks Apr 18, 2023
e40fc0b
Fixed capitalization function
nigelgbanks Apr 19, 2023
0e10d36
Cleanup matomo environment urls to split http/https
nigelgbanks Apr 20, 2023
ff1789f
Update starter site
nigelgbanks Apr 20, 2023
eeb3a1d
Support for changes in layout for the starter site in the test image.
nigelgbanks Apr 21, 2023
3011ef1
Need to bump the number of nodes to check for to account for new coll…
nigelgbanks Apr 21, 2023
284566c
Run development-environment before confd as the file ownership needs …
nigelgbanks Apr 22, 2023
47aab87
Little speed up on restart by not runing chown again.
nigelgbanks Apr 22, 2023
6d057b0
Check the actual folder that typically gets bind mounted.
nigelgbanks Apr 22, 2023
2173ab5
Allow drupal container to access broker via REST API
nigelgbanks May 11, 2023
46206ba
Fixed race condition for changing folder permissions on startup in th…
nigelgbanks May 16, 2023
d1ce65f
Added missing gif for PHPStorm setup
nigelgbanks May 16, 2023
25cdfa0
Add Glibc for PHPStorm remote connections.
nigelgbanks May 16, 2023
fcd3004
issue-280 Fix for IP Address forwarding (#281)
nigelgbanks Jun 13, 2023
e4883dc
Update alpine/drush launcher. (#285)
nigelgbanks Aug 15, 2023
7d6c26f
Drush 12 is no longer compatiable with Drush launcher. (#286)
nigelgbanks Aug 25, 2023
740f687
upgrade to fcrepo 6.4.0 (#288)
noahwsmith Sep 18, 2023
ee0b9d7
Docs should say FCREPO 6.4.0
noahwsmith Sep 19, 2023
da26838
Drupal 10 support (#289)
joecorall Sep 21, 2023
511513e
Drupal 10 uses solr 8 (#290)
joecorall Sep 22, 2023
ce8dd66
Fixed find and replace issue.
nigelgbanks Oct 6, 2023
c9ab7e7
Fedora 5 support has been dropped in the 2.0 release, default to FEDO…
nigelgbanks Oct 6, 2023
20ce607
Added test for fcrepo6 file backend.
nigelgbanks Oct 7, 2023
8022d93
Add english OCR training data (#292)
joecorall Oct 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# EditorConfig: https://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4

# Secrets and defaults should not have a newline at their eof.
[secrets/*,defaults/*]
end_of_line = lf
insert_final_newline = false
indent_size = 0
34 changes: 34 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Provide environment variables for configuring docker-compose, *not* the
# containers themselves.
#
# Note that this is simple string assignment, quotes should *not* be used.
# Multiple lines or commands, or bash syntax will not work.
#
# References:
# - https://docs.docker.com/compose/env-file/
# - https://docs.docker.com/compose/reference/envvars/
COMPOSE_PROJECT_NAME=isle-buildkit

# Use buildkit when building images.
COMPOSE_DOCKER_CLI_BUILD=1
DOCKER_BUILDKIT=1

# Required for traefik on OSX (inconsistent behavior).
DOCKER_CLIENT_TIMEOUT=120
COMPOSE_HTTP_TIMEOUT=120

# The consistency requirements for bind mounts; one of:
#
# - consistent: Full consistency. The container runtime and the host maintain an identical view of the mount at all times.
# - cached: The host's view of the mount is authoritative. There may be delays before updates made on the host are visible within a container.
# - delegated: The container runtime's view of the mount is authoritative. There may be delays before updates made in a container are visible on the host.
#
# Note that using 'consistent' can be very slow.
CONSISTENCY=delegated

# The Docker image repository, to use for isle-buildkit images.
#
REPOSITORY=islandora

# The version of the isle-buildkit images to use.
TAG=local
58 changes: 58 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Build
on:
workflow_call:
inputs:
repository:
required: true
type: string
image:
required: true
type: string
tags:
required: true
type: string
contexts:
required: false
type: string
outputs:
digest:
description: "Digest argument for Gradle"
value: ${{ jobs.build.outputs.digest }}
context:
description: "Context to use in dependent images"
value: ${{ jobs.build.outputs.context }}
secrets:
registry_user:
required: true
registry_password:
required: true
jobs:
build:
runs-on: ubuntu-latest
outputs:
digest: ${{ steps.build.outputs.digest }}
context: ${{ steps.build.outputs.context }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
with:
driver-opts: |
image=moby/buildkit:v0.11.1
network=host
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
- id: build
name: Build and push
run: |
set -ex
make push manifest "PROGRESS=plain" "BUILDER=${{ steps.buildx.outputs.name }}" "TARGET=${{ inputs.image }}-ci" "TAGS=${{ inputs.tags }}" "CONTEXTS=${{ inputs.contexts }}"
echo "digest=-Pisle.${{ inputs.image }}.digest=${{ inputs.repository }}/${{ inputs.image }}@sha256:$(cat build/${{ inputs.image }}.digest)" >> $GITHUB_OUTPUT
echo "context=docker-image://${{ inputs.repository }}/${{ inputs.image }}@sha256:$(cat build/${{ inputs.image }}.digest)" >> $GITHUB_OUTPUT
21 changes: 21 additions & 0 deletions .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Delete old DockerHub tags
on:
schedule:
- cron: "0 13 * * 0" # Every Sunday at 1PM UTC (9AM EST)
jobs:
clean:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: |
deleteEligibleDockerHubTags
'-Pisle.dockerhub.personal.access.token=${{ secrets.registry_token }}'
--no-parallel
219 changes: 219 additions & 0 deletions .github/workflows/description.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,219 @@
name: Update Docker Hub Description
on:
push:
branches:
- main
paths:
- "**/README.md"
- "**/README.dockerhub.md"
- ".github/workflows/dockerhub-description.yml"
jobs:
description:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Fix Relative Paths
run: |
find . -maxdepth 2 -mindepth 2 -type f -name "README*.md" -exec sed -i 's/](\.\.\/\([^/]*\).*)/](.\/\1)/g' {} \;

- name: ActiveMQ - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/activemq
readme-filepath: ./activemq/README.md

- name: Alpaca - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/alpaca
readme-filepath: ./alpaca/README.md

- name: Base - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/base
readme-filepath: ./base/README.md

- name: Blazegraph - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/blazegraph
readme-filepath: ./blazegraph/README.md

- name: cantaloupe - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/cantaloupe
readme-filepath: ./cantaloupe/README.dockerhub.md

- name: Code-Server - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/code-server
readme-filepath: ./code-server/README.md

- name: Crayfish - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/crayfish
readme-filepath: ./crayfish/README.md

- name: CrayFits - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/crayfits
readme-filepath: ./crayfits/README.md

- name: Drupal - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/drupal
readme-filepath: ./drupal/README.md

- name: Fcrepo6 - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/fcrepo6
readme-filepath: ./fcrepo6/README.md

- name: Fits - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/fits
readme-filepath: ./fits/README.md

- name: Handle - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/handle
readme-filepath: ./handle/README.md

- name: Homarus - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/homarus
readme-filepath: ./homarus/README.md

- name: Houdini - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/houdini
readme-filepath: ./houdini/README.md

- name: hypercube - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/hypercube
readme-filepath: ./hypercube/README.md

- name: Java - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/java
readme-filepath: ./java/README.md

- name: MariaDB - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/mariadb
readme-filepath: ./mariadb/README.md

- name: Matomo - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/matomo
readme-filepath: ./matomo/README.md

- name: Milliner - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/milliner
readme-filepath: ./milliner/README.md

- name: Nginx - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/nginx
readme-filepath: ./nginx/README.md

- name: PostgreSQL - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/postgresql
readme-filepath: ./postgresql/README.md

- name: RipRap - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/riprap
readme-filepath: ./riprap/README.md

- name: Solr - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/solr
readme-filepath: ./solr/README.md

- name: Test - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/tomcat
readme-filepath: ./test/README.md

- name: Tomcat - Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
repository: islandora/tomcat
readme-filepath: ./tomcat/README.md
40 changes: 40 additions & 0 deletions .github/workflows/grype.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Grype
on:
workflow_call:
inputs:
image:
required: true
type: string
digest:
required: true
type: string
secrets:
registry_user:
required: true
registry_password:
required: true
jobs:
grype:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.registry_user }}
password: ${{ secrets.registry_password }}
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
cache-read-only: false
arguments: ${{ inputs.image }}:grype ${{ inputs.digest }} --info
- uses: actions/upload-artifact@v3
if: always()
with:
name: Grype Reports
path: build/**/*-grype.*
Loading