osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/27147 )
Change subject: editorconfig: new file
......................................................................
editorconfig: new file
Auto-configure editors with editorconfig plugin installed to indent yaml
files with two spaces in this repository.
Change-Id: I008ee040e2c15db11a35a061faa4270bacdbd10d
---
A .editorconfig
1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/47/27147/1
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..23fbc8d
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,12 @@
+; This file is for unifying the coding style for different editors and IDEs.
+; See http://editorconfig.org for details.
+
+# Top-most EditorConfig file.
+root = true
+
+[**/*.yml]
+indent_size = 2
+indent_style = space
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/27147
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I008ee040e2c15db11a35a061faa4270bacdbd10d
Gerrit-Change-Number: 27147
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/27149 )
Change subject: lint: catch missing --rm flag for 'docker run'
......................................................................
lint: catch missing --rm flag for 'docker run'
Not having the --rm flag causes docker containers to be stored forever,
so make sure we always add it to the "docker run" commands that we run
on jenkins via scripts in various repositories.
Depends: docker-playground I48b01c43fedf379b8a565eaab0369806d7831bd8
Related: https://osmocom.org/projects/osmocom-servers/wiki/Docker_cache_clean_up
Related: SYS#5827, OS#5099
Change-Id: I8ab9c291504475d670bdefc50c4524c5bdd4c880
---
A lint/docker_run_rm.sh
M lint/lint_diff.sh
2 files changed, 35 insertions(+), 7 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/49/27149/1
diff --git a/lint/docker_run_rm.sh b/lint/docker_run_rm.sh
new file mode 100755
index 0000000..3d6648e
--- /dev/null
+++ b/lint/docker_run_rm.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+# Verify that "docker run" has a "--rm" in the same line or next line, so we
+# don't fill up space on jenkins nodes with never deleted containers:
+# https://osmocom.org/projects/osmocom-servers/wiki/Docker_cache_clean_up
+
+RET=0
+
+for i in $(git grep -l '^[^#]*docker run'); do
+ if [ -z "$(grep -A1 "docker run" "$i" | grep -- "--rm")" ]; then
+ echo "ERROR: missing --rm after 'docker run' (same line or next line):"
+ grep --color=always -H -n -A1 "docker run" "$i"
+ echo
+ RET=1
+ fi
+done
+
+exit $RET
diff --git a/lint/lint_diff.sh b/lint/lint_diff.sh
index f8daab7..0762f6b 100755
--- a/lint/lint_diff.sh
+++ b/lint/lint_diff.sh
@@ -19,20 +19,31 @@
fi
fi
+ERROR=0
+
+echo "Running docker_run_rm.sh on the whole tree..."
+echo
+if ! "$SCRIPT_DIR"/docker_run_rm.sh; then
+ ERROR=1
+fi
+
echo "Running checkpatch on 'git diff $COMMIT'..."
echo
-if git diff -U0 "$COMMIT" | "$SCRIPT_DIR/checkpatch/checkpatch_osmo.sh" - \
+if ! git diff -U0 "$COMMIT" | "$SCRIPT_DIR/checkpatch/checkpatch_osmo.sh" - \
--color=always \
--mailback \
--show-types \
--showfile \
--terse
then
- exit 0
+ ERROR=1
fi
-echo
-echo "Please fix the linting errors above. More information:"
-echo "https://osmocom.org/projects/cellular-infrastructure/wiki/Linting"
-echo
-exit 1
+
+if [ "$ERROR" = 1 ]; then
+ echo
+ echo "Please fix the linting errors above. More information:"
+ echo "https://osmocom.org/projects/cellular-infrastructure/wiki/Linting"
+ echo
+ exit 1
+fi
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/27149
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I8ab9c291504475d670bdefc50c4524c5bdd4c880
Gerrit-Change-Number: 27149
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange
daniel has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27120 )
Change subject: hnbgw: Test RAB Assignment ReleaseRequest
......................................................................
Patch Set 1:
(1 comment)
File hnbgw/HNBGW_Tests.ttcn:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27120/comment/836cbb55_a641…
PS1, Line 904: alt {
> This was already in some previous patch. […]
Done in merged commit
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27120
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I90d4b1d335a32ab6e2590616149f3a34825d2046
Gerrit-Change-Number: 27120
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 11 Feb 2022 14:29:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
daniel has abandoned this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27120 )
Change subject: hnbgw: Test RAB Assignment ReleaseRequest
......................................................................
Abandoned
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27120
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I90d4b1d335a32ab6e2590616149f3a34825d2046
Gerrit-Change-Number: 27120
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: abandon
daniel has abandoned this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27118 )
Change subject: hnbgw: Match on connection IP/port in CRCX/MDCX
......................................................................
Abandoned
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27118
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I465a677a29bf4e7a95245d480a241bd840eea75f
Gerrit-Change-Number: 27118
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: abandon
daniel has abandoned this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27116 )
Change subject: hnbgw: Use helper function for the rab assignment
......................................................................
Abandoned
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27116
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I95625796ee3c75e36637794018e5db27d022dddb
Gerrit-Change-Number: 27116
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: abandon
daniel has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27115 )
Change subject: hnbgw: Check for DLCX on Iu Release as well
......................................................................
Patch Set 1:
(1 comment)
File hnbgw/HNBGW_Tests.ttcn:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27115/comment/3aab31a4_90e9…
PS1, Line 844: repeat;
> You could probably simply do […]
Done in merged commit
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27115
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Id53e99e51dbc6b9af67503ba6ecbc8990a7de4c9
Gerrit-Change-Number: 27115
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 11 Feb 2022 14:29:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
daniel has abandoned this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27115 )
Change subject: hnbgw: Check for DLCX on Iu Release as well
......................................................................
Abandoned
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27115
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Id53e99e51dbc6b9af67503ba6ecbc8990a7de4c9
Gerrit-Change-Number: 27115
Gerrit-PatchSet: 1
Gerrit-Owner: daniel <dwillmann(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: abandon