Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LHCb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LHCb
LHCb
Compare revisions
master to include-pre-commit-hooks-in-ci-test
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
lhcb/LHCb
Select target project
No results found
include-pre-commit-hooks-in-ci-test
Select Git revision
Swap
Target
lhcb/LHCb
Select target project
rrabadan/LHCb
talin/LHCb
imjelde/LHCb
mstahl/LHCb
padeken/LHCb
mimazure/LHCb
roiser/LHCb
conrad/LHCb
kklimasz/LHCb
rcurrie/LHCb
wkrzemie/LHCb
fkeizer/LHCb
valassi/LHCb
hschrein/LHCb
anstahll/LHCb
jonrob/LHCb
graven/LHCb
clemenci/LHCb
chaen/LHCb
sstahl/LHCb
lhcb/LHCb
21 results
master
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
include pre-commit-hooks in gitlab-ci
· 84710f4e
George-Chris Tsalamagkakis
authored
4 years ago
and
Rosen Matev
committed
4 years ago
84710f4e
Add file without licence
· ad394b53
Rosen Matev
authored
4 years ago
ad394b53
Break formatting
· f0a558b3
Rosen Matev
authored
4 years ago
f0a558b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-24
2 additions, 24 deletions
.gitlab-ci.yml
no_license.py
+1
-0
1 addition, 0 deletions
no_license.py
with
3 additions
and
24 deletions
.gitlab-ci.yml
View file @
f0a558b3
...
...
@@ -8,27 +8,5 @@
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
variables
:
TARGET_BRANCH
:
master
check-copyright
:
image
:
gitlab-registry.cern.ch/ci-tools/ci-worker:cc7
script
:
-
curl -o lb-check-copyright "https://gitlab.cern.ch/lhcb-core/LbDevTools/raw/master/LbDevTools/SourceTools.py?inline=false"
-
python lb-check-copyright origin/${TARGET_BRANCH}
check-formatting
:
image
:
gitlab-registry.cern.ch/lhcb-docker/style-checker
script
:
-
if [ ! -e .clang-format ] ; then
-
curl -o .clang-format "https://gitlab.cern.ch/lhcb-core/LbDevTools/raw/master/LbDevTools/data/default.clang-format?inline=false"
-
echo '.clang-format' >> .gitignore
-
git add .gitignore
-
fi
-
curl -o lb-format "https://gitlab.cern.ch/lhcb-core/LbDevTools/raw/master/LbDevTools/SourceTools.py?inline=false"
-
python lb-format --format-patch apply-formatting.patch origin/${TARGET_BRANCH}
artifacts
:
paths
:
-
apply-formatting.patch
when
:
on_failure
expire_in
:
1 week
include
:
-
remote
:
'
https://gitlab.cern.ch/lhcb-core/pre-commit-hooks/-/raw/master/ci-pre-commit-hooks.yml'
This diff is collapsed.
Click to expand it.
no_license.py
0 → 100644
View file @
f0a558b3
print
"
hello
"
This diff is collapsed.
Click to expand it.