Skip to content

Commit 5a79cac

Browse files
authored
Update pre-commit config file and remove branch creation GHA (#140)
Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
1 parent c9717f9 commit 5a79cac

11 files changed

Lines changed: 24 additions & 24 deletions

File tree

.pre-commit-config.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@
33

44
repos:
55
- repo: https://github.com/gitleaks/gitleaks
6-
rev: v8.30.0
6+
rev: v8.30.1
77
hooks:
88
- id: gitleaks
9-
- repo: https://github.com/golangci/golangci-lint
10-
rev: v2.10.1
11-
hooks:
12-
- id: golangci-lint
139
- repo: https://github.com/pre-commit/pre-commit-hooks
1410
rev: v6.0.0
1511
hooks:
1612
- id: end-of-file-fixer
1713
- id: trailing-whitespace
14+
args:
15+
- --markdown-linebreak-ext=md
16+
- repo: https://codeberg.org/fsfe/reuse-tool
17+
rev: v6.2.0
18+
hooks:
19+
- id: reuse

5g-control-plane/templates/ingress-webui.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ spec:
2323
name: webui
2424
port:
2525
number: {{ .Values.config.webui.urlport.port }}
26-
{{- end }}
26+
{{- end }}

5g-control-plane/templates/secret-certs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,4 +195,4 @@ metadata:
195195
{{- end }}
196196
data:
197197
{{ ( include "5g-control-plane.gen-certs" (dict "context" . "name" "ausf") ) | indent 2 }}
198-
{{- end }}
198+
{{- end }}

LICENSES/Apache-2.0.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ AND DISTRIBUTION
77

88
1. Definitions.
99

10-
10+
1111

1212
"License" shall mean the terms and conditions for use, reproduction, and distribution
1313
as defined by Sections 1 through 9 of this document.
1414

15-
15+
1616

1717
"Licensor" shall mean the copyright owner or entity authorized by the copyright
1818
owner that is granting the License.
1919

20-
20+
2121

2222
"Legal Entity" shall mean the union of the acting entity and all other entities
2323
that control, are controlled by, or are under common control with that entity.
@@ -26,31 +26,31 @@ or indirect, to cause the direction or management of such entity, whether
2626
by contract or otherwise, or (ii) ownership of fifty percent (50%) or more
2727
of the outstanding shares, or (iii) beneficial ownership of such entity.
2828

29-
29+
3030

3131
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions
3232
granted by this License.
3333

34-
34+
3535

3636
"Source" form shall mean the preferred form for making modifications, including
3737
but not limited to software source code, documentation source, and configuration
3838
files.
3939

40-
40+
4141

4242
"Object" form shall mean any form resulting from mechanical transformation
4343
or translation of a Source form, including but not limited to compiled object
4444
code, generated documentation, and conversions to other media types.
4545

46-
46+
4747

4848
"Work" shall mean the work of authorship, whether in Source or Object form,
4949
made available under the License, as indicated by a copyright notice that
5050
is included in or attached to the work (an example is provided in the Appendix
5151
below).
5252

53-
53+
5454

5555
"Derivative Works" shall mean any work, whether in Source or Object form,
5656
that is based on (or derived from) the Work and for which the editorial revisions,
@@ -59,7 +59,7 @@ original work of authorship. For the purposes of this License, Derivative
5959
Works shall not include works that remain separable from, or merely link (or
6060
bind by name) to the interfaces of, the Work and Derivative Works thereof.
6161

62-
62+
6363

6464
"Contribution" shall mean any work of authorship, including the original version
6565
of the Work and any modifications or additions to that Work or Derivative
@@ -74,7 +74,7 @@ for the purpose of discussing and improving the Work, but excluding communicatio
7474
that is conspicuously marked or otherwise designated in writing by the copyright
7575
owner as "Not a Contribution."
7676

77-
77+
7878

7979
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
8080
of whom a Contribution has been received by Licensor and subsequently incorporated

bess-upf/templates/bin/_bessd-start.sh.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ else
8686
fi
8787

8888
bess_args+=(--grpc_url=0.0.0.0:10514)
89-
exec "${bess_args[@]}"
89+
exec "${bess_args[@]}"

omec-control-plane/templates/bin/_hss-bootstrap.sh.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,3 @@ provision_mme \
128128
{{ $.Values.config.hss.hssdb }}
129129
{{- end }}
130130
{{- end }}
131-

omec-control-plane/templates/bin/_mme-init.sh.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ cp /opt/mme/config/shared/config.json /opt/mme/config/shared/s1ap.json
3434
cp /opt/mme/config/shared/config.json /opt/mme/config/shared/s6a.json
3535
cp /opt/mme/config/s6a_fd.conf /opt/mme/config/shared/s6a_fd.conf
3636

37-
#This multiple copies of config needs some cleanup. For now I want
37+
#This multiple copies of config needs some cleanup. For now I want
3838
#that after running mme_init config to be present in the target directory
3939
cp /opt/mme/config/shared/* /openmme/target/conf/
4040

omec-control-plane/templates/bin/_pcrf-bootstrap.sh.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@ until cqlsh --file /opt/c3po/pcrfdb/pcrf_cassandra.cql {{ .Values.config.pcrf.pc
1010
do echo "Provisioning PCRFDB";
1111
sleep 2;
1212
done
13-

omec-control-plane/templates/bin/_spgwc-init.sh.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ echo Sleeping forever
2323
while true
2424
do
2525
sleep 86400
26-
done
26+
done

omec-control-plane/templates/statefulset-config4g.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{{ tuple "config4g" . | include "omec-control-plane.service_account" }}
99
---
1010
apiVersion: apps/v1
11-
kind: StatefulSet
11+
kind: StatefulSet
1212
metadata:
1313
name: config4g
1414
labels:

0 commit comments

Comments
 (0)