Skip to content

Commit a6919e5

Browse files
committed
Merge branch 'main-klee' of https://github.com/ansforge/DesignSystem into Klee branch
2 parents 6ab3dab + bcc6d75 commit a6919e5

File tree

484 files changed

+63360
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

484 files changed

+63360
-0
lines changed

.github/workflows/codeql.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL"
13+
14+
on:
15+
push:
16+
branches: [ main ]
17+
pull_request:
18+
# The branches below must be a subset of the branches above
19+
branches: [ main ]
20+
schedule:
21+
- cron: '39 20 * * 0'
22+
23+
jobs:
24+
analyze:
25+
name: Analyze
26+
runs-on: ubuntu-latest
27+
permissions:
28+
actions: read
29+
contents: read
30+
security-events: write
31+
32+
strategy:
33+
fail-fast: false
34+
matrix:
35+
language: [ 'javascript' ]
36+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37+
# Learn more about CodeQL language support at https://git.io/codeql-language-support
38+
39+
steps:
40+
- name: Checkout repository
41+
uses: actions/checkout@v3
42+
43+
# Initializes the CodeQL tools for scanning.
44+
- name: Initialize CodeQL
45+
uses: github/codeql-action/init@v2
46+
with:
47+
languages: ${{ matrix.language }}
48+
# If you wish to specify custom queries, you can do so here or in a config file.
49+
# By default, queries listed here will override any specified in a config file.
50+
# Prefix the list here with "+" to use these queries and those in the config file.
51+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
52+
53+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54+
# If this step fails, then you should remove it and run the build manually (see below)
55+
- name: Autobuild
56+
uses: github/codeql-action/autobuild@v2
57+
58+
# ℹ️ Command-line programs to run using the OS shell.
59+
# 📚 https://git.io/JvXDl
60+
61+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
62+
# and modify them (or add more) to build your code if your project
63+
# uses a compiled language
64+
65+
#- run: |
66+
# make bootstrap
67+
# make release
68+
69+
- name: Perform CodeQL Analysis
70+
uses: github/codeql-action/analyze@v2

.github/workflows/npm-gulp.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: NodeJS with Gulp
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
16+
- name: Use Node.js ${{ matrix.node-version }}
17+
uses: actions/setup-node@v1
18+
with:
19+
node-version: 12.4.0
20+
21+
- name: Build
22+
run: npm install
23+
24+
- name: Build gulp
25+
run: gulp
26+
27+
- name: Create Pull Request
28+
# You may pin to the exact commit or the version.
29+
# uses: peter-evans/create-pull-request@18f7dc018cc2cd597073088f7c7591b9d1c02672
30+
uses: peter-evans/[email protected]
31+
#with:
32+
# GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT)
33+
#token:
34+
# optional, default is ${{ github.token }}
35+
# Relative path under $GITHUB_WORKSPACE to the repository. Defaults to $GITHUB_WORKSPACE.

.gitlab-ci.yml

Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
################################################################################
2+
# Gitlab CI integration for Drupal 9.
3+
################################################################################
4+
5+
include:
6+
- '/.gitlab/ci/base.yml'
7+
- '/.gitlab/ci/images.yml'
8+
- '/.gitlab/ci/variables.yml'
9+
- '/.gitlab/ci/rules.yml'
10+
- '/.gitlab/ci/deploy.yml'
11+
- '/.gitlab/ci/jira.yml'
12+
13+
default:
14+
image: docksal/cli:php8.1
15+
tags:
16+
- ans-g2-g3
17+
18+
################################################################################
19+
# Stages.
20+
################################################################################
21+
22+
# Order is important fo dependency!
23+
stages:
24+
- build
25+
- audits
26+
- tests
27+
- deploy
28+
- jira
29+
- release
30+
- lint
31+
32+
################################################################################
33+
# Build job.
34+
################################################################################
35+
36+
build:site:
37+
stage: build
38+
needs: []
39+
extends:
40+
- .node_image
41+
- .build_rules
42+
before_script:
43+
- npm ci
44+
script:
45+
- ./node_modules/.bin/gulp
46+
artifacts:
47+
paths:
48+
- site
49+
- styleguide
50+
expire_in: 1 hour
51+
52+
################################################################################
53+
# Code quality jobs.
54+
################################################################################
55+
56+
# Sonar
57+
#sonar:
58+
# extends:
59+
# - .sonar
60+
# rules:
61+
# - !reference [.git_interne, rules]
62+
# - !reference [.merge_request, rules]
63+
64+
#owasp_dependency_check:
65+
# extends:
66+
# - .owasp_dependency_check
67+
68+
#sonar_full:
69+
# stage: audits
70+
# extends:
71+
# - .sonar
72+
# needs: ["owasp_dependency_check"]
73+
# rules:
74+
# - !reference [.git_interne, rules]
75+
# - !reference [.develop, rules]
76+
# - !reference [.tags, rules]
77+
78+
################################################################################
79+
# Code linter & Test jobs.
80+
################################################################################
81+
82+
#css-lint:
83+
# stage: tests
84+
# needs: []
85+
# extends:
86+
# - .css-lint
87+
# - .to_merge_css
88+
# variables:
89+
# FOLDER: g_nius
90+
91+
################################################################################
92+
# Deploy
93+
################################################################################
94+
95+
# RUI SANTE
96+
#deploy_rui_sante:
97+
# stage: deploy
98+
# needs: ["composer", "css-build"]
99+
# dependencies: ["composer", "css-build"]
100+
# extends:
101+
# - .sante_variables
102+
# - .ssh
103+
# - .rui_sante_rules
104+
# - .deploy
105+
# variables:
106+
# GIT_STRATEGY: none
107+
# ENV_IP: $RUI_IP
108+
# ENV_USER: $RUI_USER
109+
# environment:
110+
# name: $RUI_NAME
111+
# url: $RUI_URL
112+
113+
114+
################################################################################
115+
# Release
116+
################################################################################
117+
118+
generate_package:
119+
stage: build
120+
needs: ["build:site"]
121+
dependencies: ["build:site"]
122+
extends:
123+
- .ressources_variables
124+
- .tags_rules
125+
script:
126+
- |
127+
cat <<EOT >> ./version.json
128+
{
129+
"project": "${CI_PROJECT_NAME}",
130+
"build_date": "$(date +"%Y-%m-%d %H:%M:%S %Z")",
131+
"deploy_date": "",
132+
"version": "${CI_COMMIT_TAG}",
133+
"env": "",
134+
"machine": "",
135+
"job_name": "${CI_JOB_NAME}"
136+
}
137+
EOT
138+
# Fix ownership
139+
- sudo chown -R docker:docker .
140+
# Build package
141+
- |
142+
zip -qr ${PACKAGES_NAME} site styleguide version.json \
143+
-x \*\*/node_modules/\*
144+
artifacts:
145+
paths:
146+
- $PACKAGES_NAME
147+
148+
upload_package:
149+
stage: release
150+
needs: ["generate_package"]
151+
dependencies: ["generate_package"]
152+
extends:
153+
- .ressources_variables
154+
- .tags_rules
155+
script:
156+
- 'curl -k --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file ${PACKAGES_NAME} "${PACKAGE_REGISTRY_URL}${PACKAGES_NAME}"'
157+
158+
generate_release:
159+
stage: release
160+
needs: ["upload_package"]
161+
dependencies: ["upload_package"]
162+
extends:
163+
- .ressources_variables
164+
- .tags_rules
165+
script:
166+
- |
167+
curl -k --header 'Content-Type: application/json' \
168+
--header "JOB-TOKEN: $CI_JOB_TOKEN" \
169+
--data '{ "name": "Release Ressources '$CI_COMMIT_TAG'", "tag_name": "'${CI_COMMIT_TAG}'", "description": "Release '${CI_COMMIT_TAG}'", "assets": { "links": [ { "name": "'${PACKAGES_NAME}'", "url": "'${PACKAGE_REGISTRY_URL}${PACKAGES_NAME}'"} ] } }' \
170+
--request POST "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/releases"

docs/img/blocs/banner-01.jpg

26.5 KB

docs/img/blocs/banner-home-01.jpg

5.98 KB

docs/img/blocs/banner-home-02.jpg

13.2 KB

docs/img/blocs/banner-home-03.png

10.3 KB

docs/img/blocs/banner-home-04.png

68.3 KB

docs/img/blocs/contact.png

2.9 KB
32.7 KB

0 commit comments

Comments
 (0)