Skip to content

Commit

Permalink
[BRE-372] - Clean up document start
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeebru committed Oct 18, 2024
1 parent 91409a4 commit 9cd56ad
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 20 deletions.
1 change: 0 additions & 1 deletion .github/workflows/_move_finalization_db_scripts.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: _move_finalization_db_scripts
run-name: Move finalization database scripts

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/automatic-issue-responses.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Automatic responses
on:
issues:
Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Build

on:
Expand Down Expand Up @@ -408,25 +407,25 @@ jobs:
name: swagger.json
path: swagger.json
if-no-files-found: error

- name: Build Internal API Swagger
run: |
cd ./src/Api
echo "Restore API tools"
dotnet tool restore
echo "Publish API"
dotnet publish -c "Release" -o obj/build-output/publish
dotnet swagger tofile --output ../../internal.json --host https://api.bitwarden.com \
./obj/build-output/publish/Api.dll internal
cd ../Identity
echo "Restore Identity tools"
dotnet tool restore
echo "Publish Identity"
dotnet publish -c "Release" -o obj/build-output/publish
dotnet swagger tofile --output ../../identity.json --host https://identity.bitwarden.com \
./obj/build-output/publish/Identity.dll v1
cd ../..
Expand All @@ -448,7 +447,7 @@ jobs:
with:
name: identity.json
path: identity.json
if-no-files-found: error
if-no-files-found: error

build-mssqlmigratorutility:
name: Build MSSQL migrator utility
Expand Down Expand Up @@ -565,7 +564,7 @@ jobs:
tag: 'main'
}
})
trigger-ee-updates:
name: Trigger Ephemeral Environment updates
if: github.ref != 'refs/heads/main' && contains(github.event.pull_request.labels.*.name, 'ephemeral-environment')
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/cleanup-after-pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Container registry cleanup

on:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/cleanup-rc-branch.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Cleanup RC Branch

on:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/enforce-labels.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Enforce PR labels

on:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/protect-files.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Runs if there are changes to the paths: list.
# Starts a matrix job to check for modified files, then sets output based on the results.
# The input decides if the label job is ran, adding a label to the PR.
---
name: Protect files

on:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Publish
run-name: Publish ${{ inputs.publish_type }}

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Release
run-name: Release ${{ inputs.release_type }}

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/stale-bot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Staleness
on:
workflow_dispatch:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test-database.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Database testing

on:
Expand Down Expand Up @@ -55,7 +54,7 @@ jobs:
# I've seen the SQL Server container not be ready for commands right after starting up and just needing a bit longer to be ready
- name: Sleep
run: sleep 15s

- name: Checking pending model changes (MySQL)
working-directory: "util/MySqlMigrations"
run: 'dotnet ef migrations has-pending-model-changes -- --GlobalSettings:MySql:ConnectionString="$CONN_STR"'
Expand Down Expand Up @@ -114,7 +113,7 @@ jobs:
BW_TEST_DATABASES__3__CONNECTIONSTRING: "Data Source=${{ runner.temp }}/test.db"
run: dotnet test --logger "trx;LogFileName=infrastructure-test-results.trx"
shell: pwsh

- name: Print MySQL Logs
if: failure()
run: 'docker logs $(docker ps --quiet --filter "name=mysql")'
Expand Down

0 comments on commit 9cd56ad

Please sign in to comment.