Joseph Flinn
6d078851dc
Devops 1539 optimize server build ( #3237 )
...
* Switch server build back to only triggering the Unified and relying on Slack notifications to notify of a failure
* Run actionlint over workflow files
* pin actions/github-script hash
2023-08-29 16:22:09 -06:00
Alex Urbina
68e1a3f431
DEVOPS-1409 REFACTOR: bitwarden/gh-actions/download-artifacts to use version that uses node16 ( #3223 )
2023-08-23 08:05:15 -06:00
Opeyemi
e0299043a2
UPDATE: dotnet setup run step and to use global version ( #3182 )
...
* UPDATE: dotnet setup run step and to use global version
* TEST: make the build run
* Revert attachment base image to latest
2023-08-14 16:40:27 +01:00
Opeyemi
0487056afb
[DEVOPS-1517] - Update Server release to pull from Prod ACR ( #3169 )
...
* UPDATE: Server release to pull from Prod ACR
* UPDATE: condition for DCT setup
* UPDATE: attachment Dockerfile to reference server latest
* REMOVE: push Server image to DockerHub
* FIX: lint error
* Minor changes
2023-08-14 15:56:54 +01:00
Opeyemi
9d4b98e787
FIX: add more dotnet setup ( #3181 )
...
* UPDATE: move dotnet setup to run before checkout
2023-08-11 14:54:40 +01:00
Matt Bishop
6785908e39
Explicitly install .NET SDK for linting ( #3180 )
2023-08-11 08:49:04 -04:00
MtnBurrit0
d5a0e97fea
Fix github.ref comparison in build.yml ( #3177 )
...
+ Convert to case statement
+ Extend comment
2023-08-10 14:49:39 -06:00
Opeyemi
0c76969506
[DEVOPS-1516] - Update server build workflow to push images to ACR ( #3157 )
...
* Update server build workflow to push images to ACR
* UPDATE: Remove docker_repos matrix variable
* FIX: make docker push command one-liner
* UODATE: revert attachment image source
* UPDATE: add suggestion and update tags in docker build
* UPDATE: docker build tags
* UPDATE: master branch tag to latest
* ADD: push server image to dockerhub
* ADD: sugesstions
* ADD: ACR var name change and usages
* Minor updates
* Fix syntax error
* UPDATE: use ACR var for image name step
---------
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2023-08-10 18:41:56 +01:00
renovate[bot]
1a21eca481
Update bitwarden/gh-actions digest to f096207 ( #3076 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 11:02:43 -06:00
MtnBurrit0
5275f22f12
DEVOPS-1526 Push all versioned images to ACR ( #3154 )
2023-08-07 12:57:40 -06:00
Vince Grassia
5a93c687b0
Fix syntax error ( #3144 )
2023-07-31 14:12:09 -04:00
Vince Grassia
6aff9b7b05
Update Setup project to handle EU region ( #3137 )
2023-07-31 13:14:33 -04:00
renovate[bot]
3f3bd66a33
Update actions/stale action to v8 ( #3061 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-14 10:11:26 -04:00
mimartin12
22ae86fd0a
Pin webapp deploy to v.2.2.9 ( #3088 )
2023-07-13 14:53:13 -07:00
renovate[bot]
4e089286e5
Update actions/setup-dotnet action to v3 ( #2977 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-03 10:46:36 -06:00
renovate[bot]
69ee329af8
Update actions/upload-artifact digest to 0b7f8ab ( #2971 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-03 10:40:49 -06:00
renovate[bot]
3689fb701d
Update gh minor ( #2974 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-03 10:36:42 -06:00
renovate[bot]
c2b429c6de
Update bitwarden/gh-actions digest to 74f4ac0 ( #2972 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 15:39:50 -06:00
Vince Grassia
c1723d9e90
DEVOPS-1446 - Update Build Workflow ( #3047 )
2023-06-27 11:18:51 -06:00
Alex Urbina
4c61d05b24
DEVOPS-1391 REFACTOR: server build workflow to use setup-docker-trust GitHub Action ( #3040 )
2023-06-23 11:12:54 -06:00
Michał Chęciński
62ae9cb695
Fix build: change self-host trigger workflow name ( #3042 )
2023-06-23 17:13:45 +02:00
Michał Chęciński
1ab7560a86
Fix build workflow ( #3041 )
2023-06-23 16:54:41 +02:00
Michał Chęciński
3522d8b084
[DEVOPS-1204] Migrate unified & it's build pipeline to self-host repo ( #2988 )
...
* Remove build self host workflow
* Remove docker-unified folder
* Add trigger for self host build in separate repo
* Change branch
* Fix
2023-06-23 09:23:47 +02:00
mimartin12
73c721ede3
[DEVOPS-1377] - Publish version tag MsSqlMigratorUtility image to ACR ( #3015 )
2023-06-14 08:12:36 -06:00
Opeyemi
b7a40406af
add more comment to missing actions ( #3013 )
2023-06-13 14:57:30 +01:00
Vince Grassia
a62d0c5e52
Fix push version and latest step to ACR ( #2984 )
2023-05-30 20:31:14 -04:00
Justin Baur
61a0efbdfc
[PM-2444] Add Pipeline for Testing All Database Variants in CI ( #2471 )
...
* Add Pipeline
* Fix Lint
* Added a Change
* Update Pipeline
* Add Multi-Version Support
* Use Profile Switch for each profile
* Fix MySql
* Debug MySql
* Use Proper Seperator
* Add Allow User Variables=true
* Pipeline Work
* Expand Config for Postgres
* Change Config Key
* Add Debug Step
* Fix Debug Step
* Fix Tests
* Add Sleep
* Fix Tests
* Fix SQL Server Tests
* Add Sqlite
* Use Context Property
* Fix Tests
* Fix Test Logger
* Update AccountRevisionDate Check
* Fix Postgres Time Issues
* Formatting and Pipeline Update
* Remove Unneeded SqlServer Setting
* Update .github/workflows/infrastructure-tests.yml
Co-authored-by: mimartin12 <77340197+mimartin12@users.noreply.github.com>
---------
Co-authored-by: mimartin12 <77340197+mimartin12@users.noreply.github.com>
2023-05-30 13:25:55 -04:00
Michał Chęciński
eb4e3a4cf9
Update bitwarden/gh-actions in all workflows ( #2958 )
2023-05-24 16:02:46 +02:00
Michał Chęciński
0f09d46a3f
[DEVOPS-1388] Dockerize the DB Migrator Utility ( #2936 )
...
* Remove unused workflow
* Add dockerfile for MsSqlMigratorUtility
* Change cmd
* Fix dockerfile param
2023-05-16 17:31:02 +02:00
Opeyemi
6d860acab4
pin version tags in database cleanup and issues response wf ( #2889 )
...
* pin version tags in database cleanup and issues response wf
* update all workflow for actions version pin
* edit build strategy and a few version pin typo
2023-05-03 15:20:12 +01:00
mimartin12
2c604d0fe5
[DEVOPS-1376] - Add step to pull from ACR ( #2890 )
2023-05-01 13:56:04 -06:00
Justin Baur
09f86f23fe
[PM-1390] X-Plat/SDK Style SQL Project ( #2795 )
...
* Use SDK Style .sqlproj
* Fix Validate Job
* Debug Build
* Debug Validate
* Fix Build (Hopefully)
* Remove Unneeded `xmlns`
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
* Upload Dacpac in Pipeline
* Add Version Tag
---------
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
2023-04-27 15:44:34 -04:00
mimartin12
3d4e7cdbec
Update stop-staging-slots.yml secret name ( #2882 )
2023-04-25 11:34:40 -07:00
mimartin12
c2b11a1a85
Move the Azure Login step in release workflow ( #2881 )
2023-04-25 11:27:03 -07:00
mimartin12
2c584da7b6
Update version-bump.yml ( #2879 )
2023-04-25 10:41:16 -06:00
Opeyemi
62c8b4c77d
[DEVOPS-1259] reupdate CI-only KV SP ( #2858 )
...
* reupdate CI-only KV SP
* add some edits
2023-04-17 18:03:32 +01:00
Opeyemi
972a500745
[DEVOPS-1259]Update pipeline to CI only KV ( #2854 )
...
* Update pipeline to CI only KV
2023-04-17 14:06:57 +01:00
Michał Chęciński
e667908a06
Fix self contained mssqlmigratorutility ( #2804 )
...
* Fix self-contained mssqlmigratorutility
* Fix build
* Fix
* Fix
2023-03-15 16:57:36 +01:00
mimartin12
f33c4e120d
Fix build.yml - Update tag generator to not use beta
( #2800 )
2023-03-14 11:30:17 -06:00
Michał Chęciński
5e3f4c9bbe
Revert "Revert "[DEVOPS-1215] Build migrator CLI project ( #2747 )" ( #2769 )" ( #2774 )
...
This reverts commit f8cbd4ef7d
.
2023-03-07 14:10:34 +01:00
Michał Chęciński
f8cbd4ef7d
Revert "[DEVOPS-1215] Build migrator CLI project ( #2747 )" ( #2769 )
...
This reverts commit 9cbf254fef
.
2023-03-06 18:02:19 +01:00
Michał Chęciński
9cbf254fef
[DEVOPS-1215] Build migrator CLI project ( #2747 )
...
* Add migrator cli
* Ran format
* Acc build workflow
* Change paths in push and pr triggers
* Add build migrator cli to build workflow
* Remove build migrator cli workflow
* Add different levels of logs for verbose
* Rename migratorCLI to MsSqlMigratorUtility
* Add MsSqlMigratorUtility to solution file
* Remove the clean command
* Fix name and path in build workflow
* Add retry logic to DbMigrator instead of invocation
* Add migrator with retry mechanism as a new method
* Log the migration start log to migrate database method
* Fix name in build
* Fix cli leftovers
* Fix exception var name
* String interpolation
* Remove redundant check for number
* Remove CommandDotNet
* dotnet format
* Remove CommandDotNet from packages lock
* Remove all cli
* Trying to remove usings to see if this fixes linter
* Add usings back again - uild is failing
* Remove implicit usings
* Trying to fix linter issues
* Trying to fix linter
2023-03-06 15:39:30 +01:00
Michał Chęciński
38336dd5c4
Add Migrator CLI workflow stub ( #2741 )
2023-02-24 08:08:47 -08:00
Vince Grassia
4fb2649faf
Fix typo ( #2731 )
2023-02-22 14:48:45 -05:00
Joseph Flinn
7594ca1122
Fix typo in the DockerHub push step ( #2713 )
2023-02-16 15:32:48 -08:00
Joseph Flinn
133a3f70b9
Don't upload images to DockerHub registries that don't exist ( #2712 )
...
* Don't upload images to DockerHub registries that don't exist
* Fix linting issue
* Fix conditional
2023-02-16 15:14:39 -08:00
Joseph Flinn
0fde17fc0e
Add in QA temporary ACR ( #2711 )
...
* Adding QA registry back into self-host build pipeline
* switching order of the ACR signin
* Update build pipeline to follow same patterns as build-self-host and push to both Prod and QA registries
* Add Bitwarden QA registry to the PR clean up workflow
* Fix project name and path to dockerfile
* Add a publish branch check to the tag list generator
* Fix bash env var typo
2023-02-16 14:16:32 -08:00
Michał Chęciński
9261fcc9ee
Add pull request trigger to build self-host workflow ( #2701 )
2023-02-15 17:04:03 +01:00
Michał Chęciński
70a7108bba
Fix Azure login in build self host workflow ( #2700 )
2023-02-15 17:03:51 +01:00
Michał Chęciński
b44ff27d3a
[DEVOPS-1211] Push docker only to bitwardenprod ACR ( #2695 )
...
* Push docker only to prod ACR
* Remove matrix in container registry purge
2023-02-15 11:45:46 +01:00
Michał Chęciński
8138db396b
Fix secrets retrieval in build-self-host workflow ( #2696 )
2023-02-15 11:45:27 +01:00
Michał Chęciński
5aa8f3db81
[DEVOPS-1161] fix the rate limiting issue in building bitwarden unified ( #2694 )
...
* Add GH_PAT secret to build
* Fix secret
* Fix
* Fix
* Maybe fix
* add cat for tags.json
* Maybe fix
* Matbe fix
* Trying to fix
* Change gh_pat path
* Fix
* Remove obsolete tags obtaining
2023-02-14 09:41:59 -07:00
Oscar Hinton
c24b086275
[SM-500] Upload sql diff for database validation ( #2690 )
2023-02-13 15:07:42 +01:00
Opeyemi
d0355fcd12
Add update for PROD ACR upload ( #2643 )
...
* Add update for PROD ACR upload
* Add update image tags
* add suggestions
* delete comment
2023-01-30 16:12:09 -05:00
Oscar Hinton
9ea520e038
Move CI testing to Ubuntu ( #2638 )
...
Change the CI for testing job from Windows to Ubuntu
2023-01-30 11:07:20 +01:00
Matt Bishop
0e32cb944a
Upgrade Swagger ( #2611 )
2023-01-24 12:10:00 -05:00
Oscar Hinton
a7c2ff9dbf
Remove workflow_run ( #2606 )
2023-01-20 16:31:41 +01:00
Oscar Hinton
1f0fc43278
[SM-394] Secrets Manager ( #2164 )
...
Long lived feature branch for Secrets Manager
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
Co-authored-by: cd-bitwarden <106776772+cd-bitwarden@users.noreply.github.com>
Co-authored-by: CarleyDiaz-Bitwarden <103955722+CarleyDiaz-Bitwarden@users.noreply.github.com>
Co-authored-by: Thomas Avery <tavery@bitwarden.com>
Co-authored-by: Colton Hurst <colton@coltonhurst.com>
2023-01-13 15:02:53 +01:00
Matt Bishop
ea9e30c35f
Upload and process test results as an artifact and report ( #2555 )
2023-01-10 10:58:19 -05:00
mimartin12
90ef8d863a
Remove deprecated workflow ( #2525 )
2022-12-30 13:52:48 -06:00
Michał Chęciński
481ce38934
Fix failing ACR purge workflow ( #2511 )
...
* Fix failing ACR purge workflow
* Coment out prod for testing
* Enable prod after testing
2022-12-21 17:47:23 +01:00
Michał Chęciński
d60746d9b1
Add Billing Into Server CI Workflow ( #2478 )
2022-12-20 12:09:17 +01:00
Michał Chęciński
f173988979
Remove DCT bypass for scim ( #2451 )
2022-12-06 09:48:55 -05:00
Vince Grassia
a98a5d8dc6
Remove 'rc-2022.12' logic ( #2475 )
2022-12-05 20:24:44 -05:00
Opeyemi
f3b4363440
update ::set-output to latest ( #2470 )
...
* update ::set-output to latest
* update workflow for linter error
2022-12-05 16:12:42 +00:00
Vince Grassia
a26e9a168e
Change rc-2022.12 tag to beta ( #2456 )
2022-12-01 16:23:43 -05:00
Vince Grassia
447066e417
Enable DCT ( #2446 )
2022-11-28 22:02:33 -05:00
Joseph Flinn
691c5a9e98
Enable publishing self-host rc-2022.12 ( #2440 )
2022-11-23 19:04:19 -06:00
Joseph Flinn
2277625e74
Update self host release branches ( #2438 )
...
* Abstract the publishing branch logic (to make it easier to add/remove custom branches)
* Fix the conditional syntax
* Another try to fix the conditional syntax
* Updating the publish branch logic
* Wow...it's been a while since I've written Actions
* test the reverse of the publish branch check
* Trying again
* Another test
* Actions uses single quotes...
* retest the publish check if the branch actually is correct
* Switching to using the ENV instead of outputs
* test no publish branch
* Switch all of the publish conditionals and remove the testing code
* Remove more test code
2022-11-23 15:47:57 -07:00
Vince Grassia
52144c5bf9
Fix Build Self-Host workflow ( #2437 )
2022-11-23 10:48:09 -08:00
Vince Grassia
0795545fb8
Update Unified Self-Host Build Workflow ( #2432 )
2022-11-23 07:21:22 -08:00
Vince Grassia
194dfe7e14
Bitwarden Unified Self-Host project ( #2410 )
2022-11-18 14:39:01 -05:00
Vince Grassia
3bece3c3ad
Add Build Self-Host workflow stub ( #2417 )
2022-11-16 13:47:25 -05:00
Todd Martin
30efd80684
Updated environment for Prod Github Deployment to not specify service name ( #2392 )
...
* Updated environment for deployments to not specify service name.
* Fixed linting errors.
(cherry picked from commit b40b0f57cc
)
* Undid changes to QA deployment. This will be moved to the devops repo so no changes here are necessary.
2022-11-14 20:21:06 -05:00
Todd Martin
dd75642aa3
Changed Github deployments not to run on Dry Run. ( #2406 )
2022-11-14 13:43:08 -05:00
Rui Tomé
9ecf69d9ca
[EC-736] Update build to run SCIM tests and fix failing test ( #2402 )
...
* [EC-736] Revert change on OrganizationUserUserViewQuery
Revert a change that was causing the query to not return results when the OrganizationUser did not have a corresponding row on the Users table
* [EC-736] Update build to run bitwarden_license test projects
2022-11-10 14:19:28 +00:00
Opeyemi
a300643505
add run-name for releases to include their workflow trigger ( #2390 )
...
* add run-name for releases to include their workflow trigger
* add edit for linter errors
2022-11-08 20:26:47 +00:00
sneakernuts
52fd999b29
added ability to utilize signed commits ( #2333 )
...
* added ability to utilize signed commits
* added steps for az kv
2022-10-13 20:05:11 +00:00
Vince Grassia
c6b2f19cd6
Switch to using get-keyvault-secrets action from our gh-actions repo ( #2328 )
2022-10-04 17:23:43 -04:00
Joseph Flinn
b59cc71424
Revert "Update deprecated Azure Key Vault in workflows ( #2214 )" ( #2326 )
...
This reverts commit 13e33cd789
.
2022-10-04 18:23:08 +00:00
Michał Chęciński
13e33cd789
Update deprecated Azure Key Vault in workflows ( #2214 )
2022-09-29 13:29:58 -07:00
Michał Chęciński
65e9520d09
Update artifact download action ( #2312 )
2022-09-28 14:50:43 +02:00
Michał Chęciński
26fc67eec6
Devops 905 publish event processor ( #2239 )
...
* Change to EventsProcessor
* COmment out for testing
* Comment out for testing
* Comment out branch check
* Comment version check
* Add info about origin registry
* FIx condition
* Uncomment after testing
* Release events
2022-09-15 17:21:00 +02:00
Oscar Hinton
d6ce41c837
[SM-205] Trigger Database job on PRs ( #2255 )
2022-09-08 21:26:26 +02:00
Oscar Hinton
98351f5693
[SM-205] Add CI job for validating the database ( #2249 )
2022-09-08 21:14:34 +02:00
Micaiah Martin
edcac759eb
Update enforce-labels.yml ( #2248 )
2022-09-07 09:22:04 -05:00
Michał Chęciński
2b2f9fafd2
Publish EventsProcessor and Icons Images to Prod ACR ( #2210 )
...
* Add steps to publish image to prod acr
* Add comments for testing
* Fix
* FIx
* Remove comments after testing
* Try to fix condition
* Try to fix
* uncomment testing
2022-08-25 10:02:24 +02:00
Micaiah Martin
61f4a27d2b
[DEVOPS-862] Update logic to workflow ( #2194 )
2022-08-24 08:42:59 -06:00
Oscar Hinton
308ae7641b
[SM-152] Add CI to verify OSS is still building ( #2208 )
2022-08-24 10:45:33 +02:00
Micaiah Martin
c33732d583
[DEVOPS-862] Updates the paths trigger ( #2180 )
2022-08-11 15:54:37 +00:00
Micaiah Martin
b86a04cef9
[DEVOPS-862] Add protections around SQL migration modification changes ( #2177 )
2022-08-10 12:19:52 -06:00
Todd Martin
524ceb622c
Changes to clean up deployment creation in workflow jobs. ( #2160 )
...
Co-authored-by: Todd Martin <>
2022-08-03 11:39:35 -04:00
Oscar Hinton
1cad0268c0
[SM-142] Rename CommCore to Commercial.Core ( #2158 )
...
* Rename CommCore to Commercial.Core
2022-08-02 20:41:18 +02:00
Todd Martin
dd75e8886a
[ENG-71] Updated release job to create and update Github deployment for Jira integration ( #2141 )
...
* [ENG-71] updated release job to have Github deployment
* [ENG-71] Updated to use commit instead of v2.
* [ENG-71] Updated to track each server deployment.
Co-authored-by: Todd Martin <>
2022-07-25 17:19:56 -04:00
Micaiah Martin
f736008cb3
Update workflows for SCIM support ( #2133 )
2022-07-21 14:36:40 +00:00
Micaiah Martin
39d77cf09c
Update workflows for SCIM support ( #2131 )
2022-07-20 10:47:19 -06:00
Vince Grassia
45bbbc4beb
Update 'Dry Run' path in Release workflow ( #2124 )
2022-07-19 15:00:57 -04:00
Micaiah Martin
903273885b
Add SCIM image build and publish ( #2125 )
2022-07-19 07:35:26 -06:00
Michał Chęciński
4a7c39b08f
Add version change check in the version bump workflow ( #2118 )
2022-07-15 11:08:42 +02:00
Michał Chęciński
4b43951b59
Remove tagging Docker images latest on release ( #2098 )
2022-07-13 15:44:57 +02:00