Skip to content

Commit

Permalink
feat: add empty needs to linter, remove cache unsetting
Browse files Browse the repository at this point in the history
  • Loading branch information
maikschneider authored Sep 11, 2024
1 parent 62c9b93 commit 5de6953
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 16 deletions.
2 changes: 0 additions & 2 deletions .deploy-prepare.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
.deploy-prepare:
stage: deploy
needs: [ "build-php" ]
before_script:
- export no_proxy=localhost && export noproxy=localhost
- apk add --update --quiet rsync gzip
Expand Down
6 changes: 4 additions & 2 deletions build-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ build-node:
image:
pull_policy: if-not-present
cache:
paths: []
before_script: [ ]
key: "$CI_COMMIT_REF_SLUG-node"
policy: push
paths:
- node_modules/
script:
- npm ci --unsafe-perm
- npm run build
Expand Down
4 changes: 4 additions & 0 deletions build-php.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
build-php:
stage: build
cache:
key: "$CI_COMMIT_REF_SLUG-composer"
policy: push
paths:
- .composer-cache/
- vendor/
- public/
script:
- composer config -g cache-dir "$(pwd)/.composer-cache"
- composer install --optimize-autoloader --no-ansi --no-interaction --no-progress $COMPOSER_INSTALL_OPTIONS
Expand Down
3 changes: 0 additions & 3 deletions test-php-functional.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
test-php-functional:
stage: test
needs: [ "build-php" ]
cache:
paths: [ ]
before_script: [ ]
services:
- name: mariadb:10.11
alias: db
Expand Down
1 change: 1 addition & 0 deletions test-php-lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
test-php-lint:
stage: test
needs: []
script:
- composer run ci:php:lint
rules:
Expand Down
3 changes: 0 additions & 3 deletions test-php-unit.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
test-php-unit:
stage: test
needs: [ "build-php" ]
cache:
paths: [ ]
before_script: [ ]
script:
- composer run ci:test:unit
rules:
Expand Down
3 changes: 0 additions & 3 deletions test-typoscript-lint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
test-typoscript-lint:
stage: test
needs: [ "build-php" ]
cache:
paths: [ ]
before_script: [ ]
script:
- composer run ci:typoscript:lint
rules:
Expand Down
3 changes: 0 additions & 3 deletions test-xml-lint.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
test-xml-lint:
stage: test
needs: [ "build-php" ]
cache:
paths: [ ]
before_script: [ ]
script:
- apk add --update --no-cache libxml2-utils
- composer run ci:xml:lint
Expand Down
1 change: 1 addition & 0 deletions test-yaml-lint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
test-yaml-lint:
stage: test
needs: []
script:
- composer run ci:yaml:lint
rules:
Expand Down

0 comments on commit 5de6953

Please sign in to comment.