Skip to content

Commit c2b885b

Browse files
committed
WIP
1 parent 176ca34 commit c2b885b

File tree

1 file changed

+57
-13
lines changed

1 file changed

+57
-13
lines changed

bitrise.yml

Lines changed: 57 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2106,6 +2106,50 @@ workflows:
21062106
--org mozilla --project klar-ios "$BITRISE_DSYM_DIR_PATH"
21072107
21082108
# RelPro workflows
2109+
release_promotion_promote_focus:
2110+
before_run:
2111+
- focus-clone-and-build-dependencies
2112+
- focus-set-project-version
2113+
- focus-set-default-browser-entitlement
2114+
- focus-configure-nimbus
2115+
- focus-configure-sentry
2116+
steps:
2117+
2118+
# If the current bitrise application is `staging-firefox-ios`, then
2119+
# this is a test release made from the staging repository.
2120+
# Ignore the value passed by release promotion for `BITRISE_SCHEME` and
2121+
# force it to `FirefoxStaging`, which makes it use non production
2122+
# certs/profiles. Also override the export method since the scheme is
2123+
# using a developer ID, not a distribution one
2124+
title: Set staging environment variables
2125+
inputs:
2126+
- content: |-
2127+
#!/usr/bin/env bash
2128+
set -ex
2129+
envman add --key EXPORT_METHOD --value development
2130+
run_if: |-
2131+
{{enveq "BITRISE_APP_TITLE" "staging-firefox-ios"}}
2132+
- certificate-and-profile-installer@1: {}
2133+
- xcode-archive@5:
2134+
inputs:
2135+
- project_path: focus-ios/Blockzilla.xcodeproj
2136+
- compile_bitcode: 'no'
2137+
- upload_bitcode: 'no'
2138+
- team_id: 43AQ936H96
2139+
- export_method: "$EXPORT_METHOD"
2140+
- output_tool: xcodebuild
2141+
- distribution_method: "$EXPORT_METHOD"
2142+
- export_development_team: 43AQ936H96
2143+
- configuration: "FocusDebug"
2144+
- scheme: "Focus"
2145+
title: Build Focus
2146+
2147+
envs:
2148+
- opts:
2149+
is_expand: false
2150+
EXPORT_METHOD: app-store
2151+
description: This step is used during release promotion to build a focus release
2152+
21092153
release_promotion_promote:
21102154
before_run:
21112155
- SPM_Common_Steps
@@ -2296,19 +2340,19 @@ app:
22962340
TEST_FLIGHT_EXTERNAL_GROUP_NAME: Nightly
22972341

22982342

2299-
trigger_map:
2300-
- push_branch: main
2301-
pipeline: pipeline_build_and_test
2302-
- push_branch: epic-branch/*
2303-
pipeline: pipeline_build_and_test
2304-
- push_branch: release/*
2305-
pipeline: pipeline_build_and_test
2306-
- pull_request_target_branch: main
2307-
pipeline: pipeline_build_and_test
2308-
- pull_request_target_branch: epic-branch/*
2309-
pipeline: pipeline_build_and_test
2310-
- pull_request_target_branch: release/v*
2311-
pipeline: pipeline_build_and_test
2343+
#trigger_map:
2344+
#- push_branch: main
2345+
# pipeline: pipeline_build_and_test
2346+
#- push_branch: epic-branch/*
2347+
# pipeline: pipeline_build_and_test
2348+
#- push_branch: release/*
2349+
# pipeline: pipeline_build_and_test
2350+
#- pull_request_target_branch: main
2351+
# pipeline: pipeline_build_and_test
2352+
#- pull_request_target_branch: epic-branch/*
2353+
# pipeline: pipeline_build_and_test
2354+
#- pull_request_target_branch: release/v*
2355+
# pipeline: pipeline_build_and_test
23122356

23132357
meta:
23142358
bitrise.io:

0 commit comments

Comments
 (0)