This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert master branch to use main (#3559)
- Loading branch information
1 parent
5fd1bfd
commit a2ff180
Showing
4 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,20 +50,20 @@ tasks: | |
owner: [email protected] | ||
source: ${repository} | ||
############################################################################### | ||
# Task: Master builds | ||
# Task: Main builds | ||
# | ||
# Triggered whenever something is pushed/merged to the master branch. | ||
# Triggered whenever something is pushed/merged to the main branch. | ||
# Produces APKs signed with the staging key. These APKs are for | ||
# testing only and should not be uploaded to App Stores. | ||
# | ||
############################################################################### | ||
- $if: 'tasks_for == "github-push" && (event["ref"] == "refs/heads/master" || isFeatureBranch == true)' | ||
- $if: 'tasks_for == "github-push" && (event["ref"] == "refs/heads/main" || isFeatureBranch == true)' | ||
then: | ||
$let: | ||
featureName: | ||
$if: 'isFeatureBranch == true' | ||
then: "-f ${event.ref[19:]}" | ||
else: "-f master" | ||
else: "-f main" | ||
in: | ||
provisionerId: 'proj-firefoxreality' | ||
workerType: 'ci-linux' | ||
|
@@ -76,7 +76,7 @@ tasks: | |
- "secrets:get:project/firefoxreality/fr/mls-key" | ||
routes: | ||
- [email protected] | ||
- index.project.firefoxreality.master | ||
- index.project.firefoxreality.main | ||
payload: | ||
maxRunTime: 14400 | ||
image: 'mozillamixedreality/firefoxreality:200316-SDK29' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,12 +60,12 @@ RUN git config --global user.email "[email protected]" | |
RUN git config --global user.name "No Reply" | ||
RUN echo sdk.dir=/opt > local.properties && echo ndk.dir=/opt/ndk-bundle >> local.properties | ||
RUN git checkout -b update origin/gradle | ||
RUN git rebase origin/master | ||
RUN git rebase origin/main | ||
RUN git submodule init | ||
RUN git submodule update | ||
RUN ./gradlew --no-daemon assembleNoapi | ||
RUN ./gradlew --no-daemon clean | ||
RUN git checkout master | ||
RUN git checkout main | ||
|
||
# -- Cleanup ---------------------------------------------------------------------------- | ||
|
||
|