Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CI stuff
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
CI stuff
Compare revisions
92689630e90787b083811cfb760cf8d9e252bf57 to 530c39a77433ef52c6346fb245e6862af49901cd
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
shore/ci-stuff
Select target project
No results found
530c39a77433ef52c6346fb245e6862af49901cd
Select Git revision
Swap
Target
shore/ci-stuff
Select target project
shore/ci-stuff
1 result
92689630e90787b083811cfb760cf8d9e252bf57
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
pre-commit: autoupdate and remove the proselint hook.
· 84ec8f06
nimrod
authored
4 months ago
Proselint seems unmaintained nowadays.
84ec8f06
Replace Terraform with OpenTofu.
· 530c39a7
nimrod
authored
4 months ago
530c39a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.pre-commit-config.yaml
+13
-20
13 additions, 20 deletions
.pre-commit-config.yaml
templates/terraform.yml
+9
-9
9 additions, 9 deletions
templates/terraform.yml
with
22 additions
and
29 deletions
.pre-commit-config.yaml
View file @
530c39a7
---
repos
:
-
repo
:
https://github.com/pre-commit/pre-commit-hooks.git
rev
:
v
4.4
.0
rev
:
v
5.0
.0
hooks
:
-
id
:
check-added-large-files
-
id
:
check-executables-have-shebangs
...
...
@@ -18,63 +18,56 @@ repos:
exclude
:
\.diff$
-
repo
:
https://github.com/codespell-project/codespell.git
rev
:
v2.
2.5
rev
:
v2.
3.0
hooks
:
-
id
:
codespell
-
repo
:
https://github.com/Yelp/detect-secrets.git
rev
:
v1.
4
.0
rev
:
v1.
5
.0
hooks
:
-
id
:
detect-secrets
-
repo
:
https://gitlab.com/devopshq/gitlab-ci-linter.git
rev
:
v1.0.
2
rev
:
v1.0.
6
hooks
:
-
id
:
gitlab-ci-linter
args
:
-
"
--server"
-
https://git.shore.co.il
-
repo
:
https://github.com/amperser/proselint.git
rev
:
0.10.2
hooks
:
-
id
:
proselint
types
:
[
plain-text
]
exclude
:
LICENSE
-
repo
:
https://github.com/adrienverge/yamllint.git
rev
:
v1.3
2.0
rev
:
v1.3
5.1
hooks
:
-
id
:
yamllint
-
repo
:
https://github.com/executablebooks/mdformat.git
rev
:
0.7.1
6
rev
:
0.7.
2
1
hooks
:
-
id
:
mdformat
-
repo
:
https://github.com/pre-commit/pre-commit.git
rev
:
v
3.3.3
rev
:
v
4.0.1
hooks
:
-
id
:
validate_manifest
-
repo
:
https://git.shore.co.il/nimrod/pre-commit-hooks.git
rev
:
v0.
3.0
rev
:
v0.
5.1
hooks
:
-
id
:
shell-validate
-
id
:
docker-compose
-
repo
:
https://github.com/shellcheck-py/shellcheck-py.git
rev
:
v0.
9
.0.
5
rev
:
v0.
10
.0.
1
hooks
:
-
id
:
shellcheck
-
repo
:
https://github.com/AleksaC/hadolint-py.git
rev
:
v2.12.
0.2
rev
:
v2.12.
1b3
hooks
:
-
id
:
hadolint
-
repo
:
https://github.com/ambv/black.git
rev
:
2
3.3
.0
rev
:
2
4.10
.0
hooks
:
-
id
:
black
args
:
...
...
@@ -82,7 +75,7 @@ repos:
--line-length=79
-
repo
:
https://github.com/PyCQA/prospector.git
rev
:
1.1
0.2
rev
:
v
1.1
3.3
hooks
:
-
id
:
prospector
args
:
...
...
@@ -109,7 +102,7 @@ repos:
-
pyroma
-
repo
:
https://github.com/pycqa/flake8.git
rev
:
6.0.0
rev
:
7.1.1
hooks
:
-
id
:
flake8
args
:
...
...
This diff is collapsed.
Click to expand it.
templates/terraform.yml
View file @
530c39a7
...
...
@@ -5,10 +5,10 @@ include:
.tf_template
:
image
:
registry.gitlab.com/
gitlab-org/terraform-images/stable:latest
image
:
registry.gitlab.com/
components/opentofu/gitlab-opentofu:latest-debian
before_script
:
-
cd ${TF_ROOT}
-
t
erraform
version
-
t
ofu
version
cache
:
paths
:
-
${TF_ROOT}/.terraform
...
...
@@ -25,26 +25,26 @@ include:
extends
:
.tf_template
stage
:
test
script
:
-
gitlab-t
erraform
validate
-
gitlab-t
ofu
validate
.tf_fmt
:
extends
:
.tf_template
stage
:
test
script
:
-
gitlab-t
erraform
fmt
-
gitlab-t
ofu
fmt
.tf_validate_fmt
:
extends
:
.tf_template
stage
:
test
script
:
-
gitlab-t
erraform
validate
-
gitlab-t
erraform
fmt
-
gitlab-t
ofu
validate
-
gitlab-t
ofu
fmt
.tf_plan
:
extends
:
.tf_template
script
:
-
gitlab-t
erraform
plan
-
gitlab-t
erraform
plan-json
-
gitlab-t
ofu
plan
-
gitlab-t
ofu
plan-json
artifacts
:
name
:
plan
paths
:
...
...
@@ -55,5 +55,5 @@ include:
.tf_apply
:
extends
:
.tf_template
script
:
-
gitlab-t
erraform
apply
-
gitlab-t
ofu
apply
when
:
manual
This diff is collapsed.
Click to expand it.