Skip to content

Commit 2240f9a

Browse files
committed
WIP
1 parent 83cdb81 commit 2240f9a

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
@@ -2146,6 +2146,50 @@ workflows:
21462146
--org mozilla --project klar-ios "$BITRISE_DSYM_DIR_PATH"
21472147
21482148
# RelPro workflows
2149+
release_promotion_promote_focus:
2150+
before_run:
2151+
- focus-clone-and-build-dependencies
2152+
- focus-set-project-version
2153+
- focus-set-default-browser-entitlement
2154+
- focus-configure-nimbus
2155+
- focus-configure-sentry
2156+
steps:
2157+
2158+
# If the current bitrise application is `staging-firefox-ios`, then
2159+
# this is a test release made from the staging repository.
2160+
# Ignore the value passed by release promotion for `BITRISE_SCHEME` and
2161+
# force it to `FirefoxStaging`, which makes it use non production
2162+
# certs/profiles. Also override the export method since the scheme is
2163+
# using a developer ID, not a distribution one
2164+
title: Set staging environment variables
2165+
inputs:
2166+
- content: |-
2167+
#!/usr/bin/env bash
2168+
set -ex
2169+
envman add --key EXPORT_METHOD --value development
2170+
run_if: |-
2171+
{{enveq "BITRISE_APP_TITLE" "staging-firefox-ios"}}
2172+
- certificate-and-profile-installer@1: {}
2173+
- xcode-archive@5:
2174+
inputs:
2175+
- project_path: focus-ios/Blockzilla.xcodeproj
2176+
- compile_bitcode: 'no'
2177+
- upload_bitcode: 'no'
2178+
- team_id: 43AQ936H96
2179+
- export_method: "$EXPORT_METHOD"
2180+
- output_tool: xcodebuild
2181+
- distribution_method: "$EXPORT_METHOD"
2182+
- export_development_team: 43AQ936H96
2183+
- configuration: "FocusDebug"
2184+
- scheme: "FocusDebug"
2185+
title: Build Focus
2186+
2187+
envs:
2188+
- opts:
2189+
is_expand: false
2190+
EXPORT_METHOD: app-store
2191+
description: This step is used during release promotion to build a focus release
2192+
21492193
release_promotion_promote:
21502194
before_run:
21512195
- SPM_Common_Steps
@@ -2336,19 +2380,19 @@ app:
23362380
TEST_FLIGHT_EXTERNAL_GROUP_NAME: Nightly
23372381

23382382

2339-
trigger_map:
2340-
- push_branch: main
2341-
pipeline: pipeline_build_and_test
2342-
- push_branch: epic-branch/*
2343-
pipeline: pipeline_build_and_test
2344-
- push_branch: release/*
2345-
pipeline: pipeline_build_and_test
2346-
- pull_request_target_branch: main
2347-
pipeline: pipeline_build_and_test
2348-
- pull_request_target_branch: epic-branch/*
2349-
pipeline: pipeline_build_and_test
2350-
- pull_request_target_branch: release/v*
2351-
pipeline: pipeline_build_and_test
2383+
#trigger_map:
2384+
#- push_branch: main
2385+
# pipeline: pipeline_build_and_test
2386+
#- push_branch: epic-branch/*
2387+
# pipeline: pipeline_build_and_test
2388+
#- push_branch: release/*
2389+
# pipeline: pipeline_build_and_test
2390+
#- pull_request_target_branch: main
2391+
# pipeline: pipeline_build_and_test
2392+
#- pull_request_target_branch: epic-branch/*
2393+
# pipeline: pipeline_build_and_test
2394+
#- pull_request_target_branch: release/v*
2395+
# pipeline: pipeline_build_and_test
23522396

23532397
meta:
23542398
bitrise.io:

0 commit comments

Comments
 (0)