Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
chris007
firmware
Commits
e74beecc
Verified
Commit
e74beecc
authored
5 years ago
by
rahix
Browse files
Options
Downloads
Patches
Plain Diff
ci: Fix lint chocking on deleted files
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
46637b26
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
with
2 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
2
View file @
e74beecc
...
...
@@ -22,8 +22,8 @@ lint:
-
curl --fail https://annoyatron-prod.q3k.org/ping/mr?mr=${CI_MERGE_REQUEST_IID}
-
git remote rm card10 ||
true
# old gitlab runners might have this remote.
-
git fetch https://git.card10.badge.events.ccc.de/card10/firmware.git master:card10/master
-
git merge-base
--fork-point
card10/master || ( echo "Your change needs to be rebased against current master."; exit 1; )
-
git diff --name-only
$(git merge-base --fork-point
card10/master
)
...HEAD | xargs tools/code-style.sh
-
git merge-base card10/master
HEAD
|| ( echo "Your change needs to be rebased against current master."; exit 1; )
-
git diff --name-only
--diff-filter=d
card10/master...HEAD | xargs tools/code-style.sh
-
git diff --exit-code
only
:
-
merge_requests
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment