We now only have afs-slug.sh in jenkins/scripts/ and it is only
used by nodepool/scripts/configure_mirror.sh. Move the file into the
nodepool/scripts directory and adjust paths.
Remove copying of jenkins/scripts from nodepool, the directory does not
exist anymore.
Remove 89-jenkins-scripts, we don't need it anymore.
Depends-On: https://review.openstack.org/548393
Change-Id: I13cac791d70a2e5bcb0de1ba0adcd79e1b0aee9f
To not install these on the images, create a new scripts directory to
hold them.
Create new copy-release-tools-scripts role to copy the files over,
we do not need using legacy-copy-project-config-scripts anymore since
everything is copied elsewhere.
Add the role to all playbooks that use release-tools scripts.
Change-Id: I36c458e297fec58023799f625739b341c4d403cf
We don't want the tag-releases job to re-process very old branches if
we need to update the data files in openstack/releases. For now we
hard-code a list of closed series.
Change-Id: Ife79d13de4e2abcf9db34b2d15859e1d048e592e
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Move proposal scripts from jenkins/scripts to the proposal directory
so that we can install them only for proposal scripts and do not need
to bake them into nodes.
Change-Id: I356906e4a43597cc913bfa539cac7c2c6dfce117
Create new role for copying common scripts, this includes for now only
common.sh. Use this for proposal and translation jobs.
In the past we duplicated the file, this allows to have one definition
only.
Change-Id: I72c14341f511fdaa2c67a3758387afc9445869cc
We have things like devstack and grenade that do not do releases
but still create stable branches. This removes a check that would
skip the branch creation if there are no releases present in the
deliverable.
Change-Id: I6c17dd55ca628b9ee7c31d30374550c3be053348
We only need the three wheel-X scripts from jenkins/scripts and need
them only for the playbook and its roles. Move the scripts in the
roles directory and copy them only if needed - using the scripts module.
Remove copying of complete jenkins/script for this playbook using the
role legacy-copy-project-config-scripts, it's not needed anymore.
Change-Id: I2e481fcf7ca148aac8a36ae99d8598ba26078a25
These scripts are only used by legacy jobs that life in
openstack-zuul-jobs, move them over to the repo and remove
them from getting installed in our nodes.
Remove unused script package-gerrit.sh, it's not used for some time
(pre-Zuul v3 conversion).
Depends-On: https://review.openstack.org/542649
Change-Id: I9f3d69cff5bc88acd9d2252c0b563ec6f5084f65
Remove using old location, we can switch now to the new location
everywhere.
Note: We can only merge this after new images are build with the new
location build in.
This needs a recheck once change 1 is in since project-config is
not self-testing. So, we can remove jenkins/data/bindep-fallback.txt in
this change.
Change-Id: I08f23e96defb152946ade1490628f37f0215300d
Depends-On: https://review.openstack.org/543141
Depends-On: https://review.openstack.org/543142
No need to install these files on all nodes. Instead copy them over only
when needed and place them together in the translation directory.
Change-Id: Iebffa4f7b5998f2e1a3ee660f1242a11abf1e3f8
This is now installed for legacy jobs only, remove it here.
Change-Id: I663f6b2bd551f4efacf7392477ee90e636c4e636
Depends-On: https://review.openstack.org/541780
The update script framework calls the update function with an argument
of the directory of the project we're trying to update. The update
script needs to pushd into it before curling the new content.
Change-Id: Ic569aee5716ca32e755adda02f149359b532c4fc
This adds a description to the patches that update the upper
constraints of projects, to indicate that the patch depends
on the branching of the openstack/requirements repository.
Change-Id: I58ab61715ec4876f722caa04869cedb0be822491
Use GIT_HTTP_LOW_SPEED_TIME as a way to time out the git operations
talking to remote servers.
Change-Id: I1d828cf629d5370995b2b88eb8e9763438b03aae
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
We converted some jobs to Zuul v3 native, remove now unused scripts:
* The run-tox-api-ref.sh script is obsolete for some time, remove it.
* the tox-with-X scripts, they are not used anymore (see dependency)
Change-Id: I296102a5fdd0ecf688ed5ae68fa061577814ccf7
Depends-On: https://review.openstack.org/540586
Remove jenkins-sudo-grep and use zuul-sudo-grep instead in the only user
which is run-tox.sh.
This allows to cleanup the legacy pre.yaml file in openstack-zuul-jobs.
that file replaces already jenkins-sudo-grep with zuul-sudo-grep.
Remove also now unneeded jenkins-sudo-grep settings.
Change-Id: I73e57eef72b1e5a0ec7be9e57160b24c6076e710
Needed-By: https://review.openstack.org/538344
We're not using local install yet, so make the nodejs function handle
running in a venv.
Currently it fails with:
"Can not perform a '--user' install. User site-packages are not visible
in this virtualenv."
Change-Id: I7a62a6fb236286c967fe2fbfb0266e016d3dcecf
The modulename parameter for setup_projects are not needed anymore,
their usage has been removed with retirement of mitaka. Remove these
parameter.
Call setup_project only once per project and not for both python and
django setup. Also, move the zanata pull out to not have to create a
lock.
Change-Id: Iaf58a6882527eee3ce6528b516fe0f24f51cd976
We made an ensure-babel role. Use it instead of the shell script.
From doing that, remove references in the translation update
scripts and instead source the activate script. Ensure-babel currently
installs into a venv, but may want to just do pip install --user in the
future.
Change-Id: I0ea86040b91c1c3de4f5b315183974548e51b5fa
Depends-On: I1334ff1f469061884b222dd99e72a989d72c68be
During the conversion, the nodejs4-publish-to-npm template was replaced
with python publishing jobs by accident.
Really use nodejs4-publish-to-npm for the publishing and remove thus
legacy-npm-upload and publish-openstack-python-tarball for npm repos.
Remove also npm-tarball-upload.sh, it is only used by the
legacy-npm-upload job and thus not needed anymore.
For reference, see
http://git.openstack.org/cgit/openstack-infra/project-config/tree/zuul/layout.yaml?h=before-jenkins-config-removed
and check the templates used by the projects changed.
Needed-By: I696a23792f8e4056b788ad4a8b018c423aa1af68
Change-Id: I5cccd00518afcc50c575a4bb1937345a30fe584f
We do not need to install os-testr for each run, it's already installed
on the nodepool images we use. Thus change the script to use the
installed environment.
Change-Id: Ifa98cb4e7d35c2b45996a7f4fce9eba953f20c99
These have been part of bindep-fallback.txt since the original commit
(I0219e1b8e3c25acebe6a26dd738943c7ed000426) but they really don't seem
like the type of thing we want a) installed in all fallback jobs or b)
projects having hidden dependencies on. I think there's enough bindep
support out there we can remove this and put it into jobs as required.
Change-Id: Iedb3feabc75715e92c252ed956daf39fd04612bc
We have moved from using tox to installing our own venv in ".venv",
which is now matching. Modify the excludes to just ignore all
dot-files, as there will be nothing translatable in there.
Change-Id: I0c5f30dc3ea19ee8ee74e02e265f42ad2b54095c
The translation scripts need sudo, we cannot use the release notes
pre.yaml which revokes sudo. Instead, create our own pre script and use
it.
Use .venv/bin for sphinx-build since that's where the current role in
openstack-zuul-jobs puts the content.
Depends-On: I23ae1ed7abe7f36d46aae3d72293210ca2a8c0e6
Change-Id: Ia7427bef0408bc5138b6f2a0eb30713ce8fd379d
git:// is not a secure protocol. It's also harder to do apache rewrite
tricks and whatnot when we eventually flatten namespaces. Change
occurances of git://git.openstack.org to https://git.openstack.org.
Change-Id: Ic54f1b84346e37a76baa87deadbb540662889bca