Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
564447d
chore(deps): bump elliptic from 6.5.3 to 6.5.4
dependabot[bot] Mar 11, 2021
fad9e11
fix(deps): update dependency giggsey/libphonenumber-for-php to v8.12.20
renovate-bot Mar 17, 2021
6007807
Merge pull request #72 from koromerzhin/dependabot/npm_and_yarn/ellip…
koromerzhin Mar 18, 2021
150d149
Merge pull request #41 from koromerzhin/renovate/giggsey-libphonenumb…
koromerzhin Mar 18, 2021
1164b7f
fix(deps): update dependency doctrine/doctrine-bundle to v2.2.4
renovate-bot Mar 18, 2021
70242e0
Merge pull request #35 from koromerzhin/renovate/doctrine-doctrine-bu…
koromerzhin Mar 18, 2021
49ad470
fix(deps): update dependency knplabs/knp-menu-bundle to v3.1.0
renovate-bot Mar 18, 2021
4d4974a
Merge pull request #43 from koromerzhin/renovate/knplabs-knp-menu-bun…
koromerzhin Mar 18, 2021
af882e2
fix(deps): update dependency sensio/framework-extra-bundle to v6
renovate-bot Mar 18, 2021
fd35c9c
Merge pull request #75 from koromerzhin/renovate/sensio-framework-ext…
koromerzhin Mar 18, 2021
b1a93db
fix(docker): add host
koromerzhin Jun 30, 2021
49f6743
feat(makefile): add arguments
koromerzhin Aug 17, 2021
38386f8
fix(makefile): correction docker init
koromerzhin Aug 17, 2021
b9f1581
feat(docker): update to lampy
koromerzhin Aug 19, 2021
9df217a
feat(docker): add folders
koromerzhin Aug 19, 2021
9cad055
fix(makefile): add color
koromerzhin Sep 1, 2021
70d57a0
fix(makefile): simplification
koromerzhin Sep 2, 2021
b380734
fix(makefile): add phploc + phpmd
koromerzhin Sep 6, 2021
ec6aa91
fix(makefile): make assets
koromerzhin Sep 6, 2021
46a2aab
fix(makefile): merge docker exec php
koromerzhin Sep 6, 2021
6856fba
fix(deps): update
koromerzhin Jan 19, 2022
b7adcf6
feat(docker): use colors
koromerzhin Jan 19, 2022
49b85bc
fix(makefile): commands with arguments
koromerzhin Jan 20, 2022
e7b37d7
fix(makefile): docker with TTY or not
koromerzhin Jan 20, 2022
1664a08
fix(webpack): disable dotenv
koromerzhin Jan 20, 2022
e2d02e2
feat(lampy): create database
koromerzhin Jan 20, 2022
7a54934
fix(encore): install sass
koromerzhin Jan 20, 2022
420f7b6
fix(docker): launch lampy
koromerzhin Jan 20, 2022
235b292
fix(docker): add serverlampy
koromerzhin Jan 20, 2022
ab70185
fix(init): with minimal file
koromerzhin Jan 21, 2022
3ebd6b1
fix(config): use minimal conf to create symfony project
koromerzhin Jan 21, 2022
8e7ebb7
fix(libs): update koromerzhin-dependencies
koromerzhin Feb 1, 2022
d4d0d7c
Update docker-compose.yml
koromerzhin Feb 4, 2022
313b12d
fix(docker): use official image
koromerzhin Feb 9, 2022
9dadf24
fix(doc): to download
koromerzhin May 3, 2022
6c9e141
chore(deps): update dependency koromerzhin/phpfpm to v8.1.6
renovate-bot May 24, 2022
4d4e8e7
Merge pull request #116 from koromerzhin/renovate/koromerzhin-phpfpm-8.x
koromerzhin May 24, 2022
0f6fd93
fix(config): with korojscommands
koromerzhin Jan 16, 2023
a39377e
fix(config): with korojscommands
koromerzhin Jan 16, 2023
337d6ae
fix(config): with korojscommands
koromerzhin Jan 16, 2023
b981ca3
fix(config): with korojscommands
koromerzhin Jan 16, 2023
9fb3c2d
fix(config): with korojscommands
koromerzhin Jan 16, 2023
a230488
feat(scripts): with korojscommands
koromerzhin Jan 18, 2023
dc4c4d8
fix(README): add help to launch
koromerzhin Jan 18, 2023
95bdfb1
:busts_in_silhouette: Add @renovate-bot as a contributor
koromerzhin Jan 18, 2023
4569de6
:busts_in_silhouette: Add @restyled-commits as a contributor
koromerzhin Jan 18, 2023
050c6a0
:busts_in_silhouette: Add @dependabot[bot] as a contributor
koromerzhin Jan 18, 2023
23a8cb9
fix(config): enable dashboard renovate
koromerzhin Jan 18, 2023
e6d6add
fix(config): enable dashboard renovate
koromerzhin Jan 18, 2023
b156b49
fix(ci/cd): update ubuntu
koromerzhin Jan 18, 2023
c6cf9e5
Add .whitesource configuration file
mend-bolt-for-github[bot] Jan 18, 2023
3e053be
Merge pull request #143 from hackariens/whitesource/configure
koromerzhin Jan 19, 2023
0a91b6e
fix(config): delete useless secret
koromerzhin Jan 19, 2023
9ee360e
:busts_in_silhouette: Add @mend-bolt-for-github[bot] as a contributor
koromerzhin Jan 19, 2023
f7cf784
feat(ci/cd): check contributors
koromerzhin Jan 24, 2023
ebd39c3
fix(libs): update korojscommands
koromerzhin Jan 24, 2023
3b9a1c1
fix(libs): update korojscommands@1.2.11
koromerzhin Jan 24, 2023
86b6e55
fix(ci/cd): disable all-contributors
koromerzhin Jan 24, 2023
54ffd9b
fix(config): with new initialisation
koromerzhin Jan 30, 2023
2329c7b
fix(config): with new initialisation
koromerzhin Jan 30, 2023
719ad62
fix(config): with new initialisation
koromerzhin Jan 30, 2023
a68461b
fix(scripts): delete tty interactive
koromerzhin Jan 30, 2023
efb4c50
fix(libs): update korojscommands
koromerzhin Jan 30, 2023
9f7a769
fix(scripts): update korojscommands
koromerzhin Feb 1, 2023
41f2544
wip(ci/cd): add cypress
koromerzhin Feb 1, 2023
e0fdaa1
wip(ci/cd): add first test
koromerzhin Feb 1, 2023
a47b5b9
wip(ci/cd): add script to cypress
koromerzhin Feb 2, 2023
0716d24
fix(ci/cd): run-ons
koromerzhin Feb 2, 2023
2a6d4b7
fix(ci/cd): add screenshot
mletoullec Feb 2, 2023
84de230
wip(ci/cd): add cypress
koromerzhin Feb 2, 2023
eb12279
Merge branch 'develop' of github.com:hackariens/symfony into develop
koromerzhin Feb 2, 2023
dade8c8
chore(deps): update koromerzhin/php docker tag to v8.2.2
renovate[bot] Feb 6, 2023
99af198
Merge pull request #150 from hackariens/renovate/koromerzhin-php-8.x
koromerzhin Feb 8, 2023
138ddd5
chore(deps): update koromerzhin/php docker tag to v8.2.3
renovate[bot] Feb 15, 2023
4cf9171
Merge pull request #151 from hackariens/renovate/koromerzhin-php-8.x
koromerzhin Feb 17, 2023
2c3f303
chore(deps): bump yaml from 2.2.1 to 2.2.2
dependabot[bot] Apr 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 29 additions & 17 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"projectName": "template-symfony",
"projectOwner": "koromerzhin",
"projectName": "symfony",
"projectOwner": "hackariens",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
Expand All @@ -10,7 +10,7 @@
"commit": true,
"contributorsPerLine": 7,
"commitConvention": "gitmoji",
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)](#-contributors)",
"badgeTemplate": "![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)",
"contributorTemplate": "<a href=\"<%= contributor.profile %>\"><img src=\"<%= contributor.avatar_url %>\" width=\"<%= options.imageSize %>px;\" alt=\"\"/><br /><sub><b><%= contributor.name %></b></sub></a>",
"contributors": [
{
Expand All @@ -24,18 +24,13 @@
},
{
"login": "renovate-bot",
"name": "WhiteSource Renovate",
"name": "Mend Renovate",
"avatar_url": "https://avatars.githubusercontent.com/u/25180681?v=4",
"profile": "https://renovate.whitesourcesoftware.com/",
"profile": "https://www.mend.io/free-developer-tools/renovate/",
"contributions": [
"bug",
"code",
"infra",
"maintenance",
"platform",
"review",
"security",
"tool"
"maintenance"
]
},
{
Expand All @@ -46,12 +41,29 @@
"contributions": [
"bug",
"code",
"infra",
"maintenance",
"platform",
"review",
"security",
"tool"
"maintenance"
]
},
{
"login": "dependabot[bot]",
"name": "dependabot[bot]",
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
"profile": "https://github.com/apps/dependabot",
"contributions": [
"bug",
"code",
"maintenance"
]
},
{
"login": "mend-bolt-for-github[bot]",
"name": "mend-bolt-for-github[bot]",
"avatar_url": "https://avatars.githubusercontent.com/in/16809?v=4",
"profile": "https://github.com/apps/mend-bolt-for-github",
"contributions": [
"bug",
"code",
"maintenance"
]
}
]
Expand Down
5 changes: 5 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
STACK=symfony
FOLDERPHAR=apps
FILESQL=database_init/01_symfony.sql
FOLDERLAMPY=lampy
DOCKERCOMPOSEFILES=docker-compose.yml docker-compose-lampy.yml
76 changes: 0 additions & 76 deletions .github/CODE_OF_CONDUCT.md

This file was deleted.

38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

10 changes: 0 additions & 10 deletions .github/ISSUE_TEMPLATE/custom.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

105 changes: 32 additions & 73 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,83 +1,42 @@
name: Continuous Integration
name: ci
on: [push]
jobs:
tests:
runs-on: ${{ matrix.operating-system }}
strategy:
fail-fast: false
matrix:
operating-system: [ubuntu-20.04]
php-versions: ["7.4"]
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cache npm packages
id: npm-cache
uses: actions/cache@v2
uses: actions/checkout@v3
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node
- name: Install npm dependencies
if: steps.npm-cache.outputs.cache-hit != 'true'
run: make node_modules
- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
submodules: recursive
- name: Repository lampy
uses: actions/checkout@v3
with:
path: |
apps/bin
apps/vendor
key: ${{ runner.os }}-composer-${{ hashFiles('**/apps/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: 'Create folders'
run: make folders
- name: 'Docker swarm init'
run: docker swarm init --default-addr-pool 10.20.0.0/16
- name: 'Create proxy network'
run: make docker create-network
submodules: recursive
ref: 'v2.0'
repository: koromerzhin/lampy
path: lampy
- name: Install npm dependencies
run: npm install
- name: 'set .env'
run: 'cp .env.example .env'
- name: 'SET BDD'
run: npm run bdd:mariadb
- name: 'Launch Lampy'
run: cd lampy && npm run exec
- name: 'Image pull'
run: make docker image-pull
run: npm run docker:getpull-image
- name: 'create apps'
run: npm run create:apps
- name: 'Build containers'
run: make docker deploy
- name: 'sleep'
run: make sleep 60
- name: 'docker ls'
run: make docker ls
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, xml, ctype, iconv, intl
coverage: xdebug
- name: Install Composer dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: make composer dev
run: npm run docker:deploy
- name: 'Waiting'
run: npm run docker:waiting
- name: linter readme.md
run: make linter readme
- name: linter PHP Code Sniffer
run: make linter phpcs-onlyerror
- name: linter PHP MD
run: make linter phpmd
- name: linter PHPMND
run: make linter phpmnd
- name: Add assets
run: make assets
- name: Test lancement bootstrap
run: make encore dev
- name: Linter twig
run: make linter twig
- name: Linter yaml
run: make linter yaml
# - name: linter phpstan
# run: make linter phpstan
- name: 'Composer install'
run: make composer dev
# - name: 'BDD MIGRATE'
# run: make bdd migrate
# - name: 'Run the fixtures'
# run: make bdd fixtures
- name: Run Acceptance Tests
run: make tests behat
run: npm run lint:markdown
- name: Cypress run
uses: cypress-io/github-action@v5
- name: Archive screenshots
uses: actions/upload-artifact@v3
with:
name: screenshot
path: cypress/
26 changes: 3 additions & 23 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@
node_modules
mariadb
apps/bin/doctrine
apps/bin/doctrine-dbal
apps/bin/doctrine-migrations
apps/bin/php-parse
apps/bin/simple-phpunit
apps/bin/sql-formatter
apps/bin/var-dump-server
apps/bin/yaml-lint
apps/bin/phpcbf
apps/bin/behat
apps/bin/phpcs
apps/bin/phpmd
apps/bin/phpunit
apps/bin/pdepend
apps/bin/twigcs
apps/bin/phpstan
apps/bin/phpstan.phar
apps/bin/phpmnd
/apps/.env
apps/twigcs.phar
apps/phpcpd.phar
/node_modules
/apps
.env
14 changes: 14 additions & 0 deletions .whitesource
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"scanSettings": {
"baseBranches": []
},
"checkRunSettings": {
"vulnerableCheckRunConclusionLevel": "failure",
"displayMode": "diff",
"useMendCheckNames": true
},
"issueSettings": {
"minSeverityLevel": "LOW",
"issueType": "DEPENDENCY"
}
}
Loading