Skip to content

Commit

Permalink
chore(next): update gitlab and git sync script
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin committed Feb 21, 2024
1 parent 50642c5 commit f99ffeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions modules/next/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ include:
# View these include files at https://git.drupalcode.org/project/gitlab_templates/
################
- project: $_GITLAB_TEMPLATES_REPO
# "ref" value can be:
# - Recommended (default) - `ref: $_GITLAB_TEMPLATES_REF` - The Drupal Association will update this value to the recommended tag for contrib.
# - Latest - `ref: main` - Get the latest additions and bug fixes as they are merged into the templates.
# - Minor or Major latests - `ref: 1.x-latest` or `ref: 1.0.x-latest` - Get the latest additions within a minor (mostly bugfixes) or major (bugs and new features).
# - Fixed tag - `ref: 1.0.1` - Set the value to a known tag. This will not get any updates.
ref: $_GITLAB_TEMPLATES_REF
file:
- '/includes/include.drupalci.main.yml'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"format:check": "prettier --check .",
"phpcs": "./drupal/vendor/bin/phpcs -p -s --colors --standard=modules/next/phpcs.xml modules/next",
"test:next": "SIMPLETEST_DB=sqlite://localhost/:memory: ./drupal/vendor/bin/phpunit -c ./drupal/web/core modules/next",
"sync:modules": "./scripts/sync-repo.sh 1.0.x [email protected]:project/ \"modules/*\"",
"sync:modules": "./scripts/sync-repo.sh 2.x [email protected]:project/ \"modules/*\"",
"sync:examples": "./scripts/sync-repo.sh main [email protected]:chapter-three/next- \"examples/example-*\"",
"sync:starters": "./scripts/sync-repo.sh canary [email protected]:chapter-three/next-drupal- \"starters/*\"",
"sync:starters:release": "./scripts/sync-repo.sh canary,main [email protected]:chapter-three/next-drupal- \"starters/*\"",
Expand Down

0 comments on commit f99ffeb

Please sign in to comment.