Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!8863
Issue
#3460831
by vasyapledov: Add alter for `route_callbacks`
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Issue
#3460831
by vasyapledov: Add alter for `route_callbacks`
issue/drupal-3460831:3460831-alter-route-callback
into
11.x
Overview
0
Commits
13
Pipelines
14
Changes
15
Open
Sergey Bortkevich
requested to merge
issue/drupal-3460831:3460831-alter-route-callback
into
11.x
10 months ago
Overview
0
Commits
13
Pipelines
14
Changes
15
Expand
Closes
#3460831
0
0
Merge request reports
Compare
11.x
version 13
cf74982e
9 months ago
version 12
16632325
9 months ago
version 11
bb6a5e33
9 months ago
version 10
c0684ed4
9 months ago
version 9
f80862bc
9 months ago
version 8
6f333b63
9 months ago
version 7
1578f613
9 months ago
version 6
c828e4e6
9 months ago
version 5
a2ff0596
9 months ago
version 4
a555a61c
10 months ago
version 3
a718ef99
10 months ago
version 2
64b606f6
10 months ago
version 1
47d1d770
10 months ago
11.x (HEAD)
and
latest version
latest version
57ac875b
13 commits,
9 months ago
version 13
cf74982e
12 commits,
9 months ago
version 12
16632325
11 commits,
9 months ago
version 11
bb6a5e33
10 commits,
9 months ago
version 10
c0684ed4
10 commits,
9 months ago
version 9
f80862bc
9 commits,
9 months ago
version 8
6f333b63
8 commits,
9 months ago
version 7
1578f613
7 commits,
9 months ago
version 6
c828e4e6
6 commits,
9 months ago
version 5
a2ff0596
5 commits,
9 months ago
version 4
a555a61c
4 commits,
10 months ago
version 3
a718ef99
3 commits,
10 months ago
version 2
64b606f6
2 commits,
10 months ago
version 1
47d1d770
1 commit,
10 months ago
15 files
+
347
−
19
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
15
Search (e.g. *.vue) (Ctrl+P)
.gitlab-ci/scripts/test-only.sh
+
14
−
13
Options
@@ -6,19 +6,20 @@
git diff
${
BASELINE
}
--name-only
echo
"If this list contains more files than what you changed, then you need to rebase your branch."
echo
"1️⃣ Reverting non test changes"
if
[[
$(
git diff
${
BASELINE
}
--diff-filter
=
DM
--name-only
|grep
-Ev
"*/tests/*"
|grep
-v
.gitlab-ci|grep
-v
scripts/run-tests.sh
)
]]
;
then
git diff
${
BASELINE
}
--diff-filter
=
DM
--name-only
|grep
-Ev
"*/tests/*"
|grep
-v
.gitlab-ci|grep
-v
scripts/run-tests.sh|while
read
file
;
do
echo
"↩️ Reverting
$file
"
;
git checkout
${
BASELINE
}
--
$file
;
done
fi
if
[[
$(
git diff
${
BASELINE
}
--diff-filter
=
A
--name-only
|grep
-Ev
"*/tests/*"
|grep
-v
.gitlab-ci|grep
-v
scripts/run-tests.sh
)
]]
;
then
git diff
${
BASELINE
}
--diff-filter
=
A
--name-only
|grep
-Ev
"*/tests/*"
|grep
-v
.gitlab-ci|grep
-v
scripts/run-tests.sh|while
read
file
;
do
echo
"🗑️️ Deleting
$file
"
;
git
rm
$file
;
done
fi
# @todo Remove for testing
#echo "1️⃣ Reverting non test changes"
#if [[ $(git diff ${BASELINE} --diff-filter=DM --name-only|grep -Ev "*/tests/*"|grep -v .gitlab-ci|grep -v scripts/run-tests.sh) ]]; then
#git diff ${BASELINE} --diff-filter=DM --name-only|grep -Ev "*/tests/*"|grep -v .gitlab-ci|grep -v scripts/run-tests.sh|while read file;do
# echo "↩️ Reverting $file";
# git checkout ${BASELINE} -- $file;
#done
#fi
#if [[ $(git diff ${BASELINE} --diff-filter=A --name-only|grep -Ev "*/tests/*"|grep -v .gitlab-ci|grep -v scripts/run-tests.sh) ]]; then
#git diff ${BASELINE} --diff-filter=A --name-only|grep -Ev "*/tests/*"|grep -v .gitlab-ci|grep -v scripts/run-tests.sh|while read file;do
# echo "🗑️️ Deleting $file";
# git rm $file;
#done
#fi
echo
"2️⃣ Running test changes for this branch"
EXIT_CODE
=
0
Loading