-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
362 changed files
with
68,566 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"version": 1, | ||
"isRoot": true, | ||
"tools": { | ||
"sitecore.cli": { | ||
"version": "5.2.113", | ||
"commands": [ | ||
"sitecore" | ||
] | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Helix Check | ||
|
||
# Controls when the action will run. HelixCheck workflow will run on push | ||
# events but only for the master branch | ||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
# Set up the HelixCheck job | ||
jobs: | ||
check_job: | ||
name: Helix check | ||
runs-on: ubuntu-latest | ||
|
||
# Check out the repo | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
# Configure the Helix Check step | ||
- name: Helix Check | ||
uses: ethisysltd/[email protected] | ||
id: check | ||
with: | ||
solution-file: 'Helixbase.sln' # Set the name of your solution file here | ||
project-name: 'Helixbase' # Add the project name here. Helix Base naming is Helixbase.Feature.Hero for example so the project name is 'Helixbase' | ||
website-folder: 'website' # Older versions of Helix will use 'code' here, newer is 'website' | ||
|
||
# Output the HelixCheck results | ||
- name: Get the check result | ||
run: echo "Check result - ${{ steps.check.outputs.result }}" | ||
|
||
- name: Get the output time | ||
run: echo "The time was - ${{ steps.check.outputs.time }}" |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: ASP.NET CI | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
#NuGet restore | ||
steps: | ||
# - uses: actions/checkout@master | ||
|
||
# - name: Setup Nuget.exe | ||
# uses: warrenbuckley/Setup-Nuget@v1 | ||
|
||
# - name: restore package | ||
# run: dotnet restore Helixbase.sln | ||
|
||
# - name: Nuget Restore | ||
# run: nuget restore Helixbase.sln | ||
|
||
#MSBUILD | ||
- uses: actions/checkout@master | ||
|
||
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- name: MSBuild | ||
#working-directory: src | ||
run: msbuild Helixbase.sln /t:Restore |
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: Code Analysis | ||
|
||
# Controls when the action will run. | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the master branch | ||
push: | ||
branches: [ master, main, develop ] | ||
pull_request: | ||
branches: [ master, main, develop ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
- name: SonarQube Scanner Action | ||
# You may pin to the exact commit or the version. | ||
# uses: philips-software/sonar-scanner-action@ef83739514c95cc6f80ecf5bf34f6bef4db557e4 | ||
uses: philips-software/[email protected] | ||
with: | ||
# Sonar Project name | ||
projectName: helixbase | ||
# Sonar Project Key | ||
projectKey: helixbase | ||
# Project Base Directory | ||
#baseDir: # optional | ||
# Sonar Login Token | ||
token: ${{ secrets.SONAR_LOGIN_TOKEN }} | ||
# Sonar Server url | ||
url: https://ethisys-sonarq.azurewebsites.net/ | ||
# SCM provider | ||
#scmProvider: # optional, default is git | ||
# Encoding of the source files | ||
#sourceEncoding: # optional, default is UTF-8 | ||
# Decorate a pull request. PR, branch and base are extracted from the pull request event | ||
#enablePullRequestDecoration: # optional | ||
# Generate sonar configuration, scanner will not be invoked. Sonar parameters are available as output | ||
#onlyConfig: # optional | ||
# Flags if your SonarQube instance is Community edition. Skips setting PRs/branches and defaults to master | ||
#isCommunityEdition: # optional | ||
# Run the quality gate associated to this repo in SonarQube | ||
# runQualityGate: # optional | ||
# Number of seconds until build is failed for not passing quailty gate. Defaulted to 300 by SonarQube | ||
#qualityGateTimeout: # optional | ||
|
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
templates.modules.folder=.\helixtemplates | ||
templates.modules.downloadurl=https://github.com/laubplusco/helix-templates/archive/master.zip | ||
templates.modules.skipcreatedialog=false |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "ModuleFile", | ||
"description": "Sitecore module definition file schema", | ||
"allOf": [ | ||
{ | ||
"title": "ModuleConfiguration", | ||
"type": "object", | ||
"description": "Defines a \"DevEx Module\" that is a Helix-like module that can contain serialized item configurations, etc.\nThis class is overridden with Serialization-specific derived versions that provide access to their module-specific settings.", | ||
"additionalProperties": {}, | ||
"required": [ | ||
"namespace" | ||
], | ||
"properties": { | ||
"$schema": { | ||
"type": "string" | ||
}, | ||
"namespace": { | ||
"type": "string", | ||
"description": "The namespace of the module. All resources in the module inherit this namespace.\nNamespaces can contain letters, numbers, dots (.), and hyphens (-).", | ||
"minLength": 1, | ||
"pattern": "^[A-Za-z0-9\\.\\-\\$\\{\\}\\(\\)]+$" | ||
}, | ||
"description": { | ||
"type": "string", | ||
"description": "Description of the module, for reference/docs purposes only" | ||
}, | ||
"references": { | ||
"type": "array", | ||
"description": "Names of other modules that are referenced by resources in this module. Wildcards are allowed, i.e. Foundation.*.", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"source": { | ||
"type": "string", | ||
"description": "Generic identifier as to where the module came from. Used internally for error messaging. Do not set in a module file; it will be ignored." | ||
} | ||
} | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,126 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "RootConfigurationFile", | ||
"type": "object", | ||
"description": "Defines the root Sitecore Developer Configuration file", | ||
"additionalProperties": false, | ||
"required": [ | ||
"modules" | ||
], | ||
"properties": { | ||
"$schema": { | ||
"type": "string" | ||
}, | ||
"modules": { | ||
"type": "array", | ||
"description": "Sitecore module file resolution globs", | ||
"minItems": 1, | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"plugins": { | ||
"type": "array", | ||
"description": "Contains a list of Sitecore Plugin NugetPackages. The format of the name is [NugetPackageName]@[NugetPackageVersion]. These entries are normally managed using\nthe 'Sitecore Plugin Add' and 'Sitecore Plugin Remove' commands", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"serialization": { | ||
"description": "Global item serialization default settings", | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/SerializationRootConfiguration" | ||
} | ||
] | ||
}, | ||
"settings": { | ||
"description": "Cli settings", | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/Settings" | ||
} | ||
] | ||
} | ||
}, | ||
"definitions": { | ||
"SerializationRootConfiguration": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"defaultMaxRelativeItemPathLength": { | ||
"type": "integer", | ||
"description": "Max relative item path length to serialize before considering path too long (and requiring aliasing to shorten).\nOverridable on a per-module basis; this is the default when it is unspecified.", | ||
"format": "int32", | ||
"default": 120 | ||
}, | ||
"defaultModuleRelativeSerializationPath": { | ||
"type": "string", | ||
"description": "The default relative physical path from a module file where serialized items for that module will be stored.\nFor example given module /c/foo/bar.module.json, and default '/serialization/items' path,\nthe serialized items for bar would be stored at /c/foo/bar/serialization/items.\nPrefix the path with ~/ for a root configuration relative path instead of a module-relative path.\nUse '$(module)' to insert the module name when using a root relative path.\nOverridable on a per-module basis; this is the default when it is unspecified.", | ||
"default": "serialization" | ||
}, | ||
"removeOrphansForRoles": { | ||
"type": "boolean", | ||
"description": "Specifies remove orphans functionality for roles serialization", | ||
"default": true | ||
}, | ||
"removeOrphansForUsers": { | ||
"type": "boolean", | ||
"description": "Specifies remove orphans functionality for users serialization", | ||
"default": true | ||
}, | ||
"continueOnItemFailure": { | ||
"type": "boolean", | ||
"description": "Specifies behavior when item synchronization fails", | ||
"default": false | ||
}, | ||
"excludedFields": { | ||
"type": "array", | ||
"description": "Configure base fields filter", | ||
"items": { | ||
"$ref": "#/definitions/FieldFilter" | ||
} | ||
} | ||
} | ||
}, | ||
"FieldFilter": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"fieldId": { | ||
"type": "string" | ||
}, | ||
"description": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"Settings": { | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"telemetryEnabled": { | ||
"type": "boolean", | ||
"description": "Determines if telemetry is enabled in cli.", | ||
"default": true | ||
}, | ||
"cacheAuthenticationToken": { | ||
"type": "boolean", | ||
"description": "Determines if CLI should cache authentication token.", | ||
"default": true | ||
}, | ||
"versionComparisonEnabled": { | ||
"type": "boolean", | ||
"description": "Determines if CLI\\SMS version comparison is enabled.", | ||
"default": true | ||
}, | ||
"apiClientTimeoutInMinutes": { | ||
"type": "integer", | ||
"description": "Determines timeout for Sitecore Api client.", | ||
"format": "int32", | ||
"default": 5 | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.