Skip to content

Commit 467ae6a

Browse files
Eijebonghneiva
authored andcommitted
WIP
1 parent 176ca34 commit 467ae6a

File tree

2 files changed

+69
-15
lines changed

2 files changed

+69
-15
lines changed

bitrise.yml

Lines changed: 58 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2106,6 +2106,51 @@ 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+
- platform: "iOS"
2145+
- scheme: "Focus"
2146+
title: Build Focus
2147+
2148+
envs:
2149+
- opts:
2150+
is_expand: false
2151+
EXPORT_METHOD: app-store
2152+
description: This step is used during release promotion to build a focus release
2153+
21092154
release_promotion_promote:
21102155
before_run:
21112156
- SPM_Common_Steps
@@ -2296,19 +2341,19 @@ app:
22962341
TEST_FLIGHT_EXTERNAL_GROUP_NAME: Nightly
22972342

22982343

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
2344+
#trigger_map:
2345+
#- push_branch: main
2346+
# pipeline: pipeline_build_and_test
2347+
#- push_branch: epic-branch/*
2348+
# pipeline: pipeline_build_and_test
2349+
#- push_branch: release/*
2350+
# pipeline: pipeline_build_and_test
2351+
#- pull_request_target_branch: main
2352+
# pipeline: pipeline_build_and_test
2353+
#- pull_request_target_branch: epic-branch/*
2354+
# pipeline: pipeline_build_and_test
2355+
#- pull_request_target_branch: release/v*
2356+
# pipeline: pipeline_build_and_test
23122357

23132358
meta:
23142359
bitrise.io:

focus-ios/Blockzilla.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 11 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)