-
Notifications
You must be signed in to change notification settings - Fork 3
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
1,324 changed files
with
106,615 additions
and
203 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 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
end_of_line = lf | ||
# editorconfig-tools is unable to ignore longs strings or urls | ||
max_line_length = off | ||
|
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,85 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Typescript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# dotenv environment variables file | ||
.env | ||
.env.mcm | ||
|
||
# gatsby files | ||
.cache/ | ||
|
||
# Mac files | ||
.DS_Store | ||
|
||
# Yarn | ||
yarn-error.log | ||
.pnp/ | ||
.pnp.js | ||
# Yarn Integrity file | ||
.yarn-integrity | ||
/.idea/ | ||
|
||
# MCM | ||
.secrets | ||
.scannerwork | ||
.env.bat | ||
|
||
### IDE ### | ||
.vscode/ | ||
.terminals.json | ||
.launch.json | ||
.package-lock.json | ||
|
||
# test and debug file | ||
api-manifest.yml | ||
idp-manifest.yml |
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,63 @@ | ||
#### WORKFLOW #### | ||
workflow: | ||
rules: | ||
- if: $CI_COMMIT_TAG | ||
when: never | ||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event' && '$CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH' | ||
when: never | ||
- when: always | ||
|
||
#### STAGES #### | ||
stages: | ||
# Prepare context for build stages: fetch thirdparty source code, compile build tools, etc. | ||
- prepare | ||
# Compile, generally turn source code into derived objects | ||
- pre-image | ||
# Build source code | ||
- build | ||
# Build, tag and push container images | ||
- image | ||
# # First level of testing e.g. unit tests | ||
- test | ||
# Prepare additional deployment descriptors e.g. K8s manifests, Helm charts, etc. | ||
#- bundle | ||
- verify | ||
- verify-all | ||
# Deploy to development environment, from feature branch, time-limited (24 hrs) | ||
- deploy-preview | ||
# Deploy to testing environment, from feature branch, time-limited (24 hrs) | ||
- deploy-testing | ||
- smoke-test | ||
- integration-test | ||
- functional-test | ||
# Stage to clean data, sast, rollback version or play api documentation | ||
- utils | ||
# Remove not wanted files or directory for publication | ||
- publication | ||
# Push build images from RC | ||
- helm-push-image | ||
# Push gitlab source to cloud | ||
- helm-gitlab | ||
# Package the helm | ||
- helm-package | ||
# Publish to public repo | ||
- cleanup | ||
|
||
#### INCLUDES #### | ||
include: | ||
- local: "commons/.gitlab-ci.yml" | ||
- local: "api/.gitlab-ci.yml" | ||
- local: "idp/.gitlab-ci.yml" | ||
- local: "administration/.gitlab-ci.yml" | ||
- local: "s3/.gitlab-ci.yml" | ||
- local: "vault/.gitlab-ci.yml" | ||
- local: "analytics/.gitlab-ci.yml" | ||
- local: "test/.gitlab-ci.yml" | ||
- local: "website/.gitlab-ci.yml" | ||
- local: "simulation-maas/.gitlab-ci.yml" | ||
- local: "antivirus/.gitlab-ci.yml" | ||
- local: "mailhog/.gitlab-ci.yml" | ||
- local: "bus/.gitlab-ci.yml" | ||
- local: "publication/.gitlab-ci.yml" | ||
# rules: | ||
# - if: $CI_COMMIT_BRANCH =~ /rc-.*/ && $CI_PIPELINE_SOURCE != "trigger" && $CI_PIPELINE_SOURCE != "schedule" |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*.css | ||
*.svg |
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,86 @@ | ||
module.exports = { | ||
extends: [ | ||
'airbnb-typescript', | ||
'airbnb/hooks', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:jest/recommended', | ||
'prettier', | ||
'plugin:prettier/recommended', | ||
], | ||
plugins: ['react', '@typescript-eslint', 'jest', 'react-hooks'], | ||
env: { | ||
browser: true, | ||
es2021: true, | ||
}, | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaFeatures: { | ||
jsx: true, | ||
}, | ||
ecmaVersion: 12, | ||
sourceType: 'module', | ||
project: ['./tsconfig.json'], | ||
}, | ||
rules: { | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-non-null-asserted-optional-chain" : "off", | ||
"@typescript-eslint/no-non-null-assertion" : "off", | ||
'max-len': 0, | ||
'react/prop-types': 0, | ||
'prettier/prettier': [ | ||
'error', | ||
{ endOfLine: 'auto' }, | ||
{ singleQuote: true }, | ||
], | ||
'@typescript-eslint/explicit-function-return-type': 'off', | ||
'react/jsx-filename-extension': [2, { extensions: ['.jsx', '.tsx'] }], | ||
'react/jsx-one-expression-per-line': 0, | ||
'@typescript-eslint/ban-ts-comment': 'off', | ||
'react/jsx-props-no-spreading': 'off', | ||
'no-use-before-define': 'off', | ||
'@typescript-eslint/no-use-before-define': ['error'], | ||
'react/jsx-filename-extension': [ | ||
'warn', | ||
{ | ||
extensions: ['.tsx'], | ||
}, | ||
], | ||
'import/extensions': [ | ||
'error', | ||
'ignorePackages', | ||
{ | ||
ts: 'never', | ||
tsx: 'never', | ||
}, | ||
], | ||
'import/no-extraneous-dependencies': [ | ||
'error', | ||
{ | ||
devDependencies: ['**/*.test.tsx', '*/jest-configs/*'], | ||
}, | ||
], | ||
'no-shadow': 'off', | ||
'@typescript-eslint/no-shadow': ['error'], | ||
'@typescript-eslint/explicit-function-return-type': [ | ||
'error', | ||
{ | ||
allowExpressions: true, | ||
}, | ||
], | ||
'max-len': [ | ||
'warn', | ||
{ | ||
code: 80, | ||
}, | ||
], | ||
'react-hooks/rules-of-hooks': 'error', | ||
'react-hooks/exhaustive-deps': 'warn', | ||
'import/prefer-default-export': 'off', | ||
'react/prop-types': 'off', | ||
}, | ||
settings: { | ||
'import/resolver': { | ||
typescript: {}, | ||
}, | ||
}, | ||
}; |
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,24 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
/public/keycloak.json | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
Oops, something went wrong.