Commit 7adc5c2d authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Add cache warmup after master deploy

parent fe375970
Pipeline #8912 failed
......@@ -7,13 +7,21 @@ variables:
GIT_STRATEGY: "none"
GIT_SSL_NO_VERIFY: "true"
STAGE_HOST: "typo3.dev"
PRODUCTION_HOST: "t3o03.typo3server.ch"
PRODUCTION_HOST: "typo3.org"
DUMP_USER: "t3o-stage"
STAGE_USER: "t3o-stage"
DUMP_EXCLUDE_TABLES_LIST: "be_groups,be_sessions,be_users,cf_cache_hash,cf_cache_hash_tags,cf_cache_imagesizes,cf_cache_imagesizes_tags,cf_cache_news_category,cf_cache_news_category_tags,cf_cache_pages,cf_cache_pages_tags,cf_cache_pagesection,cf_cache_pagesection_tags,cf_cache_rootline,cf_cache_rootline_tags,cf_extbase_datamapfactory_datamap,cf_extbase_datamapfactory_datamap_tags,cf_extbase_object,cf_extbase_object_tags,cf_extbase_reflection,cf_extbase_reflection_tags,cf_tx_solr,cf_tx_solr_configuration,cf_tx_solr_configuration_tags,cf_tx_solr_tags,fe_groups,fe_sessions,fe_users,sys_domain,sys_log,tx_solr_cache,tx_solr_cache_tags"
PHP_EXECUTABLE: "/opt/php/php72/bin/php"
ADDITIONAL_TABLE_EXCLUDES: "-e 'tx_certifications_*' -e 'tx_t3odonation_domain_model_donation' -e 'tx_t3omembership_domain_model_member' -e 'tx_randombanners_domain_model_banner'"
stages:
- maintenance
- test
- build
- layout
- deploy
- warmup
.deploy-template: &deploy_template
stage: deploy
image: composer:1
......@@ -50,3 +58,12 @@ deploy-develop:
url: https://${STAGE_HOST}
only:
- develop
warmup:cache:
image:
name: quentinsf/sitediff:alpine
entrypoint: ["/bin/sh", "-c"]
script:
- sitediff init https://${PRODUCTION_HOST}
dependencies:
- deploy-master
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment