-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pivotal ID # 187690245: Simplify Deployment Task #841
Changes from 8 commits
e1c2bca
668330e
246e709
47c52ae
d1b113b
f35aa6a
54a857a
1c11ad2
ed75dd1
7386b3c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
auto-deploy-dev: | ||
extends: .deploy-dev | ||
stage: auto-deploy-dev | ||
only: | ||
refs: | ||
- master | ||
|
||
deploy-dev: | ||
extends: .deploy-dev | ||
stage: deploy-dev | ||
when: manual | ||
|
||
.deploy-dev: | ||
dependencies: | ||
- build-test | ||
script: | ||
- gradle deployBioCommandLine -Penv=dev -PdeployPath=$APPS_PATH/cli/dev | ||
- gradle updateExporterArtifact -Penv=codon -PdeployPath=$CODON_APPS_PATH/scheduler/dev/apps | ||
- gradle updatePmcArtifact -Penv=codon -PdeployPath=$CODON_APPS_PATH/scheduler/dev/apps | ||
- gradle deployScheduler -Penv=dev -PdeployPath=$APPS_PATH/scheduler/dev | ||
- gradle updateStatsReporterArtifact -Penv=codon -PdeployPath=$CODON_APPS_PATH/scheduler/dev/apps | ||
- gradle deployHandlers -Penv=dev -PdeployPath=$APPS_PATH/handlers/dev | ||
- gradle updateMigratorArtifact -Penv=codon -PdeployPath=$CODON_APPS_PATH/scheduler/dev/apps | ||
- gradle updateReleaserArtifact -Penv=codon -PdeployPath=$CODON_APPS_PATH/scheduler/dev/apps | ||
- gradle updateSubmissionTaskArtifact -Penv=dev -PdeployPath=$APPS_PATH/submitter/dev | ||
- gradle deploySubmitter -Penv=dev -PdeployPath=$APPS_PATH/submitter/dev | ||
|
||
auto-deploy-beta: | ||
extends: .deploy-beta | ||
stage: auto-deploy-beta | ||
only: | ||
refs: | ||
- beta | ||
|
||
deploy-beta: | ||
extends: .deploy-beta | ||
stage: deploy-beta | ||
when: manual | ||
|
||
.deploy-beta: | ||
dependencies: | ||
- build-test | ||
script: | ||
- gradle deployBioCommandLine -Penv=beta -PdeployPath=$APPS_PATH/cli/beta | ||
- gradle updateExporterArtifact -Penv=codon -PdeployPath=$CODON_APPS_PATH/scheduler/beta/apps | ||
- gradle updatePmcArtifact -Penv=codon -PdeployPath=$CODON_APPS_PATH/scheduler/beta/apps | ||
- gradle deployScheduler -Penv=beta -PdeployPath=$APPS_PATH/scheduler/beta | ||
- gradle updateStatsReporterArtifact -Penv=codon -PdeployPath=$CODON_APPS_PATH/scheduler/beta/apps | ||
- gradle deployHandlers -Penv=beta -PdeployPath=$APPS_PATH/handlers/beta | ||
- gradle updateMigratorArtifact -Penv=codon -PdeployPath=$CODON_APPS_PATH/scheduler/beta/apps | ||
- gradle updateReleaserArtifact -Penv=codon -PdeployPath=$CODON_APPS_PATH/scheduler/beta/apps | ||
- gradle updateSubmissionTaskArtifact -Penv=beta -PdeployPath=$APPS_PATH/submitter/beta | ||
- gradle deploySubmitter -Penv=beta -PdeployPath=$APPS_PATH/submitter/beta -PjvmParams=-Xmx12g | ||
|
||
|
||
auto-deploy-prod: | ||
extends: .deploy-prod | ||
stage: auto-deploy-prod | ||
only: | ||
refs: | ||
- prod | ||
|
||
deploy-prod: | ||
extends: .deploy-prod | ||
stage: deploy-prod | ||
when: manual | ||
|
||
.deploy-prod: | ||
dependencies: | ||
- build-test | ||
script: | ||
- gradle deployBioCommandLine -Penv=prod -PdeployPath=$APPS_PATH/cli/prod | ||
- gradle updateExporterArtifact -Penv=codon -PdeployPath=$CODON_APPS_PATH/scheduler/prod/apps | ||
- gradle updatePmcArtifact -Penv=codon -PdeployPath=$CODON_APPS_PATH/scheduler/prod/apps | ||
- gradle deployScheduler -Penv=prod -PdeployPath=$APPS_PATH/scheduler/prod | ||
- gradle updateStatsReporterArtifact -Penv=codon -PdeployPath=$CODON_APPS_PATH/scheduler/prod/apps | ||
- gradle deployHandlers -Penv=prod -PdeployPath=$APPS_PATH/handlers/prod | ||
- gradle updateMigratorArtifact -Penv=codon -PdeployPath=$CODON_APPS_PATH/scheduler/prod/apps | ||
- gradle updateReleaserArtifact -Penv=codon -PdeployPath=$CODON_APPS_PATH/scheduler/prod/apps | ||
- gradle updateSubmissionTaskArtifact -Penv=prod -PdeployPath=$APPS_PATH/submitter/prod | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just realized we were missing the task deployment for the sandbox environment. We should add it here |
||
- gradle deployMigratorSubmitter -Penv=prod -PdeployPath=$APPS_PATH/submitter/migrator -PjvmParams=-Xmx8g | ||
- gradle deploySubmitter -Penv=prod -PdeployPath=$APPS_PATH/submitter/prod -PjvmParams=-Xmx16g | ||
- gradle deploySubmitter -Penv=sandbox -PdeployPath=$APPS_PATH/submitter/sandbox -PjvmParams=-Xmx16g |
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing sandbox deployment