Add drone #1

Closed
kjuulh wants to merge 110 commits from main into production
10 changed files with 1575 additions and 1359 deletions

9
.drone.yml Executable file
View File

@ -0,0 +1,9 @@
kind: pipeline
type: docker
name: "test"
steps:
- name: test
image: harbor.front.kjuulh.io/docker-proxy/library/bash:latest
commands:
- echo 'Run tests'

3
renovate.json Normal file
View File

@ -0,0 +1,3 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
}

View File

@ -3,7 +3,7 @@ WORKDIR /app
EXPOSE 80
EXPOSE 443
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
WORKDIR /src
COPY *.sln .

View File

@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.6.3"/>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0"/>
</ItemGroup>
<ItemGroup>

View File

@ -14,8 +14,8 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Mediatr" Version="9.0.0" />
<PackageReference Include="Mediatr.Extensions.Microsoft.DependencyInjection" Version="9.0.0" />
<PackageReference Include="Mediatr" Version="12.0.1" />
<PackageReference Include="Mediatr.Extensions.Microsoft.DependencyInjection" Version="11.1.0" />
</ItemGroup>
</Project>

View File

@ -11,7 +11,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="6.0.0"/>
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="7.0.5"/>
</ItemGroup>
<ItemGroup>

View File

@ -10,9 +10,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="MongoDB.Driver" Version="2.13.2"/>
<PackageReference Include="MongoDB.Driver.Core" Version="2.13.2"/>
<PackageReference Include="AspNetCore.HealthChecks.MongoDb" Version="5.0.1"/>
<PackageReference Include="MongoDB.Driver" Version="2.19.1"/>
<PackageReference Include="MongoDB.Driver.Core" Version="2.19.1"/>
<PackageReference Include="AspNetCore.HealthChecks.MongoDb" Version="6.0.2"/>
</ItemGroup>
<ItemGroup>

View File

@ -1,5 +1,5 @@
# Install dependencies only when needed
FROM node:14-alpine AS deps
FROM node:20-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
@ -7,7 +7,7 @@ COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
# Rebuild the source code only when needed
FROM node:14-alpine AS builder
FROM node:20-alpine AS builder
WORKDIR /app
ARG NEXT_PUBLIC_SERVER_URL="http://localhost:5000"
@ -17,7 +17,7 @@ COPY --from=deps /app/node_modules ./node_modules
RUN yarn build
# Production image, copy all the files and run next
FROM node:14-alpine AS runner
FROM node:20-alpine AS runner
WORKDIR /app
ENV NODE_ENV production

View File

@ -8,28 +8,28 @@
"lint": "next lint"
},
"dependencies": {
"@microsoft/signalr": "^6.0.0",
"@reduxjs/toolkit": "^1.6.2",
"@tippyjs/react": "^4.2.6",
"axios": "^0.24.0",
"next": "^12.2.5",
"next-pwa": "^5.6.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-redux": "^7.2.6",
"react-textarea-autosize": "^8.3.3",
"tailwindcss": "^2.2.19"
"@microsoft/signalr": "7.0.5",
"@reduxjs/toolkit": "1.9.5",
"@tippyjs/react": "4.2.6",
"axios": "1.4.0",
"next": "13.4.3",
"next-pwa": "5.6.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-redux": "8.0.5",
"react-textarea-autosize": "8.4.1",
"tailwindcss": "3.3.2"
},
"devDependencies": {
"@types/react": "^17.0.34",
"@types/react-redux": "^7.1.20",
"autoprefixer": "^10.4.0",
"cssnano": "^5.0.10",
"eslint": "7",
"eslint-config-next": "12.0.3",
"postcss": "^8.3.11",
"postcss-import": "^14.0.2",
"prettier": "^2.5.1",
"typescript": "^4.4.4"
"@types/react": "18.2.6",
"@types/react-redux": "7.1.25",
"autoprefixer": "10.4.14",
"cssnano": "6.0.1",
"eslint": "8.41.0",
"eslint-config-next": "13.4.3",
"postcss": "8.4.23",
"postcss-import": "15.1.0",
"prettier": "2.8.8",
"typescript": "5.0.4"
}
}

File diff suppressed because it is too large Load Diff