1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00
Commit Graph

581 Commits

Author SHA1 Message Date
Todd Martin
d4dd8d096b chore(builds): [PM-20431] Add bit-web to build-web workflow paths
* Add bit-web to build-web workflow paths.

* Updated to also include bit-common
2025-04-18 17:35:42 -04:00
aj-bw
08b966409f linux-x86-builds-fix (#14321)
* readd rust toolchain commands

* revert native module build call
2025-04-17 09:18:39 -04:00
aj-bw
c7259b4cb1 BRE-536/Add-ARM-targz-builds-for-desktop-and-cli (#14270)
* Test ARM64 build

* Remove sudo

* Change to public preview runner

* Change cache key for architectures

* Test

* Test

* Test

* remove x86 musl target - troubleshooting build error

* native module troubleshooting

* remove cross-platform for testing

* attempt to resolve cross-platform issue

* support more arm64 build types

* fix missed amd to arm update

* missing dependency during env setup

* lxd troubleshooting

* install lxd with snap instead

* electron-builder debug

* simplified script for testing

* testing

* 22.04 to 20.04

* try ubuntu 24.04 runner

* add dist script

* update build command

* troubleshoot 24.04 compatibility

* remove lxd before merging main

* add comment, bump arm runner down to 22.04

* revert to tar.gz support only for this PR

* testing cli arm builds

* fix build target designation

* adjust runner designation

* runner name typo

* not needed currently

* adjust build.js logic and call in workflow

* address styling feedback and unnecessary rust toolchain call

* simplify build cli os matrix

* revert x86 linux builds to cross-platform command for build.js

---------

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2025-04-17 08:21:24 -04:00
Michał Chęciński
9da15601be Add workflow to trigger self-host unified build in publish web (#14268) 2025-04-16 15:06:41 +02:00
Andy Pixley
94d9487547 [BRE-777] Fixing output to match what's in gh-actions (#14292) 2025-04-15 12:31:08 -04:00
Todd Martin
938e9454e1 fix(workflow): [PM-19254] Update image tag generation for builds from forked PRs
* Added fork name to tag

* Added logging.

* Added pull_request_target

* Added repository name if on fork.

* Limited characters

* Added sanitization

* Moved to env var for extra security.
2025-04-14 21:33:51 -04:00
Vicki League
63a3cb0160 [CL-394] Only run Chromatic action on relevant PRs (#14065) 2025-04-10 11:51:43 -04:00
renovate[bot]
b488253722 [deps]: Update actions/create-github-app-token action to v1.12.0 (#13879)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-08 14:24:04 +02:00
Álison Fernandes
7f58cee41b [PM-18897] Add workflow to auto-reply / auto-close GitHub Discussions (#13682) 2025-04-07 14:20:29 -04:00
Vince Grassia
c8967bf4b3 Update build web workflow (#14111) 2025-04-07 09:57:55 -04:00
Todd Martin
3a4f342471 Updated workflows to correctly trigger on pull_request_target (#14115) 2025-04-04 10:16:28 -04:00
Todd Martin
10306995e6 Add comments to build workflows to indicate their intended use (#14069)
* Added comments to build workflows.

* Updated comments and job names.
2025-04-02 13:56:30 -04:00
Vince Grassia
0d9794e968 Add Docker arm64 builds (#14025) 2025-04-02 09:50:31 -04:00
Michał Chęciński
56672a3568 [BRE-714] Enhance TestFlight desktop publishing (#13871)
* Update TestFlight deployment to use Fastlane for app uploads

* Update TestFlight deployment to use Fastlane for app uploads

* Fix

* Fix create secret for fastlane

* Fix create secret for fastlane

* Fix create secret for fastlane

* Install gsed to use sed on macos runner

* Create test file

* Fix test

* Use actual token

* Add TestFlight distribution option for QA testing

* Update .github/workflows/build-desktop.yml

Co-authored-by: MtnBurrit0 <77340197+mimartin12@users.noreply.github.com>

* Add if to secret construction for fastlane

---------

Co-authored-by: MtnBurrit0 <77340197+mimartin12@users.noreply.github.com>
2025-03-31 12:59:47 +02:00
Matt Bishop
cfafeaac66 Remove references to Codecov token (#14033) 2025-03-27 15:46:48 -07:00
Michał Chęciński
c999c19f07 fix(workflow): add conditional checks for Docker image scanning and result upload (#13898) 2025-03-20 16:38:51 +00:00
Matt Andreko
e31ffd9b66 Update SARIF upload to use proper branch (#13917) 2025-03-20 12:29:24 -04:00
Amy Galles
54c779afe8 update github runner for child process (#13797)
* update github runner for child process
2025-03-13 09:20:55 -07:00
Matt Andreko
d01f0c6bc4 Replace secret checking logic with branch detection logic (#13642) 2025-03-03 14:19:43 -05:00
renovate[bot]
08b6da3f4e [deps]: Update dtolnay/rust-toolchain digest to c5a29dd (#13659)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2025-03-03 12:26:38 +01:00
Todd Martin
a4ff5436bf [PM-18617] Revert Firefox back to build Mv2 (#13620)
* Revert changes to build Mv3 on Firefox.

* Revert script changes.
2025-02-28 10:14:36 -05:00
Opeyemi
164f15d9f9 [BRE-610] - Sign windows CLI (#13542)
* [BRE-610] - Sign windows CLI

* little fix

* testing path to script

* testing script path

* Testing windows signing script

* single line run

---------

Co-authored-by: Andy Pixley <3723676+pixman20@users.noreply.github.com>
2025-02-26 13:17:24 +00:00
Vince Grassia
c85f6a54f5 Add artifact names for macOS ARM64 builds (#13503) 2025-02-24 10:45:49 -07:00
José Pereira
76fb5d46bb [PM-10105] Release arm64 binaries for macOS (#10273)
* ci(mac): add step to build and release macos arm64 binary

* ci(mac): add step to build and release macos arm64 binary

* fix: add target_suffix to build & package command
2025-02-24 10:24:27 -05:00
Amy Galles
9dd2033081 Fix broken image tagging on build-web (#13514)
* updating logic to include pull requests
2025-02-21 14:02:46 -08:00
Justin Baur
9e6643f668 Opera mv3 build changes (#13365)
* Remove MV2 Opera Artifact Creation

* Rename Opera MV3 Artifact
2025-02-12 16:28:36 -05:00
Matt Andreko
b036d6c0e8 Enabled SonarQube scanning for PRs (#13250)
* Modified Scan workflow to contain PR number during a PR

* Update .github/workflows/scan.yml

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>

---------

Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
2025-02-12 09:07:27 -05:00
Justin Baur
e3870a6b28 Firefox mv3 build changes (#13366)
* Remove Firefox MV2 Artifact Creation

* Rename Firefox MV3 Artifact
2025-02-11 16:34:23 -05:00
Andreas Coroiu
4cb8e85937 [PM-15126] Third attempt: Remove reliance on secrets in build pipelines (#13222)
* feat: create copy of desktop build for PR target

* chore: add temporary file to trigger ci

* fix: remove check-run from regular desktop build

* feat: change browser build to not use pr target

* fix: skip build-safari if secret is not available

* feat: skip safari build if secrets are not available

* feat: let windows desktop build without secrets

* fix: has_secrets not being output correctly

* feat: let macos desktop build without secrets

* feat: don't build browser as part of desktop

* feat: change CLI to pull_request

* feat: let web build without secrets

* feat: tweak lint to run on PR and not just push

* feat: add PR target workflows

* fix: remove wip files

* fix: lint on hotfix-rc branches

* feat: add new workflows to CODEOWNERS

* fix: remove workflow_dispatch

pull_request_target are only intended to be used with contributor PRs and we cannot dispatch builds for these branches so there was no point having that option.
2025-02-11 11:14:09 +01:00
Maciej Zieniuk
d846f88c21 desktop native written in rust code coverage (#13106)
* desktop native written in rust code coverage

* working directory keyword missing fix

* use the same cargo-llvm-cov version as sdk

* rust coverage job working directory

* rust coverage job working directory

* fixing ci

* fixing ci

* fixing ci

* fixing ci

* fixing ci

* fixing ci

* pinning runners

* pinning runners

* remove codecov token
2025-02-04 22:44:01 +01:00
renovate[bot]
a0e48781bd [deps]: Update codecov/test-results-action action to v1.0.2 (#12962)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-03 11:11:34 +01:00
Matt Andreko
0e3e3c16c4 Removed unnecessary CODECOV_TOKEN with updated codecov-action (#12892) 2025-01-27 09:35:04 -05:00
Michał Chęciński
3fda91e42f Fix deployment_id to deployment-id in workflow files (#13028) 2025-01-23 11:04:54 +00:00
Michał Chęciński
9f524d4b91 Fix name of the release-version-check workflow (#13026) 2025-01-23 09:06:13 +00:00
renovate[bot]
007e2fc951 [deps]: Update github-action minor (#12972)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 11:24:43 -08:00
renovate[bot]
ba24fd54e0 [deps]: Update github/codeql-action action to v3.28.2 (#12963)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 10:18:07 -08:00
Andy Pixley
1b9f546139 [BRE-563] Reverting out electron_publish option. Needs to always happen (#12997) 2025-01-21 16:24:00 +00:00
Oscar Hinton
e5f83ff086 [PM-17031] Create UI-common (#12831)
Extract core functionality from `libs/angular` to allow teams to depend on `libs/ui-common` instead.

Moves the following functionality to `ui-common`.
- `I18nPipe`. `libs/angular` still has an old copy but `components` depends on the new variant from `ui-common`.
- `safeProvider`, `SafeProvider` and `SafeInjectionToken`. `libs/angular`re-exports these to avoid needing to update all consumers.
2025-01-17 10:42:31 -05:00
Todd Martin
87171289f0 Revert Opera to Mv2 build (#12921) 2025-01-17 10:16:52 -05:00
Andy Pixley
65b393e3ee [BRE-563] Adding ability to skip electron publish (#12920) 2025-01-16 21:17:29 +00:00
Andy Pixley
3917f50fdd [BRE-560] Display rollout percentage in run name (#12919) 2025-01-16 15:20:03 -05:00
Matt Andreko
ff5043f9ff Updated SonarQube GitHub action to v4.2.1 (#12836) 2025-01-14 08:32:32 +01:00
Todd Martin
4c8565f7f3 Modify Edge and Opera artifacts to build Mv3 - Part 1 (#12674)
* Modify Edge and Chrome artifacts to build Mv3 version to mimic Chrome

* Added back the Mv3 scripts so that workflows run on the PR will pass
2025-01-12 16:37:15 -05:00
Vince Grassia
138e07eaf7 Add fetch-depth to checkout step (#12782) 2025-01-10 09:50:21 +01:00
Michał Chęciński
1a80ae8968 [BRE-513] Remove brew bump desktop workflow (#12772) 2025-01-09 16:10:28 +01:00
Addison Beck
5c96634974 fix(ci): Adjust variable name missed during lint update (#12768) 2025-01-09 04:37:26 +00:00
Addison Beck
a9ca361523 fix(ci): Adjust for a breaking change in the Slack action (#12753) 2025-01-08 18:47:45 +00:00
Addison Beck
4d576f0533 fix(ci): Resolve errors and warnings exposed by new workflow linter (#12755)
* fix(ci): Resolve errors and warnings exposed by new workflow linter

* Add missed warning
2025-01-08 13:06:19 -05:00
renovate[bot]
0b4c22c269 [deps] BRE: Update slackapi/slack-github-action action to v2 (#12140)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-03 11:39:01 -05:00
renovate[bot]
b370787239 [deps] BRE: Update gh minor (#11941)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-02 18:24:57 -05:00