1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-13 10:24:20 +01:00
Commit Graph

221 Commits

Author SHA1 Message Date
Micaiah Martin
ad965e54e4
Rename .pkg to .pkg.archive in release pipeline (#1208)
* Add step to change .pkg file name
* Linting
2021-12-21 14:25:29 -07:00
Micaiah Martin
3c2094bb04
Patch version check to allow for redeployments. (#1204)
* Added logic for redployment

* Applied linting

- Prettier config was already updated by Oscar. b4df834b16
2021-12-20 10:49:16 -07:00
Oscar Hinton
521feae535
Apply Prettier (#1202) 2021-12-20 15:47:17 +01:00
Oscar Hinton
b4df834b16
Add Prettier configuration (#1201) 2021-12-20 14:17:39 +01:00
Vince Grassia
b33d37e610
Update with linter suggestions (#1199) 2021-12-17 12:26:26 -05:00
Daniel James Smith
5865f08b37
Bump node to v16 (#1189)
* Pull in jslib

* Update .nvmrc

* Bump engines required to node 16 and npm 8

* Bump @types/node to 16
The dep on node 14.18 will get cleaned up once we bump electron

* Modify build.yml to build with node 16 and npm 8

* Update requirements in README.md

* Removed install of npm8 and renamed action step
npm8 is included in node v16

* Pull jslib
2021-12-13 17:16:44 +01:00
Vince Grassia
822c791cf9
Fix typo (#1185) 2021-12-08 08:48:37 -05:00
Micaiah Martin
00d57d0310
Added version bump workflow (#1177)
* Added version bump workflow

* Fixed job name
2021-11-30 15:52:54 -07:00
Joseph Flinn
52d9244f7f
Revert linux ARM (#1162)
* Revert "Adding the newly added Linux Arm Desktop build assets to the release (#1159)"

This reverts commit dde7afb3df.

* Revert "package: Package ARM64 binaries for Linux (#1095)"

This reverts commit dd602024d8.
2021-11-16 11:22:22 -08:00
Joseph Flinn
dde7afb3df
Adding the newly added Linux Arm Desktop build assets to the release (#1159) 2021-11-16 07:10:10 -08:00
Alistair Francis
dd602024d8
package: Package ARM64 binaries for Linux (#1095)
Signed-off-by: Alistair Francis <alistair@alistair23.me>

Co-authored-by: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com>
2021-11-15 14:39:11 -08:00
Joseph Flinn
d6c100afeb
Moving the push of the MAS artifact to the build workflow to enable manual publishing from TestFlight (#1150) 2021-11-09 07:26:30 -08:00
Joseph Flinn
4f77f12552
Updating the Crowin sync process (#1144) 2021-11-05 10:59:21 -07:00
Vince Grassia
086e09c7dc
Change release workflow to only allow releases from rc or hotfix branches (#1146) 2021-11-05 12:45:56 -04:00
Vince Grassia
6cea5e053d
Add Universal DMG Artifact (#1136) 2021-11-02 11:24:33 -04:00
Vince Grassia
ecfbf2ba15
Add step to get Safari Extension branch ref (#1134) 2021-11-02 09:26:49 -04:00
Joseph Flinn
3ebfc14cbf
fixing typo in the checksum (#1133) 2021-11-01 08:01:16 -07:00
Joseph Flinn
59bed9b12e
fixing the release asset names (#1124) 2021-10-27 13:10:15 -07:00
Thomas Rittson
22546932a2
Add PR template (#1121) 2021-10-27 19:02:07 +10:00
Joseph Flinn
a61ef74895
Updating the release constraints (#1118)
* updating the release constraints

* removing the master branch release ci code execution

* updating some verbiage
2021-10-22 08:41:15 -07:00
Vince Grassia
66d560aab5
Add notify constraint (#1112) 2021-10-15 13:07:05 -04:00
Vince Grassia
7327ab75c9
Add Slack alerts for Build workflow failures (#1108) 2021-10-14 13:05:49 -04:00
Vince Grassia
b66d32b57e
Upgrade workflows to new model (#1104)
* Update workflows to new Build/Test/Release model
2021-10-12 11:51:26 -04:00
Joseph Flinn
c5461f82c1
rolling back accidental changes to mac runner (#1081) 2021-09-16 11:10:12 -07:00
Joseph Flinn
c99a543030
Pinning ast version (#1080)
* Pinning version of AST instead of using latest

* adding the pinned version of the commit

* adding an array join

* pinning version of dotnet

* trying the AST pin of the version we started using

* disabling jobs and adding test step to window job

* adding dotnet 2.1.x to see if that fixes the issue

* removing the test code and testing the addition of .net 2.1.x

* repinning to last successful sign

* trying the newest version of AST

* disabling the non-windows jobs again

* disabling the windows build job and added a test job

* removing stray comma

* changing the multiline delimiter

* pivoting away from our EV cert and testing with a test one

* switching back to the EV cert and adding a verbose flag

* disabling some steps that are breaking

* swithing back to the test cert

* testing new format for the ast command

* removing the node portions of the test since they are not needed

* trying AST without the tenat-id

* rolling back to original commit

* switching to custom AST for better troubleshooting

* removing the ast commit logic and forcing latest

* fixing up the pwsh sign command

* fixing the AST verison

* making sure that the secrets are not blank

* trying the EV cert for signing

* Using pinned commit from AST instead of custom code

* fixing env

* building the actually pinned commit instead of whatever the other thing was...

* testing the windows job

* removing the dotnet 2.1.x dependency since the older AST version shouldn't need it

* reenabling the test ast job since something is failing

* moving the git switch command

* testing new gh-action

* fixing the gh-action path

* updating the hash of the new action

* enabling the build jobs again

* updating the hash for the new Install AST action

* fixing linter issues
2021-09-16 10:15:05 -07:00
Joseph Flinn
e8da01bafb
adding more dependencies on the release update job (#1058) 2021-09-13 07:08:53 -07:00
Oscar Hinton
6b59df2f39
Add issue template and template chooser (#1061) 2021-09-08 14:11:54 +02:00
Vince Grassia
fcadedd458
Update workflows with linter suggestions (#1056) 2021-09-02 16:05:38 -04:00
Joseph Flinn
9dbd692e2d
Simplifying the Crowdin Sync workflow (#1048) 2021-08-27 10:08:32 -07:00
Joseph Flinn
1a6f283771
Removing the old setup logic that no longer works (#974)
* Removing the old setup logic that no longer works

* adding in formatting
2021-08-24 11:58:21 -07:00
Joseph Flinn
2d68fe37a1
Updating the release name (#1038) 2021-08-24 11:57:43 -07:00
Joseph Flinn
99b8be81f6
Crowdin sync workflow (#1022)
* Initial addition of the crowdin sync workflow for testing

* adding some echo statements for debugging

* adding logic to gracefully exit if there are no new updates

* adding logic to select the correct diff_branch
2021-08-13 13:27:46 -07:00
Joseph Flinn
99b9a0951a
Adding stub for crowdin sync testing (#1020) 2021-08-13 07:29:43 -07:00
Joseph Flinn
d5e9de2b8b
fixing the delayed release logic (#987) 2021-07-09 07:31:34 -07:00
Joseph Flinn
6d8fbf1e43
changing the default browser extension branch to rc (#975) 2021-07-01 10:19:52 -07:00
Oscar Hinton
c89ca36f51
Add SDKROOT to release workflow (#973) 2021-06-30 21:41:45 +02:00
Matt Gibson
db688d208d Use default cache directory 2021-06-11 14:05:28 -04:00
Matt Gibson
1fc8c02579 Remove node_modules cache
`npm ci` deletes node_modules as a first step, so makes no sense to cache
2021-06-11 13:52:39 -04:00
Matt Gibson
1b96afe283 Cache npm directory and always run npm ci 2021-06-11 13:52:39 -04:00
Vince Grassia
5ae7490478
MacOS Build Asset and Workflow Optimization (#942)
* adding more testable assets to the desktop build

* fixing typo

* renaming job

* fixing loading safari extension

* Fix typo

* Update workflows to use new Node caching

* Move checkout actions to beginning of jobs

* Add Run ID to key for Node cache

* Add Runner OS to cache actions

* Fix build commands by putting 'npx' in front

* Update builds to use other scripts in package.json

* Set up keychain for macos-package-dev

* Add 'Increment version' step to build workflow

* Disable MacOS dev build. Test other MacOS builds

* Add provisioning profile steps to other MacOS builds

* Remove test branch code

Co-authored-by: Joseph Flinn <joseph.s.flinn@gmail.com>
2021-06-07 12:00:13 -04:00
Vince Grassia
163351c3e7
Update pipelines (#936)
* Update workflows for consistency

* Update pipelines

- Trigger deploy workflow manually
- Publish release draft at the end of deploy workflow

* Enable artifact uploads for all branches and fail if no asset is found during upload

* Add if statements back in for MacOS

* Change Build application (dev) step
2021-06-01 17:14:02 -04:00
Joseph Flinn
adb16783cf constraining releases to the rc branch 2021-06-01 11:21:04 -07:00
Oscar Hinton
c89da7f12b
Hardcode SDKRoot (#925)
* Hardcode SDKRoot

* Re-add branch check for app store
2021-05-28 19:38:09 +02:00
Oscar Hinton
42d280ac09
Bump NPM to v7 (#922)
* Bump NPM to v7

* Bump npm in build

* Add NPM v7 to readme

* Update node-gyp
2021-05-26 22:44:48 +02:00
Vince Grassia
28ebbccbf1
Pin versions of actions in workflow (#901) 2021-05-18 09:21:26 -04:00
Oscar Hinton
8f7ab9f8db
Bump node to 14 (#869)
* Bump node to 14

* Bump some dependencies

* Bump jslib

* Ensure compatability with latest jslib

* Change node engine to ~14.
2021-05-12 22:38:02 +02:00
Joseph Flinn
72c26ae999 switching one more PKG_VERSION environment variable 2021-05-12 10:57:48 -07:00
Joseph Flinn
3eb691fbd8 switching the env name 2021-05-12 10:54:20 -07:00
Joseph Flinn
7d959ffffb fixing the choco release asset grab 2021-05-12 10:53:20 -07:00
Joseph Flinn
e2e41b7366 fixing the macos deploy 2021-05-12 10:47:58 -07:00