1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-01 08:20:41 +01:00
Commit Graph

90 Commits

Author SHA1 Message Date
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
Vince Grassia
fcadedd458
Update workflows with linter suggestions (#1056) 2021-09-02 16:05:38 -04: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
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
Vince Grassia
64492d95cf
Update workflows to accommodate universal pkg artifact for Mac (#888) 2021-05-12 10:59:30 -04:00
Joseph Flinn
a467881a76 fixing typo 2021-03-04 10:23:54 -08:00
Joseph Flinn
8facd15772 adding artifacts to the builds on the rc branch 2021-03-04 09:54:14 -08:00
Zhiyuan Zheng
2e1588ebdc Update Github Action. 2021-01-26 11:16:19 +08:00
Joseph Flinn
a1559faefb reverting all of the testing code 2021-01-22 04:53:28 +00:00
Joseph Flinn
ef7b1d9a19 moving the choco update script into the release pipeline and the build pipeline 2021-01-22 02:46:11 +00:00
Joseph Flinn
6a2eb5f001 removing the testing code from the pipelines 2021-01-20 15:53:35 +00:00
Joseph Flinn
c600901722 changing windows build environment to prod to use the HSM backed EV CS key 2021-01-19 19:19:10 +00:00
Joseph Flinn
0d42b7e8b4 commenting out all release specific tasks in the build pipeline 2021-01-19 17:40:46 +00:00
Joseph Flinn
713d7d05a0 seeing if creating a draft PR covers the 'create' trigger in GH Actions 2021-01-19 15:33:17 +00:00
Joseph Flinn
fd6032f121 changing trigger to draft instead of publish 2021-01-16 00:11:36 +00:00
Joseph Flinn
36b9295f1b fixing the git repository to publish to 2021-01-15 23:38:39 +00:00
Joseph Flinn
af254a1f52 adding in the GH_TOKEN to the publishing task 2021-01-15 23:07:50 +00:00
Joseph Flinn
7e0616f39e fixing syntax error 2021-01-15 22:33:03 +00:00
Joseph Flinn
effe1cd504 fixing release build 2021-01-15 21:58:28 +00:00
Joseph Flinn
f76a247fa4 commenting out all of the release things that I don't have secrets for 2021-01-15 20:02:21 +00:00
Joseph Flinn
0a68a6a36e merging the build and signing into to the same workflow (might split it back out later) 2021-01-15 19:54:07 +00:00
Joseph Flinn
50b5d2a422 removing other testing comments 2021-01-14 21:50:25 +00:00
Joseph Flinn
899acaa92a uncommenting some if conditions 2021-01-06 20:45:43 +00:00
Joseph Flinn
92d4afb28d removing appveyor to stop the fork from sending the repo to be built. Testing a release 2021-01-06 20:38:30 +00:00
Joseph Flinn
5eb10afe85 changing over to a value based boolean flag 2021-01-06 19:33:43 +00:00
Joseph Flinn
33029c1684 removing the signing portion of the original workflow 2021-01-06 19:19:18 +00:00
Joseph Flinn
c508c7cd05 adding a signing flag for electron builder 2021-01-06 18:58:44 +00:00
Joseph Flinn
048f3fed6f adding in the forgotten environment 2021-01-06 18:17:50 +00:00
Joseph Flinn
7a2aa34619 adding the other artifacts to the windows portion of the build 2021-01-06 18:07:22 +00:00
Joseph Flinn
65a13d997a experimenting with no CSC_* env vars 2021-01-06 18:04:18 +00:00
Joseph Flinn
e1d2aa4b4a changing the trigger for the Build 2021-01-06 17:25:33 +00:00
Joseph Flinn
030eab7290 removing a line in a pwsh multiline script 2020-12-15 00:59:16 +00:00
Joseph Flinn
41f263d378 commenting out the chocolatey package 2020-12-14 23:58:49 +00:00
Joseph Flinn
2a6add76db updating GH_TOKEN secret name because GITHUB_TOKEN wasn't valid 2020-12-14 22:53:33 +00:00
Joseph Flinn
d68c62ab91 removing deploy jobs (should be moved into its own workflow) 2020-12-14 22:23:14 +00:00
Kyle Spearrin
1a918436ca fix set-env refs 2020-11-03 13:29:00 -05:00
Kyle Spearrin
38ecc3b74b only deploy to app store on release 2020-09-30 14:29:30 -04:00
Kyle Spearrin
dc192b75a1 echo when snapcraft not installed 2020-09-30 13:28:06 -04:00
Kyle Spearrin
9db307555b release steps 2020-09-30 13:21:18 -04:00
Kyle Spearrin
72beaa7ed8 update names 2020-09-28 12:18:09 -04:00
Kyle Spearrin
694237536b limit when steps run 2020-09-25 11:48:15 -04:00
Kyle Spearrin
3b3dbd65bc remove dmg build 2020-09-25 11:22:50 -04:00