osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ci/+/29295 )
Change subject: jobs/gerrit-lint: hardcode shell command
......................................................................
jobs/gerrit-lint: hardcode shell command
Don't allow overriding cmd per repository anymore. This was used in the
gerrit-osmo-ci-lint job to run the linter from the checked out
osmo-ci.git repository (the one with the untrusted code submitted to
gerrit).
This would become problematic with a future patch that will attach the
ssh agent to the lint jobs (so jenkins can leave review comments over at
gerrit).
Change-Id: Iad23da08898205fafd1ae36256c8f7b6d7506d40
---
M jobs/gerrit-lint.yml
1 file changed, 2 insertions(+), 6 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
diff --git a/jobs/gerrit-lint.yml b/jobs/gerrit-lint.yml
index 9a1c1c5..f1fa389 100644
--- a/jobs/gerrit-lint.yml
+++ b/jobs/gerrit-lint.yml
@@ -5,7 +5,6 @@
name: gerrit-lint
# following default values can be overridden by each repo
disabled: false
- cmd: '~/osmo-ci/lint/lint_diff.sh HEAD~1'
gerrit_url: 'ssh://jenkins@gerrit.osmocom.org:29418'
repos_url: '{gerrit_url}/{repos}'
gerrit_project: '{repos}'
@@ -34,10 +33,7 @@
- osmo-hnodeb
- osmo-hnbgw
- osmo-upf
-
- - osmo-ci:
- # Run the lint script from the checked out branch
- cmd: 'lint/lint_diff.sh HEAD~1'
+ - osmo-ci
- osmo_dia2gsup:
repos_url: '{gerrit_url}/erlang/{repos}'
@@ -149,7 +145,7 @@
server-name: gerrit.osmocom.org
builders:
- - shell: '{obj:cmd}'
+ - shell: '~/osmo-ci/lint/lint_diff.sh HEAD~1'
wrappers:
- ansicolor:
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/29295
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Iad23da08898205fafd1ae36256c8f7b6d7506d40
Gerrit-Change-Number: 29295
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: merged
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/29307 )
Change subject: osmux: Use better name for function which may allocate a new struct
......................................................................
osmux: Use better name for function which may allocate a new struct
Change-Id: I867e3f74775d97749a78c2f198452b1f2916492f
---
M src/libosmo-mgcp/mgcp_osmux.c
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
laforge: Looks good to me, approved
diff --git a/src/libosmo-mgcp/mgcp_osmux.c b/src/libosmo-mgcp/mgcp_osmux.c
index 980dbf0..287fa7c 100644
--- a/src/libosmo-mgcp/mgcp_osmux.c
+++ b/src/libosmo-mgcp/mgcp_osmux.c
@@ -155,7 +155,7 @@
/* Lookup existing handle for a specified address, if the handle can not be
* found, the function will automatically allocate one */
static struct osmux_in_handle *
-osmux_handle_lookup(struct mgcp_conn_rtp *conn, struct osmo_sockaddr *addr, int rem_port)
+osmux_handle_find_or_create(struct mgcp_conn_rtp *conn, struct osmo_sockaddr *addr, int rem_port)
{
struct osmux_handle *h;
@@ -481,7 +481,7 @@
return -1;
}
- conn->osmux.in = osmux_handle_lookup(conn, addr, port);
+ conn->osmux.in = osmux_handle_find_or_create(conn, addr, port);
if (!conn->osmux.in) {
LOGPCONN(conn->conn, DOSMUX, LOGL_ERROR,
"Cannot allocate input osmux handle for conn:%s\n",
--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/29307
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I867e3f74775d97749a78c2f198452b1f2916492f
Gerrit-Change-Number: 29307
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged