File tree Expand file tree Collapse file tree 5 files changed +73
-3
lines changed
Expand file tree Collapse file tree 5 files changed +73
-3
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,66 @@ services:
221221volumes :
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---
225285kind : pipeline
226286name : wordpress-runtime-5.2
Original file line number Diff line number Diff line change 11ARG BASE_IMAGE=quay.io/presslabs/wordpress-runtime:bedrock-php-7.2
22FROM ${BASE_IMAGE} as bedrock
3- ENV WORDPRESS_VERSION=5.1.4
3+ ENV WORDPRESS_VERSION=5.1.5
44ENV WP_CONTENT_DIR=${DOCUMENT_ROOT}/wp-content
55ENV STACK_MEDIA_PATH=/wp-content/uploads
66RUN set -ex \
Original file line number Diff line number Diff line change 11ARG BASE_IMAGE=quay.io/presslabs/wordpress-runtime:bedrock-php-7.3
22FROM ${BASE_IMAGE} as bedrock
3- ENV WORDPRESS_VERSION=5.2.5
3+ ENV WORDPRESS_VERSION=5.2.6
44ENV WP_CONTENT_DIR=${DOCUMENT_ROOT}/wp-content
55ENV STACK_MEDIA_PATH=/wp-content/uploads
66RUN set -ex \
Original file line number Diff line number Diff line change 11ARG BASE_IMAGE=quay.io/presslabs/wordpress-runtime:bedrock-php-7.3
22FROM ${BASE_IMAGE} as bedrock
3- ENV WORDPRESS_VERSION=5.3.2
3+ ENV WORDPRESS_VERSION=5.3.3
44ENV WP_CONTENT_DIR=${DOCUMENT_ROOT}/wp-content
55ENV STACK_MEDIA_PATH=/wp-content/uploads
66RUN set -ex \
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments