chore(ci/cd): update gha pipeline for flux2
This commit is contained in:
Родитель
0bb38f73ea
Коммит
4ed0576674
|
@ -2,34 +2,40 @@ name: Delivery & Release (Docker Build, Tag & Push)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
release:
|
release:
|
||||||
types: [released]
|
types:
|
||||||
|
- released
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prepare:
|
prepare:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
ENV: ${{ steps.tag.outputs.env }}
|
ENV: ${{ steps.tag.outputs.ENV }}
|
||||||
TAG: ${{ steps.tag.outputs.tag }}
|
TAG: ${{ steps.tag.outputs.CI_COMMIT_SHORT_SHA }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Set Tag & Environment
|
- name: Set Tag & Environment
|
||||||
id: tag
|
id: tag
|
||||||
run: |
|
run: |-
|
||||||
export CI_COMMIT_SHORT_SHA=$(git describe --abbrev=7 --always --tags)
|
CI_COMMIT_SHORT_SHA=$(git describe --abbrev=7 --always --tags)
|
||||||
echo "::set-output name=tag::$CI_COMMIT_SHORT_SHA"
|
|
||||||
echo "Commit for this pipeline: ";
|
if [[ ${GITHUB_REF##*/} = "master" ]]; then
|
||||||
echo $CI_COMMIT_SHORT_SHA;
|
ENV=stage
|
||||||
if [ ${GITHUB_REF##*/} = "master" ]; then
|
|
||||||
export ENV=stage
|
|
||||||
else
|
|
||||||
export ENV=prod
|
|
||||||
fi
|
fi
|
||||||
echo "::set-output name=env::$ENV"
|
|
||||||
echo "Environment for this pipeline: ";
|
echo "CI_COMMIT_SHORT_SHA=${CI_COMMIT_SHORT_SHA}" >> $GITHUB_OUTPUT
|
||||||
echo $ENV
|
echo "ENV=${ENV:-prod}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
echo "Commit for this pipeline: ${CI_COMMIT_SHORT_SHA}"
|
||||||
|
echo "Environment for this pipeline: ${ENV:-prod}";
|
||||||
|
|
||||||
build-push-promote-image:
|
build-push-promote-image:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: prepare
|
needs: prepare
|
||||||
|
@ -41,13 +47,16 @@ jobs:
|
||||||
POSTGRES_PASSWORD: discourse
|
POSTGRES_PASSWORD: discourse
|
||||||
POSTGRES_PORT: 5432
|
POSTGRES_PORT: 5432
|
||||||
POSTGRES_USER: discourse
|
POSTGRES_USER: discourse
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd pg_isready
|
--health-cmd pg_isready
|
||||||
--health-interval 10s
|
--health-interval 10s
|
||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
options: >-
|
options: >-
|
||||||
|
@ -59,10 +68,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Database per CI Environment
|
- name: Setup Database per CI Environment
|
||||||
id: env_databases_setup
|
id: env_databases_setup
|
||||||
env:
|
env:
|
||||||
ENV: ${{ needs.prepare.outputs.ENV }}
|
ENV: ${{ needs.prepare.outputs.ENV }}
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
set -u
|
set -u
|
||||||
|
@ -71,6 +82,7 @@ jobs:
|
||||||
CREATE DATABASE "discourse-$ENV";
|
CREATE DATABASE "discourse-$ENV";
|
||||||
GRANT ALL PRIVILEGES ON DATABASE "discourse-$ENV" TO discourse;
|
GRANT ALL PRIVILEGES ON DATABASE "discourse-$ENV" TO discourse;
|
||||||
EOSQL
|
EOSQL
|
||||||
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@v1
|
uses: aws-actions/configure-aws-credentials@v1
|
||||||
id: configure-aws-creds
|
id: configure-aws-creds
|
||||||
|
@ -78,9 +90,11 @@ jobs:
|
||||||
aws-access-key-id: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
|
aws-access-key-id: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
|
||||||
aws-secret-access-key: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
|
aws-secret-access-key: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
|
||||||
aws-region: us-west-2
|
aws-region: us-west-2
|
||||||
|
|
||||||
- name: Login to Amazon ECR
|
- name: Login to Amazon ECR
|
||||||
id: login-ecr
|
id: login-ecr
|
||||||
uses: aws-actions/amazon-ecr-login@v1
|
uses: aws-actions/amazon-ecr-login@v1
|
||||||
|
|
||||||
- name: Build and Push Stage Image to ECR
|
- name: Build and Push Stage Image to ECR
|
||||||
id: build-push
|
id: build-push
|
||||||
env:
|
env:
|
||||||
|
@ -88,20 +102,32 @@ jobs:
|
||||||
ECR_REPOSITORY: discourse
|
ECR_REPOSITORY: discourse
|
||||||
ENV: ${{ needs.prepare.outputs.ENV }}
|
ENV: ${{ needs.prepare.outputs.ENV }}
|
||||||
TAG: ${{ needs.prepare.outputs.TAG }}
|
TAG: ${{ needs.prepare.outputs.TAG }}
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
export GHA_NETWORK=$(docker network ls --filter driver=bridge --filter name=github_network_ --format '{{.Name}}')
|
export GHA_NETWORK=$(docker network ls --filter driver=bridge --filter name=github_network_ --format '{{.Name}}')
|
||||||
git clone -q https://github.com/discourse/discourse_docker.git
|
|
||||||
cd discourse_docker
|
git clone https://github.com/discourse/discourse_docker.git && cd discourse_docker
|
||||||
mkdir -p includes && mkdir -p containers
|
mkdir -p containers includes
|
||||||
|
|
||||||
cp ../discourse-$ENV.yml containers/app.yml
|
cp ../discourse-$ENV.yml containers/app.yml
|
||||||
cp ../includes/* includes/
|
cp ../includes/* includes/
|
||||||
|
|
||||||
sed -i "s,environment,$ENV," includes/after_build.yml
|
sed -i "s,environment,$ENV," includes/after_build.yml
|
||||||
sed -i "s,gha_bridge_network,$GHA_NETWORK," containers/app.yml
|
sed -i "s,gha_bridge_network,$GHA_NETWORK," containers/app.yml
|
||||||
|
|
||||||
./launcher bootstrap app
|
./launcher bootstrap app
|
||||||
|
|
||||||
|
TIMESTAMP=$(date '+%F.%H%M%S')
|
||||||
|
|
||||||
|
docker tag local_discourse/app:latest ${ECR_REGISTRY}/${ECR_REPOSITORY}:${ENV}-${TIMESTAMP}
|
||||||
|
docker push ${ECR_REGISTRY}/${ECR_REPOSITORY}:${ENV}-${TIMESTAMP}
|
||||||
|
|
||||||
docker tag local_discourse/app:latest $ECR_REGISTRY/$ECR_REPOSITORY:$ENV-$TAG
|
docker tag local_discourse/app:latest $ECR_REGISTRY/$ECR_REPOSITORY:$ENV-$TAG
|
||||||
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$ENV-$TAG
|
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$ENV-$TAG
|
||||||
|
|
||||||
docker tag $ECR_REGISTRY/$ECR_REPOSITORY:$ENV-$TAG $ECR_REGISTRY/$ECR_REPOSITORY:$ENV-$GITHUB_SHA
|
docker tag $ECR_REGISTRY/$ECR_REPOSITORY:$ENV-$TAG $ECR_REGISTRY/$ECR_REPOSITORY:$ENV-$GITHUB_SHA
|
||||||
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$ENV-$GITHUB_SHA
|
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$ENV-$GITHUB_SHA
|
||||||
|
|
||||||
- name: Logut of Amazon ECR
|
- name: Logut of Amazon ECR
|
||||||
if: always()
|
if: always()
|
||||||
run: docker logout ${{ steps.login-ecr.outputs.registry }}
|
run: docker logout ${{ steps.login-ecr.outputs.registry }}
|
||||||
|
|
|
@ -5,7 +5,6 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- '**'
|
- '**'
|
||||||
- '!master'
|
- '!master'
|
||||||
pull_request_target: {}
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-bootstrap-image:
|
build-bootstrap-image:
|
||||||
|
@ -18,13 +17,16 @@ jobs:
|
||||||
POSTGRES_PASSWORD: discourse
|
POSTGRES_PASSWORD: discourse
|
||||||
POSTGRES_PORT: 5432
|
POSTGRES_PORT: 5432
|
||||||
POSTGRES_USER: discourse
|
POSTGRES_USER: discourse
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd pg_isready
|
--health-cmd pg_isready
|
||||||
--health-interval 10s
|
--health-interval 10s
|
||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
options: >-
|
options: >-
|
||||||
|
@ -35,11 +37,15 @@ jobs:
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
env: ['dev', 'stage', 'prod']
|
env:
|
||||||
|
- dev
|
||||||
|
- stage
|
||||||
|
- prod
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Database per CI Environment
|
- name: Setup Database per CI Environment
|
||||||
id: env_databases_setup
|
id: env_databases_setup
|
||||||
run: |
|
run: |
|
||||||
|
@ -50,15 +56,19 @@ jobs:
|
||||||
CREATE DATABASE "discourse-${{ matrix.env }}";
|
CREATE DATABASE "discourse-${{ matrix.env }}";
|
||||||
GRANT ALL PRIVILEGES ON DATABASE "discourse-${{ matrix.env }}" TO discourse;
|
GRANT ALL PRIVILEGES ON DATABASE "discourse-${{ matrix.env }}" TO discourse;
|
||||||
EOSQL
|
EOSQL
|
||||||
|
|
||||||
- name: Pre-build Image
|
- name: Pre-build Image
|
||||||
id: prebuild
|
id: prebuild
|
||||||
run: |
|
run: |
|
||||||
export GHA_NETWORK=$(docker network ls --filter driver=bridge --filter name=github_network_ --format '{{.Name}}')
|
export GHA_NETWORK=$(docker network ls --filter driver=bridge --filter name=github_network_ --format '{{.Name}}')
|
||||||
git clone -q https://github.com/discourse/discourse_docker.git
|
|
||||||
cd discourse_docker
|
git clone https://github.com/discourse/discourse_docker.git && cd discourse_docker
|
||||||
mkdir -p includes && mkdir -p containers
|
mkdir -p containers includes
|
||||||
|
|
||||||
cp ../discourse-${{ matrix.env }}.yml containers/app.yml
|
cp ../discourse-${{ matrix.env }}.yml containers/app.yml
|
||||||
cp ../includes/* includes/
|
cp ../includes/* includes/
|
||||||
|
|
||||||
sed -i "s,environment,${{ matrix.env }}," includes/after_build.yml
|
sed -i "s,environment,${{ matrix.env }}," includes/after_build.yml
|
||||||
sed -i "s,gha_bridge_network,$GHA_NETWORK," containers/app.yml
|
sed -i "s,gha_bridge_network,$GHA_NETWORK," containers/app.yml
|
||||||
|
|
||||||
./launcher bootstrap app
|
./launcher bootstrap app
|
||||||
|
|
|
@ -12,22 +12,24 @@ jobs:
|
||||||
prepare:
|
prepare:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
ENV: ${{ steps.tag.outputs.env }}
|
ENV: ${{ steps.tag.outputs.ENV }}
|
||||||
TAG: ${{ steps.tag.outputs.tag }}
|
TAG: ${{ steps.tag.outputs.CI_COMMIT_SHORT_SHA }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Set Tag
|
- name: Set Tag
|
||||||
id: tag
|
id: tag
|
||||||
run: |
|
run: |-
|
||||||
export CI_COMMIT_SHORT_SHA=$(git describe --abbrev=7 --always --tags)
|
CI_COMMIT_SHORT_SHA=$(git describe --abbrev=7 --always --tags)
|
||||||
echo "::set-output name=tag::$CI_COMMIT_SHORT_SHA"
|
ENV=${{ github.event.inputs.environment }}
|
||||||
echo "Commit for this pipeline: ";
|
|
||||||
echo $CI_COMMIT_SHORT_SHA;
|
echo "CI_COMMIT_SHORT_SHA=${CI_COMMIT_SHORT_SHA}" >> ${GITHUB_OUTPUT}
|
||||||
export ENV=${{ github.event.inputs.environment }}
|
echo "ENV=${ENV}" >> ${GITHUB_OUTPUT}
|
||||||
echo "::set-output name=env::$ENV"
|
|
||||||
echo "Environment for this pipeline: ";
|
echo "Commit for this pipeline: ${CI_COMMIT_SHORT_SHA}"
|
||||||
echo $ENV
|
echo "Environment for this pipeline: ${ENV}"
|
||||||
|
|
||||||
build-push-image:
|
build-push-image:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: prepare
|
needs: prepare
|
||||||
|
@ -39,13 +41,16 @@ jobs:
|
||||||
POSTGRES_PASSWORD: discourse
|
POSTGRES_PASSWORD: discourse
|
||||||
POSTGRES_PORT: 5432
|
POSTGRES_PORT: 5432
|
||||||
POSTGRES_USER: discourse
|
POSTGRES_USER: discourse
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- 5432:5432
|
- 5432:5432
|
||||||
|
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd pg_isready
|
--health-cmd pg_isready
|
||||||
--health-interval 10s
|
--health-interval 10s
|
||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis
|
image: redis
|
||||||
options: >-
|
options: >-
|
||||||
|
@ -57,10 +62,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Database per CI Environment
|
- name: Setup Database per CI Environment
|
||||||
id: env_databases_setup
|
id: env_databases_setup
|
||||||
env:
|
env:
|
||||||
ENV: ${{ needs.prepare.outputs.ENV }}
|
ENV: ${{ needs.prepare.outputs.ENV }}
|
||||||
|
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
set -u
|
set -u
|
||||||
|
@ -69,6 +76,7 @@ jobs:
|
||||||
CREATE DATABASE "discourse-$ENV";
|
CREATE DATABASE "discourse-$ENV";
|
||||||
GRANT ALL PRIVILEGES ON DATABASE "discourse-$ENV" TO discourse;
|
GRANT ALL PRIVILEGES ON DATABASE "discourse-$ENV" TO discourse;
|
||||||
EOSQL
|
EOSQL
|
||||||
|
|
||||||
- name: Configure AWS Credentials
|
- name: Configure AWS Credentials
|
||||||
uses: aws-actions/configure-aws-credentials@v1
|
uses: aws-actions/configure-aws-credentials@v1
|
||||||
id: configure-aws-creds
|
id: configure-aws-creds
|
||||||
|
@ -76,9 +84,11 @@ jobs:
|
||||||
aws-access-key-id: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
|
aws-access-key-id: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }}
|
||||||
aws-secret-access-key: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
|
aws-secret-access-key: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }}
|
||||||
aws-region: us-west-2
|
aws-region: us-west-2
|
||||||
|
|
||||||
- name: Login to Amazon ECR
|
- name: Login to Amazon ECR
|
||||||
id: login-ecr
|
id: login-ecr
|
||||||
uses: aws-actions/amazon-ecr-login@v1
|
uses: aws-actions/amazon-ecr-login@v1
|
||||||
|
|
||||||
- name: Build and Push Stage Image to ECR
|
- name: Build and Push Stage Image to ECR
|
||||||
id: build-push
|
id: build-push
|
||||||
env:
|
env:
|
||||||
|
@ -88,16 +98,26 @@ jobs:
|
||||||
TAG: ${{ needs.prepare.outputs.TAG }}
|
TAG: ${{ needs.prepare.outputs.TAG }}
|
||||||
run: |
|
run: |
|
||||||
export GHA_NETWORK=$(docker network ls --filter driver=bridge --filter name=github_network_ --format '{{.Name}}')
|
export GHA_NETWORK=$(docker network ls --filter driver=bridge --filter name=github_network_ --format '{{.Name}}')
|
||||||
git clone -q https://github.com/discourse/discourse_docker.git
|
|
||||||
cd discourse_docker
|
git clone https://github.com/discourse/discourse_docker.git && cd discourse_docker
|
||||||
mkdir -p includes && mkdir -p containers
|
mkdir -p containers includes
|
||||||
|
|
||||||
cp ../discourse-$ENV.yml containers/app.yml
|
cp ../discourse-$ENV.yml containers/app.yml
|
||||||
cp ../includes/* includes/
|
cp ../includes/* includes/
|
||||||
|
|
||||||
sed -i "s,environment,$ENV," includes/after_build.yml
|
sed -i "s,environment,$ENV," includes/after_build.yml
|
||||||
sed -i "s,gha_bridge_network,$GHA_NETWORK," containers/app.yml
|
sed -i "s,gha_bridge_network,$GHA_NETWORK," containers/app.yml
|
||||||
|
|
||||||
./launcher bootstrap app
|
./launcher bootstrap app
|
||||||
|
|
||||||
|
TIMESTAMP=$(date '+%F.%H%M%S')
|
||||||
|
|
||||||
|
docker tag local_discourse/app:latest ${ECR_REGISTRY}/${ECR_REPOSITORY}:${ENV}-${TIMESTAMP}
|
||||||
|
docker push ${ECR_REGISTRY}/${ECR_REPOSITORY}:${ENV}-${TIMESTAMP}
|
||||||
|
|
||||||
docker tag local_discourse/app:latest $ECR_REGISTRY/$ECR_REPOSITORY:$ENV-$TAG
|
docker tag local_discourse/app:latest $ECR_REGISTRY/$ECR_REPOSITORY:$ENV-$TAG
|
||||||
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$ENV-$TAG
|
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$ENV-$TAG
|
||||||
|
|
||||||
- name: Logut of Amazon ECR
|
- name: Logut of Amazon ECR
|
||||||
if: always()
|
if: always()
|
||||||
run: docker logout ${{ steps.login-ecr.outputs.registry }}
|
run: docker logout ${{ steps.login-ecr.outputs.registry }}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
base_image: discourse/base:2.0.20220818-0047
|
||||||
templates:
|
templates:
|
||||||
- "includes/moz.web.template.yml"
|
- "includes/moz.web.template.yml"
|
||||||
- "includes/contribute.yml"
|
- "includes/contribute.yml"
|
||||||
|
@ -23,16 +24,16 @@ hooks:
|
||||||
cd: $home/plugins
|
cd: $home/plugins
|
||||||
cmd:
|
cmd:
|
||||||
- mkdir -p plugins
|
- mkdir -p plugins
|
||||||
- git clone https://github.com/discourse/discourse-akismet.git
|
- git clone https://github.com/discourse/discourse-akismet; cd discourse-akismet; git checkout 6abd5d252c4435ac5a507d04113b7ff306d833b7
|
||||||
- git clone https://github.com/mozilla/discourse-mozilla-iam.git -b development
|
- 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.git -b development
|
- 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.git -b development
|
- git clone https://github.com/mozilla/discourse-post-read-email; cd discourse-post-read-email; git checkout 0031da69216ba759cbf5cdda4ff4ad818e4a617f
|
||||||
- git clone https://github.com/discourse/discourse-solved.git
|
- git clone https://github.com/discourse/discourse-solved; cd discourse-solved; git checkout 30248619e28d5f173c4dfd149d3d8ba39e3b8796
|
||||||
- git clone https://github.com/mozilla/discourse-sidekiq-monitor.git
|
- 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.git
|
- 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 -b development
|
- 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.git -b development
|
- 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 -b development
|
- git clone https://github.com/mozilla/discourse-mozilla-gcm; cd discourse-mozilla-gcm; git checkout 1d15d63e6dca4d33f1ea38c9eb2395034c467ef2
|
||||||
run:
|
run:
|
||||||
- exec: echo "Beginning of custom commands"
|
- exec: echo "Beginning of custom commands"
|
||||||
## If you want to set the 'From' email address for your first registration, uncomment and change:
|
## If you want to set the 'From' email address for your first registration, uncomment and change:
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
base_image: discourse/base:2.0.20220818-0047
|
||||||
templates:
|
templates:
|
||||||
- "includes/moz.web.template.yml"
|
- "includes/moz.web.template.yml"
|
||||||
- "includes/contribute.yml"
|
- "includes/contribute.yml"
|
||||||
|
@ -23,16 +24,16 @@ hooks:
|
||||||
cd: $home/plugins
|
cd: $home/plugins
|
||||||
cmd:
|
cmd:
|
||||||
- mkdir -p plugins
|
- mkdir -p plugins
|
||||||
- git clone https://github.com/discourse/discourse-akismet.git # 11ef295b5c65684f00ccf55cb4bef5656cd0ba9b
|
- git clone https://github.com/discourse/discourse-akismet; cd discourse-akismet; git checkout 11ef295b5c65684f00ccf55cb4bef5656cd0ba9b
|
||||||
- git clone https://github.com/mozilla/discourse-mozilla-iam.git # f66123785a02a67ca10d13649cea00c772f7e40a
|
- 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.git # e4e92b02bd150c72585eba232a27aa4bf9e7f5fb
|
- 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.git # 0031da69216ba759cbf5cdda4ff4ad818e4a617f
|
- git clone https://github.com/mozilla/discourse-post-read-email; cd discourse-post-read-email; git checkout 0031da69216ba759cbf5cdda4ff4ad818e4a617f
|
||||||
- git clone https://github.com/discourse/discourse-solved.git # 02981fe1d9463cee4d8f64228a74da21fc38d90b
|
- git clone https://github.com/discourse/discourse-solved; cd discourse-solved; git checkout 02981fe1d9463cee4d8f64228a74da21fc38d90b
|
||||||
- git clone https://github.com/mozilla/discourse-sidekiq-monitor.git # 34178b637ea508d2ef103b6d48d2e0c21af155dd
|
- 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.git # a5cc90fdafe523a21b5b54abe63d7798efe77b49
|
- 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 # ca205f63e8b8852154fddd30bf09c994070727e2
|
- 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.git # 8be0c45e8a19c4c702a8a468e882d9968a967ee9
|
- 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 # 1d15d63e6dca4d33f1ea38c9eb2395034c467ef2
|
- git clone https://github.com/mozilla/discourse-mozilla-gcm; cd discourse-mozilla-gcm; git checkout 1d15d63e6dca4d33f1ea38c9eb2395034c467ef2
|
||||||
run:
|
run:
|
||||||
- exec: echo "Beginning of custom commands"
|
- exec: echo "Beginning of custom commands"
|
||||||
## If you want to set the 'From' email address for your first registration, uncomment and change:
|
## If you want to set the 'From' email address for your first registration, uncomment and change:
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
base_image: discourse/base:2.0.20220818-0047
|
||||||
templates:
|
templates:
|
||||||
- "includes/moz.web.template.yml"
|
- "includes/moz.web.template.yml"
|
||||||
- "includes/contribute.yml"
|
- "includes/contribute.yml"
|
||||||
|
@ -23,16 +24,16 @@ hooks:
|
||||||
cd: $home/plugins
|
cd: $home/plugins
|
||||||
cmd:
|
cmd:
|
||||||
- mkdir -p plugins
|
- mkdir -p plugins
|
||||||
- git clone https://github.com/discourse/discourse-akismet.git
|
- git clone https://github.com/discourse/discourse-akismet; cd discourse-akismet; git checkout 6abd5d252c4435ac5a507d04113b7ff306d833b7
|
||||||
- git clone https://github.com/mozilla/discourse-mozilla-iam.git -b development
|
- 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.git -b development
|
- 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.git -b development
|
- git clone https://github.com/mozilla/discourse-post-read-email; cd discourse-post-read-email; git checkout 0031da69216ba759cbf5cdda4ff4ad818e4a617f
|
||||||
- git clone https://github.com/discourse/discourse-solved.git
|
- git clone https://github.com/discourse/discourse-solved; cd discourse-solved; git checkout 30248619e28d5f173c4dfd149d3d8ba39e3b8796
|
||||||
- git clone https://github.com/mozilla/discourse-sidekiq-monitor.git
|
- 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.git
|
- 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 -b development
|
- 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.git -b development
|
- 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 -b development
|
- git clone https://github.com/mozilla/discourse-mozilla-gcm; cd discourse-mozilla-gcm; git checkout 1d15d63e6dca4d33f1ea38c9eb2395034c467ef2
|
||||||
run:
|
run:
|
||||||
- exec: echo "Beginning of custom commands"
|
- exec: echo "Beginning of custom commands"
|
||||||
## If you want to set the 'From' email address for your first registration, uncomment and change:
|
## If you want to set the 'From' email address for your first registration, uncomment and change:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче