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
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
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
card10
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
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!71
Fix CI linter
Pipeline
#1731
passed
5 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
2
Show 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.
rahix
@rahix
mentioned in merge request
!67 (merged)
·
5 years ago
mentioned in merge request
!67 (merged)
mentioned in merge request !67
Toggle commit list
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