Skip to content

Commit

Permalink
fix conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaNitschke committed Mar 15, 2024
2 parents 839709b + 4501805 commit e9326c7
Show file tree
Hide file tree
Showing 1,255 changed files with 55,932 additions and 100,723 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docs-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ on:
pull_request:
branches:
- master

jobs:
linting:
name: "Markdown linting"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Check out the code
- name: Lint Code Base
uses: docker://ghcr.io/igorshubovych/markdownlint-cli:latest
Expand All @@ -23,12 +23,12 @@ jobs:
name: "Spell check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
name: Check out the code
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
name: Setup node
with:
node-version: "16"
node-version: 18
- run: npm install -g cspell
name: Install cSpell
- run: cspell --config ./docs/cSpell.json "docs/**/*.md"
Expand Down
37 changes: 17 additions & 20 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@ name: Docs build and deploy

on:
# run it on push to the default repository branch
push:
branches: [master]
# push:
# branches: [ master ]
workflow_dispatch:
inputs:
publish_docs:
description: 'Publish docs'
type: boolean
default: true

env:
config: Release
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
node_version: 16.x
node_version: 18.x

jobs:
build-and-test-code:
Expand All @@ -26,39 +27,35 @@ jobs:
# define the test matrix
matrix:
# selected operation systems to run CI
os: [ubuntu-latest]
os: [ ubuntu-latest ]

steps:
- uses: actions/checkout@v3

- name: Install .NET 7.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x

- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.node_version }}

- name: Build & Deploy docs preview
run: ./build.sh --no-color publish-docs-preview
run: |
./build.sh --no-color publish-docs-preview
if: ${{ github.ref != 'refs/heads/master' && github.event.inputs.publish_docs == 'true' }}
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

- name: Build & Deploy docs
run: ./build.sh --no-color publish-docs
run: |
./build.sh --no-color publish-docs
if: ${{ github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event.inputs.publish_docs == 'true') }}
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

- name: Generate Algolia DocSearch index
uses: darrenjennings/algolia-docsearch-action@master
if: ${{ github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event.inputs.publish_docs == 'true') }}
with:
algolia_application_id: ${{ secrets.ALGOLIA_APPLICATION_ID }}
algolia_api_key: ${{ secrets.ALGOLIA_API_KEY }}
file: 'docs/.vitepress/algolia-config.json'
# - name: Generate Algolia DocSearch index
# uses: darrenjennings/algolia-docsearch-action@master
# if: ${{ github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event.inputs.publish_docs == 'true') }}
# with:
# algolia_application_id: ${{ secrets.ALGOLIA_APPLICATION_ID }}
# algolia_api_key: ${{ secrets.ALGOLIA_API_KEY }}
# file: 'docs/.vitepress/algolia-config.json'
8 changes: 4 additions & 4 deletions .github/workflows/on-manual-do-nuget-publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Marten NuGet Manual Publish

on: [workflow_dispatch]
on: [ workflow_dispatch ]

env:
config: Release
Expand All @@ -14,12 +14,12 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install .NET 7.0.x
- name: Install .NET 8.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x

- name: Run Pack
run: ./build.sh --no-color pack
Expand Down
81 changes: 0 additions & 81 deletions .github/workflows/on-push-do-ci-build-pg10.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
name: build_net6.0 pg12 System.Text.Json
name: build_net7.0 pg12-plv8 Json.NET

on:
push:
branches:
- master
paths-ignore:
- 'documentation/**'
- 'docs/**'
- 'azure-pipelines.yml'
pull_request:
branches:
- master
paths-ignore:
- 'documentation/**'
- 'docs/**'
- 'azure-pipelines.yml'

env:
config: Release
Expand All @@ -29,7 +32,7 @@ jobs:

services:
postgres:
image: oskardudycz/postgres-plv8:12-2
image: ionx/postgres-plv8:12.8
ports:
- 5432:5432
env:
Expand All @@ -43,7 +46,7 @@ jobs:
--health-retries 5
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install .NET 6.0.x
uses: actions/setup-dotnet@v3
Expand All @@ -55,6 +58,11 @@ jobs:
with:
dotnet-version: 7.0.x

- name: Install .NET 8.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Install Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -71,12 +79,21 @@ jobs:
run: |
PG_CONTAINER_NAME=$(docker ps --filter expose=5432/tcp --format {{.Names}})
docker exec $PG_CONTAINER_NAME bash -c "echo -e '\nfsync = off' >> /var/lib/postgresql/data/postgresql.conf"
docker exec $PG_CONTAINER_NAME bash -c "echo -e '\nfull_page_writes = off' >> /var/lib/postgresql/data/postgresql.conf"
docker exec $PG_CONTAINER_NAME bash -c "echo -e '\nsynchronous_commit = off' >> /var/lib/postgresql/data/postgresql.conf"
docker container restart $PG_CONTAINER_NAME
shell: bash

- name: Build
env:
DEFAULT_SERIALIZER: "SystemTextJson"
DEFAULT_SERIALIZER: "Newtonsoft"
marten_testing_database: "Host=localhost;Port=5432;Database=${{ env.pg_db }};Username=${{ env.pg_user }}"
run: dotnet run --project build/build.csproj -f net7.0 -c Release -- ci
shell: bash

- name: Test Extensions
env:
DEFAULT_SERIALIZER: "Newtonsoft"
marten_testing_database: "Host=localhost;Port=5432;Database=${{ env.pg_db }};Username=${{ env.pg_user }}"
run: dotnet run --project build/build.csproj -f net7.0 -c Release -- test-extension-libs
shell: bash
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
name: build_net6.0 pg11
name: build_net6.0 pg12-plv8 System.Text.Json

on:
push:
branches:
- master
paths-ignore:
- 'documentation/**'
- 'docs/**'
- 'azure-pipelines.yml'
pull_request:
branches:
- master
paths-ignore:
- 'documentation/**'
- 'docs/**'
- 'azure-pipelines.yml'

env:
config: Release
Expand All @@ -29,7 +32,7 @@ jobs:

services:
postgres:
image: ionx/postgres-plv8:11.5
image: ionx/postgres-plv8:12.8
ports:
- 5432:5432
env:
Expand All @@ -43,7 +46,8 @@ jobs:
--health-retries 5
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install .NET 6.0.x
uses: actions/setup-dotnet@v3
with:
Expand All @@ -54,6 +58,11 @@ jobs:
with:
dotnet-version: 7.0.x

- name: Install .NET 8.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x

- name: Install Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -70,11 +79,21 @@ jobs:
run: |
PG_CONTAINER_NAME=$(docker ps --filter expose=5432/tcp --format {{.Names}})
docker exec $PG_CONTAINER_NAME bash -c "echo -e '\nfsync = off' >> /var/lib/postgresql/data/postgresql.conf"
docker exec $PG_CONTAINER_NAME bash -c "echo -e '\nfull_page_writes = off' >> /var/lib/postgresql/data/postgresql.conf"
docker exec $PG_CONTAINER_NAME bash -c "echo -e '\nsynchronous_commit = off' >> /var/lib/postgresql/data/postgresql.conf"
docker container restart $PG_CONTAINER_NAME
shell: bash

- name: Build
env:
DEFAULT_SERIALIZER: "SystemTextJson"
marten_testing_database: "Host=localhost;Port=5432;Database=${{ env.pg_db }};Username=${{ env.pg_user }}"
run: dotnet run --project build/build.csproj -f net6.0 -c Release -- ci
shell: bash

- name: Test Extensions
env:
DEFAULT_SERIALIZER: "SystemTextJson"
marten_testing_database: "Host=localhost;Port=5432;Database=${{ env.pg_db }};Username=${{ env.pg_user }}"
run: dotnet run --project build/build.csproj -f net7.0 -c Release -- ci
run: dotnet run --project build/build.csproj -f net6.0 -c Release -- test-extension-libs
shell: bash
Loading

0 comments on commit e9326c7

Please sign in to comment.