osmith has uploaded this change for review. (
https://gerrit.osmocom.org/c/osmo-ci/+/37633?usp=email )
Change subject: jobs/osmocom-depcheck: remove
......................................................................
jobs/osmocom-depcheck: remove
This job runs the scripts/osmo-depcheck I once wrote. The purpose of
this script is to figure out if a program really builds with the
dependency version it claims to support.
From what I can tell, nobody is using the script right now, and
especially not the jenkins job. I thought this was used in the release
process to make sure that e.g. programs that don't mention a new
libosmocore in their TODO-RELEASE still build with the previous
libosmocore. But what we actually do is just bump the required versions
of the dependencies regardless, because that is what the program has
been tested with before we make a release. By doing this we eliminate
potential bugs that may appear if using it with a previous library
version.
So I think it makes sense to just remove the jenkins job to have one
less entry there that needs to be maintained / we might be wondering
about what it does. I'm keeping the scripts/osmo-depcheck as it still
works and might be useful in the future (e.g. to test if backported
patches work with versions in configure.ac).
Change-Id: I8b159ececaed86369fe272ae8a8bf0e88b0effa2
---
D jobs/osmocom-depcheck.yml
1 file changed, 29 insertions(+), 81 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/33/37633/1
diff --git a/jobs/osmocom-depcheck.yml b/jobs/osmocom-depcheck.yml
deleted file mode 100644
index 5e20f95..0000000
--- a/jobs/osmocom-depcheck.yml
+++ /dev/null
@@ -1,81 +0,0 @@
----
-- project:
- name: Osmocom-depcheck
- jobs:
- - Osmocom-depcheck
-
-- job-template:
- name: 'Osmocom-depcheck'
- project-type: freestyle
- defaults: global
- description: |
- Verifies that Osmocom programs really build with the dependency
- versions they claim to support in configure.ac.
- (Generated by job-builder)
- properties:
- - build-discarder:
- days-to-keep: 30
- num-to-keep: 30
- node: osmocom-master
- parameters:
- - string:
- name: PROJECTS
- description: |
- Which Osmocom projects and revisions to build, leave
- empty to default to all projects (!),
- default revision is "master".
- Examples: "osmo-hlr", "osmo-hlr:0.2.1 osmo-bts:0.8.1"
- default: 'osmo-hlr:0.2.1'
- - string:
- name: GIT_URL_PREFIX
- description: |
- Where to clone the sources from
- default: 'https://gerrit.osmocom.org/'
- - bool:
- name: BUILD
- description: |
- Attempt to build the project with the minimum dependency
- versions found in the configure.ac files. If this is unchecked,
- this job will only clone the git repositories and parse the
- configure.ac files.
- default: true
- - bool:
- name: PRINT_OLD_DEPENDS
- description: |
- Report dependencies on old releases (printed after the other
- parsing output, before the build starts)
- default: false
- - string:
- name: BRANCH
- description: |
- Branch where the osmo-depcheck.py script gets pulled from.
- Only modify this if you are hacking on osmo-depcheck.py.
- default: '*/master'
- builders:
- - shell: |
- # Build the arguments
- args="$PROJECTS"
- args="$args -j 5"
- args="$args -w $PWD/DEPCHECK_WORKDIR"
- args="$args -u $GIT_URL_PREFIX"
- [ "$BUILD" = "true" ] && args="$args -b"
- [ "$PRINT_OLD_DEPENDS" = "true" ] &&
args="$args -o"
-
- # Run osmo-depcheck
- mkdir DEPCHECK_WORKDIR
- export PYTHONUNBUFFERED=1
- scripts/osmo-depcheck/osmo-depcheck.py $args
- scm:
- - git:
- branches:
- - '$BRANCH'
- url:
https://gerrit.osmocom.org/osmo-ci
- git-config-name: 'Jenkins Builder'
- git-config-email: 'jenkins(a)osmocom.org'
-
- publishers:
- - email:
- notify-every-unstable-build: true
- recipients: 'jenkins-notifications(a)lists.osmocom.org'
-
-# vim: expandtab tabstop=2 shiftwidth=2
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ci/+/37633?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I8b159ececaed86369fe272ae8a8bf0e88b0effa2
Gerrit-Change-Number: 37633
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange