1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00
Commit Graph

96 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
194dfe7e14
Bitwarden Unified Self-Host project (#2410) 2022-11-18 14:39:01 -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
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
Oscar Hinton
308ae7641b
[SM-152] Add CI to verify OSS is still building (#2208) 2022-08-24 10:45:33 +02: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
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
Micaiah Martin
903273885b
Add SCIM image build and publish (#2125) 2022-07-19 07:35:26 -06:00
Micaiah Martin
5e1e634632
Require lint job before building artifacts (#2109) 2022-07-11 15:30:52 -06:00
Justin Baur
daeaa42851
[PS-40] Upgrade to .NET 6 (#2056)
* Bump to .NET 6

* Update Docker images

* Update docs

* Update workflow for linter

* Add all common versions to props file

* Update tools manifest

* Update csproj files

* Update packages.lock.json files

* Switch to setup-dotnet

* Remove msbuild

* Fix deps breaking changes

* Manually install msbuild

* Use msbuild for build

* Fix verbosity switch

* Remove unused exceptions

* Address linter feedback

* Make Obsolete warnings suggestions for now.

* Force Evaluate

* Format on tests

* Run formatting again.

* Use windows 2022

* force evaluate

* Fix restore

* Fix linter

* Skip test

* Update Directory.Build.props

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>

* Address PR feedback

* Add IntegationTest for Rate limiter

* Fix test

* Reenable test

* Reorder test

* Skip test again

* Add tracking link

* Update .github/workflows/build.yml

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

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
Co-authored-by: Micaiah Martin <77340197+mimartin12@users.noreply.github.com>
2022-06-24 10:39:34 -04:00
Micaiah Martin
685b63c41f
Updated actions & applied linting (#1912) 2022-03-16 09:18:35 -06:00
Vince Grassia
6dc0382c5f
Add caching to Build workflow (#1911) 2022-03-15 14:56:50 -04:00
Micaiah Martin
72baf6deab
[BEEEP] - Moved linting steps (#1907) 2022-03-14 07:31:03 -06:00
Oscar Hinton
a92d4f9bde
Cleanup node scripts (#1858) 2022-03-03 23:53:09 +01:00
Vince Grassia
3cefd5fd5d
Add Docker Stub Checksum (#1888) 2022-02-28 09:38:59 -05:00
Micaiah Martin
52ddf55029
patch for swagger build step (#1882) 2022-02-23 10:29:17 -08:00
Micaiah Martin
ec33e39442
[BEEEP] Ignored workflows from triggering builds (#1881) 2022-02-23 10:29:19 -06:00
Oscar Hinton
8d6c49f656
Add lock files for NuGet (#1855) 2022-02-10 15:40:31 +01:00
Oscar Hinton
f246f51249
Remove node from main test task (#1856) 2022-02-10 10:14:45 +01:00
Joseph Flinn
a4ae38fc95
Rename hotfix branch to hotfix-rc (#1854) 2022-02-09 08:17:17 -08:00
Joseph Flinn
85797bde07
Patch/docker build (#1825)
* Patch to fix the broken dockerhub push

* undoing a keyboard slip
2022-01-24 12:42:14 -08:00
Joseph Flinn
41f3e27ace
Feature/feature branch docker images (#1824)
* enabling ACR images for feature branches

* fixing typo in docker tag name

* Adding a workflow that cleans up the docker images from a branch when it gets merged in.

* Updating job name

* Fixing trigger syntax issue

* adding a manual trigger

* Removing the copy + paste mistake

* Adding non-tty confirmation for the deletion of the image

* Un-paralellizing workflow

* fixing the yq options

* trying a different way to get the var data

* trying with quotes

* trying it for real

* adding in a message and testing deleting a tag that doesn't exist

* handling the case where the tag doesn't exist

* fixing a typo

* logging some vaules to try to get some answers

* trying a different way of passing the var into jq

* final cleanup and test

* fixing linting issues

* normalizing the ACR and Dockerhub pushes

* removing the manual trigger after done testing

* Update .github/workflows/build.yml

removing missed an added whitespace

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

* fixing the EventsProcessor docker repo issue

* switching repos for EventsProcessor

Co-authored-by: Micaiah Martin <77340197+mimartin12@users.noreply.github.com>
2022-01-24 11:12:37 -08:00
Vince Grassia
44b993ed38
Remove hash from image tag (#1772) 2021-12-16 11:47:01 -05:00
Oscar Hinton
23b0a1f9df
Run dotnet format (#1764) 2021-12-16 15:35:09 +01:00
Oscar Hinton
61dc65aa59
Add dotnet-format tool (#1756) 2021-12-16 08:48:30 +01:00
Vince Grassia
4ccbf091fb
Remove check for EventsProcessor (#1749) 2021-12-08 00:19:15 -05:00