Skip to content

Commit

Permalink
feat: prepare repository switch to github
Browse files Browse the repository at this point in the history
  • Loading branch information
tgaertner committed Jul 9, 2024
1 parent 4239ad1 commit cdccd67
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 53 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
jobs:
yaml:lint:
container: pipelinecomponents/yamllint:latest
steps:
- run: yamllint --version
- run: yamllint -d relaxed .
16 changes: 0 additions & 16 deletions .gitlab-ci.yml

This file was deleted.

61 changes: 29 additions & 32 deletions .gitlab-ci.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,35 @@
# INCLUDES
#-----------------------------------------------------------------------------------------------------------------------
include:
- project: 'symfony-cms/general/misc/gitlab-ci-templates'
ref: 1.x
file:
- '/.base.yml'
- '/build/build-php-typo3.yml'
# - '/build/build-php-drupal.yml'
# - '/build/build-php-symfony.yml'
- '/build/build-node-typo3.yml'
# - '/build/build-node-drupal.yml'
# - '/build/build-node-symfony.yml'
- '/analyse/analyse-composer-lint.yml'
- '/analyse/analyse-editorconfig.yml'
- '/analyse/analyse-php-cs-fixer.yml'
- '/analyse/analyse-php-lint.yml'
- '/analyse/analyse-php-rector.yml'
- '/analyse/analyse-php-stan.yml'
- '/analyse/analyse-xml-lint.yml'
- '/analyse/analyse-yaml-lint.yml'
- '/analyse/analyse-typoscript-lint.yml'
- '/deploy/deploy-feature.yml'
- '/deploy/deploy-feature-rollback.yml'
- '/deploy/deploy-feature-stop.yml'
- '/deploy/deploy-feature-stop-downstream.yml'
- '/deploy/deploy-prod.yml'
- '/deploy/deploy-prod-rollback.yml'
- '/sync/sync-feature.yml'
- '/test/test-feature-codeception.yml'
- '/test/test-feature-lighthouse.yml'
- '/test/test-prod-lighthouse.yml'
# these are scheduled jobs - see readme how to setup
- '/sync/sync-feature-scheduled.yml'
- '/analyse/analyse-composer-security-scheduled.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/.base.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/build/build-php-typo3.yml'
# - 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/build/build-php-drupal.yml'
# - 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/build/build-php-symfony.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/build/build-node-typo3.yml'
# - 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/build/build-node-drupal.yml'
# - 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/build/build-node-symfony.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/analyse/analyse-composer-lint.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/analyse/analyse-editorconfig.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/analyse/analyse-php-cs-fixer.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/analyse/analyse-php-lint.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/analyse/analyse-php-rector.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/analyse/analyse-php-stan.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/analyse/analyse-xml-lint.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/analyse/analyse-yaml-lint.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/analyse/analyse-typoscript-lint.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/deploy/deploy-feature.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/deploy/deploy-feature-rollback.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/deploy/deploy-feature-stop.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/deploy/deploy-feature-stop-downstream.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/deploy/deploy-prod.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/deploy/deploy-prod-rollback.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/sync/sync-feature.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/test/test-feature-codeception.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/test/test-feature-lighthouse.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/test/test-prod-lighthouse.yml'
# these are scheduled jobs - see readme how to setup
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/sync/sync-feature-scheduled.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/analyse/analyse-composer-security-scheduled.yml'

#-----------------------------------------------------------------------------------------------------------------------
# CONFIGURATION
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ Use `include` to reference template files:

```yaml
include:
- project: 'symfony-cms/general/misc/gitlab-ci-templates'
ref: 1.x
file:
- '/.base.yml'
- '/analyse/analyse-composer.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/.base.yml'
- 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/analyse/analyse-composer.yml'
- ...
```
Extend and override configuration variables:
Expand Down

0 comments on commit cdccd67

Please sign in to comment.