-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ImportAsyncEvents
- Loading branch information
Showing
768 changed files
with
13,427 additions
and
7,193 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,6 @@ | ||
# ignore all | ||
** | ||
|
||
# Except src for building | ||
!./src/* | ||
!Directory.Build.props | ||
|
||
# TODO : Remove this line when Docker Buildkit works in Windows | ||
!/.build/release/* | ||
|
||
# Ignore any App_Data folder | ||
**/App_Data/ | ||
|
||
# Ignore all prebuild | ||
# Ignore all built assets | ||
**/[b|B]in/ | ||
**/[O|o]bj/ |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,7 @@ | ||
# .git-blame-ignore-revs | ||
|
||
# Define formatting rules (#16567) | ||
657342d05a221dfaba1fdf46813c0161dd12d4ec | ||
|
||
# Convert to file-scope namespaces (#16539) | ||
05730cfeb221680240feb3d9edca563bc388a1ef |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "nuget" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
# Dependabot can handle at most 150 "manifests", so for NuGet, csprojs referencing packages (see docs: | ||
# https://docs.github.com/en/enterprise-cloud@latest/code-security/supply-chain-security/understanding-your-software-supply-chain/troubleshooting-the-dependency-graph#are-there-limits-which-affect-the-dependency-graph-data). | ||
# Thus, it would fail for the whole solution. | ||
# Grouping updates per directories or otherwise trying to have smaller batches is unnecessary, because due to | ||
# centralized package management, Dependabot will find all dependencies from any project. So, just processing the | ||
# OrchardCore project. | ||
- package-ecosystem: "nuget" | ||
directory: "/src/OrchardCore/OrchardCore" | ||
schedule: | ||
interval: "weekly" | ||
groups: | ||
# Grouped version updates configuration | ||
all-dependencies: | ||
patterns: | ||
- "*" | ||
ignore: | ||
# We'll update GraphQL for v3 because it's breaking, see https://github.com/OrchardCMS/OrchardCore/issues/16826. | ||
- dependency-name: "GraphQL*" | ||
# See the corresponding comment in Directory.Packages.props. | ||
- dependency-name: "System.Drawing.Common" |
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
FROM --platform=$BUILDPLATFORM golang:alpine AS build | ||
# TARGETARCH and TARGETOS are set automatically when --platform is provided. | ||
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env | ||
ARG TARGETOS | ||
|
||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env | ||
LABEL stage=build-env | ||
WORKDIR /app | ||
WORKDIR /source | ||
|
||
# Copy and build | ||
COPY ./src /app | ||
COPY Directory.Build.props / | ||
# copy required files for building | ||
# .dockerignore excludes App_Data and binaries from these | ||
COPY ./src ./src | ||
COPY Directory.Build.props . | ||
COPY Directory.Packages.props . | ||
|
||
RUN dotnet publish /app/OrchardCore.Cms.Web -c Release -o ./build/release --framework net8.0 /p:RunAnalyzers=false | ||
# build, results are placed in /app | ||
RUN dotnet publish src/OrchardCore.Cms.Web/OrchardCore.Cms.Web.csproj -c Release -o /app --framework net8.0 /p:RunAnalyzers=false | ||
|
||
# Build runtime image | ||
# build runtime image | ||
FROM mcr.microsoft.com/dotnet/aspnet:8.0-nanoserver-1809 AS build_windows | ||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS build_linux | ||
FROM build_${TARGETOS} AS aspnet | ||
|
||
EXPOSE 80 | ||
ENV ASPNETCORE_URLS http://+:80 | ||
ENV ASPNETCORE_URLS=http://+:80 | ||
WORKDIR /app | ||
COPY --from=build-env /app/build/release . | ||
COPY --from=build-env /app/ . | ||
ENTRYPOINT ["dotnet", "OrchardCore.Cms.Web.dll"] |
Oops, something went wrong.