Skip to content
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

1446: Promote all #1504

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,15 @@ jobs:
name: '[FL] Play Store Promotion'
working_directory: frontend/android
- notify
promote_github_release:
docker:
- image: cimg/node:20.13.1
steps:
- install_app_toolbelt
- run:
command: app-toolbelt v0 release promote --platform all --deliverino-private-key ${DELIVERINO_PRIVATE_KEY} --owner ${CIRCLE_PROJECT_USERNAME} --repo ${CIRCLE_PROJECT_REPONAME}
name: Remove prerelease flag from github release
- notify
promote_ios:
environment:
FASTLANE_SKIP_UPDATE_CHECK: true
Expand Down Expand Up @@ -1055,6 +1064,9 @@ parameters:
run_frontend:
default: false
type: boolean
run_promote_all:
default: false
type: boolean
run_promote_backend_administration:
default: false
type: boolean
Expand Down Expand Up @@ -1625,6 +1637,40 @@ workflows:
requires:
- check_frontend
when: << pipeline.parameters.run_frontend >>
promote_all:
jobs:
- promote_android:
build_config_name: bayern
context:
- mattermost
- tuerantuer-google-play
name: promote_bayern_android
- promote_android:
build_config_name: nuernberg
context:
- mattermost
- tuerantuer-google-play
name: promote_nuernberg_android
- promote_ios:
build_config_name: bayern
context:
- mattermost
- tuerantuer-apple
name: promote_bayern_ios
- promote_ios:
build_config_name: nuernberg
context:
- mattermost
- tuerantuer-apple
name: promote_nuernberg_ios
- promote_to_server:
context:
- credentials-ehrenamtskarte
name: promote_backend_administration
- promote_github_release:
context:
- deliverino
when: << pipeline.parameters.run_promote_all >>
promote_backend_administration:
jobs:
- promote_to_server:
Expand Down
3 changes: 3 additions & 0 deletions .circleci/src/@common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@ parameters:
default: false
type: boolean
run_delivery_beta_all:
default: false
type: boolean
run_promote_all:
default: false
type: boolean
8 changes: 8 additions & 0 deletions .circleci/src/jobs/promote_github_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
docker:
- image: cimg/node:20.13.1
steps:
- install_app_toolbelt
- run:
name: Remove prerelease flag from github release
command: app-toolbelt v0 release promote --platform all --deliverino-private-key ${DELIVERINO_PRIVATE_KEY} --owner ${CIRCLE_PROJECT_USERNAME} --repo ${CIRCLE_PROJECT_REPONAME}
- notify
33 changes: 33 additions & 0 deletions .circleci/src/workflows/promote_all.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
when: << pipeline.parameters.run_promote_all >>
jobs:
- promote_android:
name: promote_bayern_android
build_config_name: bayern
context:
- mattermost
- tuerantuer-google-play
- promote_android:
name: promote_nuernberg_android
build_config_name: nuernberg
context:
- mattermost
- tuerantuer-google-play
- promote_ios:
name: promote_bayern_ios
build_config_name: bayern
context:
- mattermost
- tuerantuer-apple
- promote_ios:
name: promote_nuernberg_ios
build_config_name: nuernberg
context:
- mattermost
- tuerantuer-apple
- promote_to_server:
name: promote_backend_administration
context:
- credentials-ehrenamtskarte
- promote_github_release:
context:
- deliverino