Commit Graph

4 Commits

Author SHA1 Message Date
Doug Hellmann
30eb91b7c2 fix get_last_tag function
Depending on how things merge into a branch, the --first-parent option
might give us the wrong version. For example, python-troveclient at
26425a6 was showing 2.13.0 instead of the correct 2.14.0. Remove the
option to fix that problem.

Change-Id: I9a6996b03dc74df6963ac96887356bc6094e59b7
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-01-31 12:25:22 -05:00
Doug Hellmann
34756ddbdf replace the use of zuul-cloner with a shell script
Under zuulv3 the behavior has changed significantly to now require
specifying which repositories need to be cloned for each job, and
zuul-cloner only copies the repositories that are already
available. As soon as zuulv3 is released, our jobs relying on the old
fallback behavior of checking out from a cache when present but using
the upstream server in other situations will fail.

The new script tools/clone_repo.sh handles the cases we have in the
tools and jobs within this repository, and should also be usable from
the tag-releases job.

zuul is removed from the list of requirements so it is no longer
installed when jobs run under tox.

list_unreleased_changes.sh is updated to drop the use of the
virtualenv, which was only present for zuul-cloner.

The other updates in the patch are to change the tools to use the new
script.

Change-Id: Ic559d27881a9a89fb0dcb5295a4d7ed7c578112f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-10-17 15:24:30 -04:00
ChangBo Guo(gcb)
d1284d6750 Don't need 'git review -s' when clone repository
There is no need to initialize gerrit related stuff, and 'git review -s'
uses ssh way to connect gerrit, which doesn't work for some users. So
just drop it.

Change-Id: I68a8f32569d8d41cd9b413a5c5a2e5577b5fdbd0
2017-05-22 11:08:03 +08:00
Doug Hellmann
2db25fc9e8 import a version of list_unreleased_changes.sh
Use a version of list_unreleased_changes.sh that does not rely on the
release-notes command from the release-tools directory.

Change-Id: Ifab8585a3707927d224ee223a551167cced05261
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-02-08 15:30:37 -05:00