Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Toolbx Build
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
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
shore
Toolbx Build
Commits
64c7594d
Commit
64c7594d
authored
4 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Add pre-commit.
parent
22c388da
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#428
passed
4 years ago
Stage: build
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+15
-1
15 additions, 1 deletion
.gitlab-ci.yml
.pre-commit-config.yaml
+37
-0
37 additions, 0 deletions
.pre-commit-config.yaml
README.md
+6
-6
6 additions, 6 deletions
README.md
with
58 additions
and
7 deletions
.gitlab-ci.yml
+
15
−
1
View file @
64c7594d
---
include
:
-
project
:
shore/ci-templates
file
:
templates/pre-commit.yml
build
:
stage
:
build
image
:
buildpack-deps:bullseye
before_script
:
-
apt-get update
-
apt-get install -y meson golang systemd podman go-md2man bash-completion shellcheck cmake
-
>-
apt-get install -y
bash-completion
cmake
golang
go-md2man
meson
podman
shellcheck
systemd
-
git clone https://github.com/containers/toolbox.git
-
cd toolbox
script
:
...
...
This diff is collapsed.
Click to expand it.
.pre-commit-config.yaml
0 → 100644
+
37
−
0
View file @
64c7594d
---
repos
:
-
repo
:
https://github.com/pre-commit/pre-commit-hooks.git
rev
:
v3.4.0
hooks
:
-
id
:
check-added-large-files
-
id
:
check-executables-have-shebangs
-
id
:
check-merge-conflict
-
id
:
check-symlinks
-
id
:
trailing-whitespace
-
repo
:
https://github.com/Yelp/detect-secrets
rev
:
v0.14.3
hooks
:
-
id
:
detect-secrets
-
repo
:
https://github.com/adrienverge/yamllint
rev
:
v1.25.0
hooks
:
-
id
:
yamllint
-
repo
:
https://github.com/amperser/proselint/
rev
:
0.10.2
hooks
:
-
id
:
proselint
types
:
[
plain-text
]
exclude
:
LICENSE
-
repo
:
https://github.com/executablebooks/mdformat.git
rev
:
0.5.3
hooks
:
-
id
:
mdformat
-
repo
:
https://gitlab.freedesktop.org/nimrod/ci-templates.git
rev
:
fd4100029a3d54e5184408313ca602f691f359b6
hooks
:
-
id
:
ci-fairy
This diff is collapsed.
Click to expand it.
README.md
+
6
−
6
View file @
64c7594d
...
...
@@ -4,8 +4,8 @@
Build
[
toolbox
](
https://github.com/containers/toolbox/
)
.
Until there's Debian packaging for it,
[
build it
myself
](
https://git.shore.co.il/shore/toolbox-build/-/jobs/artifacts/master/raw/toolbox/builddir/src/toolbox?job=build
)
.
Until there's Debian packaging for it,
[
build it
myself
](
https://git.shore.co.il/shore/toolbox-build/-/jobs/artifacts/master/raw/toolbox/builddir/src/toolbox?job=build
)
.
## License
...
...
@@ -13,7 +13,7 @@ This software is licensed under the MIT license (see `LICENSE.txt`).
## Author Information
Nimrod Adar,
[
contact me
](
mailto:nimrod@shore.co.il
)
or visit my
[
website
](
https://www.shore.co.il/
)
. Patches are welcome via
[
`git send-email`
](
http://git-scm.com/book/en/v2/Git-Commands-Email
)
. The repository
is located
at:
<https://git.shore.co.il/
nimrod
/>
.
Nimrod Adar,
[
contact me
](
mailto:nimrod@shore.co.il
)
or visit my
[
website
](
https://www.shore.co.il/
)
. Patches are welcome via
[
`git send-email`
](
http://git-scm.com/book/en/v2/Git-Commands-Email
)
. The repository
is located
at:
<https://git.shore.co.il/
expore
/>
.
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