chore(deps): bump Elastic.CommonSchema.Serilog from 8.6.1 to 8.12.0 #1678
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: ghcr.io/sitkoru/actions-container | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Build | |
run: dotnet build -c Release | |
- name: Create packages | |
run: dotnet pack -c Release --no-build -p:PackageOutputPath=$(pwd)/packages | |
apps: | |
runs-on: ubuntu-latest | |
container: ghcr.io/sitkoru/actions-container | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run tests | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.App.Tests/Sitko.Core.App.Tests.csproj | |
blazor: | |
runs-on: ubuntu-latest | |
container: ghcr.io/sitkoru/actions-container | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '15' | |
cache: 'npm' | |
cache-dependency-path: | | |
src/Sitko.Core.Blazor.AntDesign/Web/package.json | |
- name: Build Sitko.Core.Blazor.AntDesign js | |
working-directory: src/Sitko.Core.Blazor.AntDesign/Web | |
shell: bash | |
run: | | |
npm ci | |
npm run prod | |
- name: Run tests | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.App.Blazor.Tests/Sitko.Core.App.Blazor.Tests.csproj | |
grpc: | |
runs-on: ubuntu-latest | |
container: ghcr.io/sitkoru/actions-container | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run tests | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.Grpc.Client.Tests/Sitko.Core.Grpc.Client.Tests.csproj | |
imgproxy: | |
runs-on: ubuntu-latest | |
container: ghcr.io/sitkoru/actions-container | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run tests | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.ImgProxy.Tests/Sitko.Core.ImgProxy.Tests.csproj | |
pdf: | |
runs-on: ubuntu-latest | |
container: ghcr.io/sitkoru/actions-container | |
env: | |
PUPPETEER_EXECUTABLE_PATH: "/usr/bin/google-chrome-stable" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install chrome | |
run: | | |
apt-get update | |
apt-get install -y google-chrome-stable | |
- name: Run tests | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.Pdf.Tests/Sitko.Core.Pdf.Tests.csproj | |
queue: | |
runs-on: ubuntu-latest | |
container: ghcr.io/sitkoru/actions-container | |
env: | |
QUEUE__NATS__SERVERS__0: nats://nats:4222 | |
QUEUE__NATS__CLUSTERNAME: test-cluster | |
services: | |
nats: | |
image: nats-streaming:latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run tests Sitko.Core.Queue | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.Queue.Test/Sitko.Core.Queue.Tests.csproj | |
- name: Run tests Sitko.Core.Queue.Nats | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.Queue.Nats.Tests/Sitko.Core.Queue.Nats.Tests.csproj | |
- name: Run tests Sitko.Core.Queue.InMemory | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.Queue.InMemory.Tests/Sitko.Core.Queue.InMemory.Tests.csproj | |
repository: | |
runs-on: ubuntu-latest | |
container: ghcr.io/sitkoru/actions-container | |
env: | |
DB__POSTGRES__TESTDBCONTEXT__HOST: postgres | |
DB__POSTGRES__SECONDTESTDBCONTEXT__HOST: postgres | |
DB__POSTGRES__TPHDBCONTEXT__HOST: postgres | |
TESTS__USEPOSTGRES: "true" | |
services: | |
postgres: | |
image: postgres:alpine | |
env: | |
POSTGRES_HOST_AUTH_METHOD: trust | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run EF Core tests | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.Repository.EntityFrameworkCore.Tests/Sitko.Core.Repository.EntityFrameworkCore.Tests.csproj | |
- name: Run Remote tests | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.Repository.Remote.Tests/Sitko.Core.Repository.Remote.Tests.csproj | |
sonyflake: | |
runs-on: ubuntu-latest | |
container: ghcr.io/sitkoru/actions-container | |
env: | |
IDPROVIDER__SONYFLAKE__URI: http://sonyflake | |
services: | |
sonyflake: | |
image: titpetric/sonyflake | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run tests | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.SonyFlake.Tests/Sitko.Core.SonyFlake.Tests.csproj | |
opensearch: | |
runs-on: ubuntu-latest | |
container: ghcr.io/sitkoru/actions-container | |
env: | |
OpenSearchModuleOptions__Url: http://opensearch:9200 | |
OpenSearchModuleOptions__Login: admin | |
OpenSearchModuleOptions__Password: sikdadasDA123@ituDSSaMydfdssdss | |
services: | |
opensearch: | |
image: opensearchproject/opensearch:latest | |
ports: [ "9200:9200" ] | |
env: | |
discovery.type: single-node | |
plugins.security.disabled: true | |
OPENSEARCH_INITIAL_ADMIN_PASSWORD: sikdadasDA123@ituDSSaMydfdssdss | |
options: >- | |
--health-cmd="curl http://localhost:9200/_cluster/health" | |
--health-interval=10s | |
--health-timeout=5s | |
--health-retries=10 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run opensearch tests | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.Search.OpenSearch.Tests/Sitko.Core.Search.OpenSearch.Tests.csproj | |
storage: | |
runs-on: ubuntu-latest | |
container: ghcr.io/sitkoru/actions-container | |
env: | |
STORAGE__S3__TESTS3STORAGESETTINGS__SERVER: http://minio:9000 | |
STORAGE__S3__TESTS3STORAGESETTINGS__ACCESSKEY: ptTYf7VkCVbUjAzn | |
STORAGE__S3__TESTS3STORAGESETTINGS__SECRETKEY: RddqonEnrZZaCU7kkZszN9yiMFkX7rH3 | |
STORAGE__METADATA__POSTGRES__TESTS3STORAGESETTINGS__HOST: postgres | |
STORAGE__METADATA__POSTGRES__TESTS3STORAGESETTINGS__USERNAME: postgres | |
STORAGE__METADATA__POSTGRES__TESTS3STORAGESETTINGS__PASSWORD: 123 | |
services: | |
minio: | |
image: bitnami/minio | |
env: | |
MINIO_ROOT_USER: ptTYf7VkCVbUjAzn | |
MINIO_ROOT_PASSWORD: RddqonEnrZZaCU7kkZszN9yiMFkX7rH3 | |
postgres: | |
image: postgres:alpine | |
env: | |
POSTGRES_HOST_AUTH_METHOD: trust | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Sitko.Core.Storage.FileSystem | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.Storage.FileSystem.Tests/Sitko.Core.Storage.FileSystem.Tests.csproj | |
- name: Sitko.Core.Storage.S3 | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.Storage.S3.Tests/Sitko.Core.Storage.S3.Tests.csproj | |
- name: Sitko.Core.Storage.Remote | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.Storage.Remote.Tests/Sitko.Core.Storage.Remote.Tests.csproj | |
- name: Sitko.Core.Storage.Metadata.Postgres | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.Storage.Metadata.Postgres.Tests/Sitko.Core.Storage.Metadata.Postgres.Tests.csproj | |
vault: | |
runs-on: ubuntu-latest | |
container: ghcr.io/sitkoru/actions-container | |
env: | |
VAULT__URI: http://vault:8200 | |
VAULT__TOKEN: twit3itPSAD0yok | |
VAULT__MOUNTPOINT: secret | |
VAULT__SECRETS__0: tests | |
VAULT__SECRETS__1: test2 | |
services: | |
vault: | |
image: hashicorp/vault | |
env: | |
VAULT_DEV_ROOT_TOKEN_ID: twit3itPSAD0yok | |
VAULT_DEV_LISTEN_ADDRESS: 0.0.0.0:8200 | |
options: --cap-add=IPC_LOCK | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run tests | |
run: dotnet test --logger GitHubActions tests/Sitko.Core.Configuration.Vault.Tests/Sitko.Core.Configuration.Vault.Tests.csproj | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
needs: [ build, apps, blazor, grpc, imgproxy, pdf, queue, repository, sonyflake, storage, vault, opensearch ] | |
if: ${{ github.event_name == 'push' }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Semantic Release | |
uses: sitkoru/semantic-release-action@v2 | |
env: | |
GH_TOKEN: ${{ secrets.BOT_TOKEN }} | |
GIT_AUTHOR_NAME: ${{ secrets.BOT_NAME }} | |
GIT_AUTHOR_EMAIL: ${{ secrets.BOT_EMAIL }} | |
GIT_COMMITTER_NAME: ${{ secrets.BOT_NAME }} | |
GIT_COMMITTER_EMAIL: ${{ secrets.BOT_EMAIL }} |