290 Commits

Author SHA1 Message Date
Andreas Jaeger
f2d161f0b3 Run openafs promote job only if gate job run
Change https://review.opendev.org/737995 failed the promote job
openafs-rpm-package-build-promote since the gate job was not run.

Add a files sections, so that the promote job is triggered when the gate
job is.

Change-Id: I2f45d822d1f1301c406799f5dd7a4a1a44f26f0c
2020-06-26 09:48:59 +02:00
Monty Taylor
9b5cc28e4a Only run build-openstack-sphinx-docs on stable branches
We should not be using this on master. Also update it to pin to
python2 to get ready for zuul-jobs changing the default for
sphinx to python3.

Update descriptions to make clear that rocky was the last release
this is supported.

Change-Id: Ib896713623f58a8164d1a2e5f49dc5d316e292b9
2020-06-16 17:30:51 +02:00
Ian Wienand
7f0458d4b2 Wheel build jobs: include system-config roles
As the zuul manual says

  If a child job inherits from a parent which defines a pre and post
  playbook, then the pre and post playbooks it inherits from the
  parent job will run only with the roles that were defined on the
  parent.

This is to stop role inheritance altering the parent job.  So include
the system-config roles here.

Change-Id: I9e5c0d128e5669e5354c5568bdbc00a3aa27e95b
2020-06-10 11:22:52 +10:00
Zuul
c38579ccfd Merge "Remove package-afs-centos jobs" 2020-06-09 17:12:07 +00:00
Ian Wienand
7a20462477 openafs-rpm-package-build: only run on executor
Does not require a node

Change-Id: I76889fedd6e2f9f6e75d3a4ee4165b3c3a02dd5c
2020-06-05 13:13:44 +10:00
Ian Wienand
9c98497b76 Remove package-afs-centos jobs
These have been replaced with gate build jobs

Change-Id: I400a638a8c42f14e5232f8c9748dc571dfaa830e
Depends-On: https://review.opendev.org/733049
2020-06-04 17:19:27 +10:00
Zuul
5a6f7fcbdc Merge "Use default bindep_profile for wheels" 2020-06-04 05:55:53 +00:00
Ian Wienand
50fb0e4c11 openafs-rpm-package-build: add publish job
Grab the artifacts from the gate jobs and publish them

Change-Id: I09e2a9ce3afac2713d4bb3f09c3029f1cc8d47b1
2020-06-03 19:28:23 +10:00
Ian Wienand
2faed0d4c2 openafs-rpm-package-build: new package build roles
The extant roles are not really right.  They run in periodic and poll
tarballs to see if they should build anything.  They are not gate
tested.  I do not know why I did it like this; but it was a long time
ago.

We should have roles that build in the check gate, and upload only
when the client version changes.

Additionally, I found that the upstream .srpm we were building from is
not quite right; it won't build on ARM64 for example due to the way
it's autoconf machinery has been generated.  The best way is to build
your own srpm from the upstream source using the method linked in this
change.

This builds and publishes artifacts for centos7 x86 and centos8
arm64/x86.  A follow-on will publish these.

Change-Id: Iefb01ba48a457388bb5412ddad3d7dafb00d620c
2020-06-03 13:42:09 +10:00
Andreas Jaeger
1dbd185468 Use default bindep_profile for wheels
Revert part of I69254919958cec67095b25724b417282e1f270f8, bindep.txt in
requirements is used for generate-constraints as well, a special wheel
profile does not help. Use the default profile, like we use for
generate-constraints as part of proposal job.

Change-Id: I229e06579849c9fffa00ef33aa94d730331110d3
2020-05-30 21:34:13 +02:00
Ian Wienand
06b8bf4d47 Add wheel build jobs to check
Run the wheel build jobs if we update the build roles or playbook.
Add build-wheel-cache-debian-buster only in followup since it does not
pass yet.

Use bindep.txt from requirements repo for this, use both test and wheel
bindep profiles.

Change-Id: I69254919958cec67095b25724b417282e1f270f8
2020-05-29 20:17:41 +02:00
Ian Wienand
8f9feb21a8 Allow other projects to run wheel cache jobs
Remove the job restriction so we can run these jobs in this gate when
we update the roles/playbooks.  The restriction is moved to the
publish job with the dependent change.

Add dependency on requirements so it is available outside that
repository.

The system-config roles aren't required.  I think this was from when
we used to directly copy to afs from the build nodes and required the
openafs-client install roles.  Now the executor copies the results via
the publish jobs.

Depends-On: https://review.opendev.org/731632

Change-Id: Ica59634eec533db20fe8b1dd148ee9b4d041fd3c
2020-05-29 11:21:38 +10:00
Ian Wienand
a52318853b Move wheel build jobs out of project-config
Move the wheel build jobs out of project config so we can run
speculative testing (project-config is a protected repo).
requirements project has these jobs in it's gate.

The only change here is they are renamed to "wheel-cache" from
"wheel-mirror"; both to not conflict but also I think cache describes
what it does a bit better -- we put the cache on the mirror but we're
not mirroring something created externally.

See-Also: https://review.opendev.org/731401

Change-Id: Ib41607c4842dccf27b711947bf356ef5d74a1059
2020-05-28 17:57:59 +02:00
Monty Taylor
13ef0adb41 Remove legacy infra puppet apply jobs
These moved to system-config so that unwinding them can be more
self-contained. Remove them.

Depends-On: https://review.opendev.org/720889
Change-Id: Id0959976b2a6e51e3d62f851bc5866f8980e8269
2020-04-18 09:19:57 -05:00
Sean McGinnis
8ab3345e4d
Add openstack-tox-functional-py38 job
Change-Id: Ib369af65cd446ff6c7daca983cc52f6b4aa4b823
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-15 12:52:05 -05:00
Monty Taylor
0f55d8b52e Turn off inline comments on pylint
pylint is notoriously noisy. Let's not bother people with its
comments.

Depends-On: https://review.opendev.org/716599
Change-Id: I9443f202defed25fd418e0d0a42bf8413f54310d
2020-04-01 09:05:15 -05:00
Monty Taylor
b66c46434f Don't run infra-puppet-apply on docker and ansible
The apply test does not test anything related to docker or ansible.
Stop running it on docker and ansible related changes.

Change-Id: I1a6e183d1bc9349cb400a087d3640a185b76b950
2020-03-20 14:30:10 -05:00
Monty Taylor
7b10451785 Remove mirror-info role and tests
This is in opendev/base-jobs, so we don't need a second copy over
here.

Change-Id: I55640615b2c363be38ce7f76ed1795b80854282f
2020-03-11 15:13:14 -05:00
Andreas Jaeger
b9842e3bc6 Remove puppet-forge jobs
Remove the now unused jobs legacy-puppet-httpd-forge-upload and
legacy-puppet-storyboard-forge-upload.

Also, remove parent legacy-puppet-openstack-integration, it's not used
anymore.

Depends-On: https://review.opendev.org/710110
Change-Id: I6998d80228fd16911b660aa04f40e710bae1df99
2020-02-26 19:47:15 +01:00
Zuul
82f4f75bbf Merge "Add non-voting tox py38 jobs to Ussuri templates" 2020-01-24 15:28:45 +00:00
Ian Wienand
7160e29bef Add CentOS 8 openafs package build job
Split the extant job into separate centos7 and centos8 parts (this is
so we can easily just rm the centos7 path when it's not required,
rather than making some mashed up combined job), and add a centos8
job to build openafs packages for centos-8.

This is in preparation for making centos-8 wheels; we copy the wheel
directly from the building host so it needs an openafs client.

Change-Id: I2d6392879aac85431253284f217b9daa4a9af94d
2020-01-14 16:41:02 +11:00
Corey Bryant
48a4307334 Add non-voting tox py38 jobs to Ussuri templates
Python 3.8 is now available on Ubuntu Bionic. This enables
non-voting tox py38 jobs for the Ussuri templates, as it's past
the deadline for enabling voting tests.

Depends-On: https://review.opendev.org/#/c/693743
Change-Id: Idbfefe85dc0ddb04bd2d88fafcf3f6e751a1c3d7
2019-11-12 09:44:01 -05:00
Andreas Jaeger
4c1d00047a Remove openstack-tox-py27-with-oslo-master
This job is not needed anymore since repos are moving away from
python27. A py36 job is already setup.

Remove the job definition and usage in the template.

Change-Id: I78fe881fe5f1c2755749de1debaf5d1de276e395
2019-10-29 22:14:29 +01:00
Pierre Riteau
ca27ec9e7c Fix typo in comment
Change-Id: Ic034eed8ed38f622e2f80ea87222a337a91af7eb
2019-10-28 11:58:12 +01:00
Andreas Jaeger
7ae82e20ac Remove puppet-yum
puppet-yum is retired, remove it from required-projects.

Change-Id: I462f6c269bf2dd2d7abf1c7d15e4478d6a18bb0e
2019-10-15 20:56:56 +02:00
Monty Taylor
689c1f1684 Remove a reference to cgit from comment
This looks like a find/replace gone bad.

Change-Id: Ib302c42e86c72596aa33f1190d43c31e7292fb9e
2019-10-04 14:26:04 +02:00
Andreas Jaeger
8f05574254 Bye, bye readthedocs-failing
All users of the job and template have been removed, remove them.

Depends-On: https://review.opendev.org/685616
Depends-On: https://review.opendev.org/685617
Change-Id: I4224b278eba6299462dc94465dbdba647e31ef18
2019-09-29 18:03:44 +02:00
Andreas Jaeger
c5707bca3d Switch project-config to promote jobs [5]: Update specs, cleanup
The file lists for the project-config build jobs for docs-index and
specs-site are now in project-config, so remove the duplicate here.

Switch publishing for specs sites to the new promote job.

Needed-By: https://review.opendev.org/682216
Depends-On: https://review.opendev.org/682214
Change-Id: I3bb41238ebf84328049fd9fd5659594dcef69393
2019-09-14 17:56:19 +02:00
Andreas Jaeger
8da4582fb2 Switch project-config to promote jobs [2]: Update build jobs
Rebase the project-config build jobs on opendev-tox-docs so that
we can collect the generated artifacts and use a promote job.
Note that opendev-tox-docs expects the content in a "html" subdirectory
of sphinx_build_dir, so next step will be changing the tox environment.

Depends-On: https://review.opendev.org/682211
Needed-By: https://review.opendev.org/682212
Change-Id: I522de9591d3e20ddd634573c42688c38a805d497
2019-09-14 16:57:45 +02:00
Sorin Sbarnea
71c392db3d openstack-tox-molecule: replace success-url and failure-url
Fixed issue introduced by new logs browsing experience where
success-url and failure-url are no longer working.

Change-Id: Id8a3202235ea48129aa7883b00a2a3095cadf6fe
Needed-By: https://review.opendev.org/#/c/669223/
2019-09-11 09:02:25 +00:00
Andreas Jaeger
b49d5c8961 Remove kata jobs
These jobs and roles are not needed anymore here,
kata has its own tenant.

Change-Id: I4d9912864ec549e46fe398baef5265b89e4f4a96
2019-08-28 20:54:26 +02:00
Zuul
437e1c6816 Merge "Rebase api-guide/ref jobs" 2019-08-26 06:27:39 +00:00
Michael Johnson
9cb97a4e2c Remove the success-url from openstack-tox-docs
A recent change[1] switched how the documents are archived for the
openstack-tox-docs jobs. They are now under /docs instead of /html [2].

This patch removes the success-url override for the openstack-tox-docs
jobs so that the zuul job links will point to /docs.

[1] https://review.opendev.org/#/c/677009/
[2] https://opendev.org/opendev/base-jobs/src/branch/master/ \
    playbooks/docs/promote.yaml#L24

Change-Id: I8f637e022c78c9be63def5db0c9f1302eab6cbea
2019-08-23 15:40:42 -07:00
Andreas Jaeger
b0981f1932 Rebase api-guide/ref jobs
We based these jobs on opendev-tox-docs since openstack-tox-docs was
migrated later to promote jobs. Switch them back to openstack-tox-docs
so that requirements are set up correctly.

Disable PDF building for these for now.

Change-Id: I1d17858e15c4934cd9625ec31cde7a095aac26a0
2019-08-23 17:30:02 +02:00
Akihiro Motoki
bba1a617ee Add support for building PDFs
We want PDFs. We don't want to have to go to each project and add a
'pdf' tox target or similar. Get the former and avoid the latter by
adding a step to build our PDFs to the 'openstack-tox-docs' job.

The job assumes a 'pdf-docs' tox env to build PDF docs.
If 'pdf-docs' tox env does not exist, PDF doc build will be skipped.

Note that only the job for master and stein is updated,
we do not build PDFs for older releases.

Do not build PDFs for deploy-guide for now.

Co-Authored-By: Stephen Finucane <stephenfin@redhat.com>
Co-Authored-By: Andreas Jaeger <aj@suse.com>
Depends-On: https://review.opendev.org/678077
Change-Id: Ibc455ba511a877159848f4060a6058800d7d2f9b
2019-08-23 17:29:58 +02:00
Andreas Jaeger
b9d47e5f6a Switch deploy-guides to promote publishing
Use promote jobs for publishing, move file triggers to template so that
we can share it between gate and promote job.

Depends-On: https://review.opendev.org/677799
Change-Id: I5120b6d1dabe410242d4dd4a3de1b9d82c8cf402
2019-08-21 20:38:15 +02:00
Andreas Jaeger
1c1da17333 Use promote jobs for openstack-tox-docs
Reparent openstack-tox-docs to opendev-tox-docs so that we can use a
promote job for publishing.
Update template to use the promote job.

Depends-On: https://review.opendev.org/677008
Change-Id: I7d5ba35733be78b9d734776ff8edd7020ec6b694
2019-08-16 20:29:35 +02:00
Andreas Jaeger
8c4de59655 Switch to promote jobs for api-ref/-guide
Switch publishing for api-ref and api-guide jobs to promote jobs.
Use the same file triggers for check, gate and promote jobs so that
we only promote if something was build.

Depends-On: https://review.opendev.org/676630
Change-Id: I13e9e8556bc49ae7883f52b547bf6de4941b4586
2019-08-16 18:50:38 +02:00
Andreas Jaeger
6f06b199aa Use opendev-tox-docs for api jobs
Update api-ref and api-docs jobs to use the opendev-tox-docs job to be
able to use the promote pipeline as followup.

Change-Id: Ie830c47793d24f3e6db88814d7b9cf35910b3e69
2019-08-15 10:05:27 +02:00
James E. Blair
905731c02b Skip test-setup.sh in pep8 jobs
pep8 jobs should not require database setup, etc, so we can skip
running test-setup.sh to save time.

Depends-On: https://review.opendev.org/670119
Change-Id: If49c3b5c3c521118bd67da4e7a9600e66bdcf50d
2019-07-10 09:24:16 -07:00
Sorin Sbarnea
a4f083ad12 Adds openstack-tox-molecule job so we can inherit it
This will allow us to inherit the openstack-tox-molecule job in other
more specialized jobs, like ones that do need to use require-projects.

Change-Id: I104ab1a6cba33f360ed52029ceeec1c34993bada
Needed-By: https://review.opendev.org/#/c/669343/
2019-07-09 21:27:25 +02:00
James E. Blair
0c54a6f4e2 Remove base role integration testing
These jobs have moved to the zuul-jobs repo.

Change-Id: I6a5759e0fbc8f8a6bb37045ca5254412882972ea
2019-07-08 10:48:16 -07:00
Zuul
f0839761a6 Merge "Set python_version: 3.7 for openstack-tox-functional-py37" 2019-07-03 12:16:04 +00:00
Clark Boylan
c33f888937 Make infra puppet beaker jobs parent to legacy-base
We need deps out of the global bindep fallback file to avoid adding
bindep.txt files to all of our puppet modules. Since puppet is
effectively on life support for us lets just use the legacy base parent
job instead of updating every module.

Change-Id: Ic8d9d02c54cf674a2023dd377f46bb6d9c7ffda6
2019-07-02 14:56:03 -07:00
Zuul
1ed1432b93 Merge "Add openstack-tox-functional-py37 job" 2019-07-01 13:44:38 +00:00
Sean McGinnis
3873c37403
Set python_version: 3.7 for openstack-tox-functional-py37
Explicitly set the Python version for the py37 job to make sure the
right interpreter is available.

Change-Id: I3e775300bbdbad1f6e5f9e287a1d1e74e391563e
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-07-01 08:44:26 -05:00
James E. Blair
466436cccc Remove upload-git-mirror test job
This has been moved to the zuul-jobs repo.

Depends-On: https://review.opendev.org/668248
Change-Id: Ie6dd47255995387d143eaa2efe8b1592094415d9
2019-06-28 13:39:29 -07:00
Zuul
0e4136f476 Merge "Add and switch to the newly created opensuse-15 nodeset" 2019-06-26 17:33:22 +00:00
Clark Boylan
5e1bddf402 Switch infra puppet apply jobs to legacy base
These jobs rely on the zuul cloner shim to install puppet modules. Swith
their parent to legacy base so that they get z-c shim installed.

Change-Id: I2f8ffe95cd711eca44c547bdecb1a2d7eceda2d9
2019-06-24 11:16:01 -07:00
Sean McGinnis
1d83efd96c
Add openstack-tox-functional-py37 job
This adds a job to run a tox functional job using Python 3.7 to match
the ones used for 35 and 36.

Change-Id: Iae3c4622cba68f8d65162457449ec2ddbfb1dbd8
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2019-06-24 09:35:37 -05:00