2023-02-07 17:35:01 +03:00
|
|
|
base_image: discourse/base:2.0.20220818-0047
|
2019-09-17 15:51:04 +03:00
|
|
|
templates:
|
2021-08-20 22:07:25 +03:00
|
|
|
- "includes/moz.web.template.yml"
|
2019-09-17 15:51:04 +03:00
|
|
|
- "includes/contribute.yml"
|
|
|
|
- "includes/headers.yml"
|
2019-09-20 22:26:15 +03:00
|
|
|
- "includes/after_build.yml"
|
2019-09-17 15:51:04 +03:00
|
|
|
|
2021-08-20 22:38:23 +03:00
|
|
|
env:
|
|
|
|
# CI Only
|
|
|
|
DISCOURSE_DB_NAME: 'discourse-prod'
|
|
|
|
|
2019-09-17 15:51:04 +03:00
|
|
|
expose:
|
|
|
|
- "80:80"
|
|
|
|
|
2021-08-20 22:07:25 +03:00
|
|
|
docker_args:
|
|
|
|
- "--network=gha_bridge_network"
|
|
|
|
|
2019-09-17 15:51:04 +03:00
|
|
|
params:
|
2023-05-02 15:34:39 +03:00
|
|
|
version: f73cdbbd2f20460ea6330930f97cdce59fb984be
|
2019-09-17 15:51:04 +03:00
|
|
|
|
|
|
|
hooks:
|
|
|
|
after_code:
|
|
|
|
- exec:
|
|
|
|
cd: $home/plugins
|
|
|
|
cmd:
|
|
|
|
- mkdir -p plugins
|
2023-05-02 15:23:27 +03:00
|
|
|
- git clone https://github.com/discourse/discourse-akismet; cd discourse-akismet; git checkout 6abd5d252c4435ac5a507d04113b7ff306d833b7
|
2023-02-07 17:35:01 +03:00
|
|
|
- git clone https://github.com/mozilla/discourse-mozilla-iam; cd discourse-mozilla-iam; git checkout f66123785a02a67ca10d13649cea00c772f7e40a
|
|
|
|
- git clone https://github.com/mozilla/discourse-expose-emails-in; cd discourse-expose-emails-in; git checkout e4e92b02bd150c72585eba232a27aa4bf9e7f5fb
|
|
|
|
- git clone https://github.com/mozilla/discourse-post-read-email; cd discourse-post-read-email; git checkout 0031da69216ba759cbf5cdda4ff4ad818e4a617f
|
2023-05-02 15:23:40 +03:00
|
|
|
- git clone https://github.com/discourse/discourse-solved; cd discourse-solved; git checkout 30248619e28d5f173c4dfd149d3d8ba39e3b8796
|
2023-02-07 17:35:01 +03:00
|
|
|
- git clone https://github.com/mozilla/discourse-sidekiq-monitor; cd discourse-sidekiq-monitor; git checkout 34178b637ea508d2ef103b6d48d2e0c21af155dd
|
|
|
|
- git clone https://github.com/mozilla/discourse-mozilla-letter-avatar; cd discourse-mozilla-letter-avatar; git checkout a5cc90fdafe523a21b5b54abe63d7798efe77b49
|
|
|
|
- git clone https://github.com/mozilla/discourse-auto-email-in; cd discourse-auto-email-in; git checkout ca205f63e8b8852154fddd30bf09c994070727e2
|
|
|
|
- git clone https://github.com/mozilla/discourse-group-category-notification; cd discourse-group-category-notification; git checkout 8be0c45e8a19c4c702a8a468e882d9968a967ee9
|
|
|
|
- git clone https://github.com/mozilla/discourse-mozilla-gcm; cd discourse-mozilla-gcm; git checkout 1d15d63e6dca4d33f1ea38c9eb2395034c467ef2
|
2019-09-17 15:51:04 +03:00
|
|
|
run:
|
|
|
|
- exec: echo "Beginning of custom commands"
|
|
|
|
## If you want to set the 'From' email address for your first registration, uncomment and change:
|
|
|
|
## After getting the first signup email, re-comment the line. It only needs to run once.
|
|
|
|
#- exec: rails r "SiteSetting.notification_email='discourse@discourse-prod.itsre-apps.mozit.cloud'"
|