Skip to content

Commit a4509a7

Browse files
committed
Update to dockworker builds
1 parent 825da54 commit a4509a7

File tree

2,465 files changed

+295286
-162
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,465 files changed

+295286
-162
lines changed

.dockworker/dockworker.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
dockworker:
2+
version: '6'
3+
application:
4+
description: A lightweight extensible drupal-solr docker image, suitable for development or production deployments.
5+
uri: https://github.com/unb-libraries/docker-drupal-solr
6+
identifiers:
7+
id: docker-drupal-solr
8+
slug: docker-drupal-solr
9+
short_slug: drupalsolr
10+
uuid: 6004
11+
topics:
12+
- nginx
13+
- solr
14+
- drupal
15+
workflows:
16+
image:
17+
name: ghcr.io/unb-libraries/drupal-solr
18+
vcs:
19+
type: github
20+
owner: unb-libraries
21+
name: docker-drupal-solr

.github/workflows/build-image.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Build ghcr.io/unb-libraries/drupal
2+
3+
on:
4+
pull_request:
5+
push:
6+
workflow_dispatch:
7+
8+
jobs:
9+
deploy:
10+
uses: unb-libraries/dockworker-baseimage/.github/workflows/build-base-image.yaml@6.x
11+
with:
12+
image-name: ghcr.io/unb-libraries/solr-drupal
13+
protected-tags: '8.x*,7.x*'
14+
secrets:
15+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
16+
GH_CONTAINER_REGISTRY_TOKEN: ${{ secrets.GH_CONTAINER_REGISTRY_TOKEN }}
17+
GH_CONTAINER_REGISTRY_USER: ${{ secrets.GH_CONTAINER_REGISTRY_USER }}

.github/workflows/test-suite.yaml

Lines changed: 0 additions & 155 deletions
This file was deleted.

Dockerfile

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
FROM solr:8.11
2-
MAINTAINER UNB Libraries <libsupport@unb.ca>
32

43
ARG BUILD_DATE
54
ARG VCS_REF
65
ARG VERSION
6+
7+
ADD data /solr-conf
8+
VOLUME /opt/solr/server/solr/mycores/
9+
COPY scripts /opt/docker-solr/scripts
10+
11+
CMD ["solr-precreate", "drupal", "/solr-conf"]
12+
713
LABEL ca.unb.lib.generator="solr" \
814
com.microscaling.docker.dockerfile="/Dockerfile" \
915
com.microscaling.license="MIT" \
@@ -15,10 +21,5 @@ LABEL ca.unb.lib.generator="solr" \
1521
org.label-schema.vcs-url="https://github.com/unb-libraries/docker-solr-drupal" \
1622
org.label-schema.vendor="University of New Brunswick Libraries" \
1723
org.label-schema.version=$VERSION \
24+
org.opencontainers.image.authors="UNB Libraries <libsupport@unb.ca>" \
1825
org.opencontainers.image.source="https://github.com/unb-libraries/docker-solr-drupal"
19-
20-
ADD data /solr-conf
21-
VOLUME /opt/solr/server/solr/mycores/
22-
COPY scripts /opt/docker-solr/scripts
23-
24-
CMD ["solr-precreate", "drupal", "/solr-conf"]

composer.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"config": {
3+
"allow-plugins": {
4+
"php-http/discovery": true
5+
}
6+
},
7+
"description": "Builds the base ghcr.io/unb-libraries/solr-drupal image.",
8+
"license": "MIT",
9+
"minimum-stability": "dev",
10+
"name": "unb-libraries/docker-solr-drupal",
11+
"prefer-stable": true,
12+
"require-dev": {
13+
"unb-libraries/dockworker-baseimage": "6.x-dev"
14+
},
15+
"scripts": {
16+
"post-update-cmd": [
17+
"vendor/bin/dockworker git:setup-hooks"
18+
]
19+
}
20+
}

0 commit comments

Comments
 (0)