Skip to content

Commit c8379a1

Browse files
authored
Merge pull request #14 from presslabs/bump-wordpress-5.3
Bump wordpress version and add v5.4
2 parents 520ce14 + c85492c commit c8379a1

File tree

5 files changed

+73
-3
lines changed

5 files changed

+73
-3
lines changed

.drone.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,66 @@ services:
221221
volumes:
222222
- name: dockersock
223223
temp: {}
224+
225+
---
226+
kind: pipeline
227+
name: wordpress-runtime-5.4
228+
229+
depends_on:
230+
- php-runtime-7.3
231+
232+
steps:
233+
- &step
234+
name: setup docker
235+
pull: always
236+
image: quay.io/presslabs/bfc
237+
environment: &baseEnv
238+
TAG_SUFFIX: ${DRONE_BRANCH/master/}
239+
TEST_HOSTNAME: docker
240+
commands:
241+
- dockerize -wait unix:///var/run/docker.sock -timeout 10s
242+
- docker info
243+
- make -C wordpress pull-$DRONE_STAGE_NAME
244+
volumes:
245+
- name: dockersock
246+
path: /var/run
247+
248+
- <<: *step
249+
name: build image
250+
pull: default
251+
commands:
252+
- make -C wordpress $DRONE_STAGE_NAME
253+
254+
- <<: *step
255+
name: test image
256+
pull: default
257+
commands:
258+
- make -C wordpress test-$DRONE_STAGE_NAME
259+
260+
- <<: *step
261+
name: publish
262+
pull: default
263+
environment:
264+
<<: *baseEnv
265+
DOCKER_USER: "presslabs+drone"
266+
DOCKER_PASSWORD:
267+
from_secret: QUAY_TOKEN
268+
commands:
269+
- docker login -u="$DOCKER_USER" -p="$DOCKER_PASSWORD" quay.io
270+
- make -C wordpress push-$DRONE_STAGE_NAME
271+
272+
services:
273+
- name: docker
274+
image: docker:dind
275+
privileged: true
276+
volumes:
277+
- name: dockersock
278+
path: /var/run
279+
280+
volumes:
281+
- name: dockersock
282+
temp: {}
283+
224284
---
225285
kind: pipeline
226286
name: wordpress-runtime-5.2

wordpress/Dockerfile-5.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG BASE_IMAGE=quay.io/presslabs/wordpress-runtime:bedrock-php-7.2
22
FROM ${BASE_IMAGE} as bedrock
3-
ENV WORDPRESS_VERSION=5.1.4
3+
ENV WORDPRESS_VERSION=5.1.5
44
ENV WP_CONTENT_DIR=${DOCUMENT_ROOT}/wp-content
55
ENV STACK_MEDIA_PATH=/wp-content/uploads
66
RUN set -ex \

wordpress/Dockerfile-5.2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG BASE_IMAGE=quay.io/presslabs/wordpress-runtime:bedrock-php-7.3
22
FROM ${BASE_IMAGE} as bedrock
3-
ENV WORDPRESS_VERSION=5.2.5
3+
ENV WORDPRESS_VERSION=5.2.6
44
ENV WP_CONTENT_DIR=${DOCUMENT_ROOT}/wp-content
55
ENV STACK_MEDIA_PATH=/wp-content/uploads
66
RUN set -ex \

wordpress/Dockerfile-5.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG BASE_IMAGE=quay.io/presslabs/wordpress-runtime:bedrock-php-7.3
22
FROM ${BASE_IMAGE} as bedrock
3-
ENV WORDPRESS_VERSION=5.3.2
3+
ENV WORDPRESS_VERSION=5.3.3
44
ENV WP_CONTENT_DIR=${DOCUMENT_ROOT}/wp-content
55
ENV STACK_MEDIA_PATH=/wp-content/uploads
66
RUN set -ex \

wordpress/Dockerfile-5.4

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
ARG BASE_IMAGE=quay.io/presslabs/wordpress-runtime:bedrock-php-7.3
2+
FROM ${BASE_IMAGE} as bedrock
3+
ENV WORDPRESS_VERSION=5.4.1
4+
ENV WP_CONTENT_DIR=${DOCUMENT_ROOT}/wp-content
5+
ENV STACK_MEDIA_PATH=/wp-content/uploads
6+
RUN set -ex \
7+
&& wp core download --path=web/wp --version=${WORDPRESS_VERSION} \
8+
&& cp /usr/local/docker/webroot/* /app/web/
9+
ONBUILD COPY --chown=www-data:www-data config /app/config
10+
ONBUILD COPY --chown=www-data:www-data wp-content /app/web/wp-content

0 commit comments

Comments
 (0)