Compare commits

...

139 Commits
main ... f27

Author SHA1 Message Date
Kevin Fenzi 39fa9d623a fix typo in skip-phase
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2018-07-09 08:52:05 -07:00
Peter Robinson ea5a89ad5b Move output from nightly container/cloud compose to dedicated directory, cleanup older than 14 days
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2018-05-25 12:35:12 +01:00
Dusty Mabe a3e7de6054
atomic: point at releases dir, not development
The development dir was cleaned up and f27 has been released so no
longer in development.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-02-18 10:03:34 -05:00
Adam Williamson cbafd26bf7 scripts: TARGET_DIR should not have trailing slash
The TARGET_DIR values in just these few nightly scripts have
trailing slashes. They shouldn't, it'll lead to double slashes
in all the places that use TARGET_DIR as they expect it not to
have one.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-01-26 14:27:10 +01:00
Adam Williamson 1183d5f86b Avoid // in fedmsg location values
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-01-25 14:54:13 +01:00
Adam Williamson f3b02d7540 nightly scripts: Use $DESTDIR more
We set $DESTDIR in all these scripts, but then use its value
several times without just...using it. Let's use it!

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-01-25 14:49:27 +01:00
Adam Williamson ff232bac77 Emit 'location' key in fedmsgs, pointing to compose URL
For fedmsg_meta we have to provide a 'link'. At present we do
this with a rather large and icky pile of conditionals which
doesn't work properly. It's much simpler to figure out the URL
in the compose script and emit it in the fedmsg, then meta can
just...use it. For older fedmsgs we'll just point to the base
kojipkgs location for the link.

For synced composes, we use the synced URL on dl (this matches
what the meta stuff tried to do before). For non-synced composes
we just use the kojipkgs location.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-01-25 14:29:36 +01:00
Dusty Mabe 42747e7a4b
container: use the compose locations url for updates
The secondary arches were failing because they needed:
https://kojipkgs.fedoraproject.org/pub/fedora-secondary/updates/27/$arch/

It's easier for us to use the pungi compose location urls rather than
create separate image_build sections for the secondary architectures.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-01-17 16:17:44 -05:00
Dusty Mabe 336d1ce9c6
container: add aarch64 and ppc64le to what gets built
Also note the change of the url for the "release day" install tree
/yum repository. We use the pungi locations rather then the public
urls because we don't have to account for primary vs secondary
architectures in the URL.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-01-11 13:57:29 -05:00
Dusty Mabe 332210d854
container: update to f27
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2018-01-11 13:55:40 -05:00
Dusty Mabe 49b2843d3e
atomic: switch to new tag for installer
Switch to the f27-atomic-host-installer tag. This tag takes the
place of the f27-atomic tag and is used to tag new versions of
packages that we want in the installer ISO for Atomic Host.

See https://pagure.io/releng/issue/7100

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-12-15 14:28:50 -05:00
Adam Williamson 7b2477a5eb Apply my recent changes to nightly-modular.sh on 27 branch
This applies the same changes I recently submitted for the
nightly compose scripts to nightly-modular.sh on the 27 branch,
which is used for the Fedora-Modular 27 nightly composes. So
it makes that script include the shortname in fedmsgs and
simplifies the release variables etc. just as for the other
scripts.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-12-06 20:20:14 -08:00
Adam Williamson 739921d234 Bail after failed compose in nightly-modular.sh
When nightly-modular.sh was added, it wasn't set to check the
exit code from pungi-koji, as nightly.sh does. This was I guess
because it didn't do much after the compose finished at that
time, and the author thought it was OK for the few things it
*did* do to happen on both successful and failed composes.

However, it now does more stuff after compose completion, like
nightly.sh, including trying to generate changelog files and
send out a compose report email. But because the pungi-koji
exit code check is missing, it tries to do these things even
for failed composes. Changelog generation will fail when the
compose failed, and the email that gets sent out will have a
missing compose ID (because NEWCOMPOSE_ID and SHORTCOMPOSE_ID
can't be set properly and will be blank), and will be empty
because the changelog file that's supposed to be read in as the
content of the email isn't there. This is why we are getting
an empty mail with subject "Fedora Modular bikeshed compose
report:  changes" every time a compose fails.

So, let's put that check in just like nightly.sh does.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-12-06 20:10:57 -08:00
Mohan Boddu 595c763c46 Use F27 release for F27 docker nightly
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-12-05 18:06:03 -05:00
Adam Williamson 585deac61c Add 'short' key to post-release compose fedmsgs
The various post-release composes - two-week Atomic, Cloud, and
Docker - all send out identical fedmsgs. The other commits in
this PR at least ensure the fedmsgs sent after the compose is
done will have a `compose_id` key, allowing disambiguation that
way, but fedmsgs sent *before* the compose is done cannot be
told apart.

This should solve that, without inventing new message topics:
we add a `short` key to the message content which specifies the
'shortname' of the compose (e.g. Fedora-Atomic), which is how
we distinguish these composes from each other.

We also remove a bunch of unused variables from these files,
and revise the release-related variables as explained for the
master branch in #485: `$DIST`, `$BRANCH` and `$BRANCHED` are
all replaced by `$RELEASE` and `$RELEASE_TITLE`.

This does duplicate the value from the pungi config file, but
I'm not sure it's worth figuring out a bash-y way to parse the
value out of the config file just to remove this duplication.
And we already effectively did this when discovering
`OLDCOMPOSE_ID` and `NEWCOMPOSE_ID`, as the path used there is
dependent upon the shortname; to avoid extra duplication, I've
changed those to use `$SHORT-$RELEASE_TITLE`.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-12-04 18:03:43 -08:00
Adam Williamson 704d4371c7 cloud, docker: don't send rsync.start fedmsgs
We don't actually rsync anything for these composes, so it is
wrong to send out a fedmsg saying that we're about to rsync
something.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-12-04 15:52:42 -08:00
Adam Williamson 732aee957d atomic, cloud, docker: correct fedmsgs and bail on fail
These changes bring the post-release compose scripts into line
with the pre-release ones in a couple of ways. Firstly, they
should now include the compose ID in fedmsgs sent after the
compose completes. Secondly, they will skip all post-compose
tasks (rsyncing and sending 'compose.complete' fedmsgs, and
sending out mail reports although that's commented out anyway)
when the compose fails. As part of this, we correct the
NEWCOMPOSE_ID discovery for these composes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2017-12-04 15:52:37 -08:00
Jiri Vymazal 38722f355d added rsyslog module
Signed-off-by: Jiri Vymazal <jvymazal@redhat.com>
2017-11-29 13:15:56 +01:00
Stephen Gallagher f79340e62b
Switch to SSSD 1.16 stream built for F27
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-27 07:55:21 -05:00
Petr Písař 4f604db3b7 Add cmake module
Signed-off-by: Petr Písař <ppisar@redhat.com>
2017-11-23 14:45:27 +01:00
Tomas Mlcoch f8f6dd4cbb Merge #471 `update resteasy stream name in variants-modular.xml` 2017-11-23 08:35:59 +00:00
Tomas Mlcoch 55dd65e549 Merge #464 `Update to modular ruby-2.4.` 2017-11-23 08:35:27 +00:00
Dusty Mabe 32b6b44d70
atomic: build ostree installer from updates ref
We build from the updates ref and set the system to upgrade from
the prod ref.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-11-22 13:22:03 -05:00
Mohan Boddu 9770327ebc Merge #474 `add maven with f27 stream to variants-modular.xml` 2017-11-22 16:04:02 +00:00
Jun Aruga 2eba1aa56e Add modular ruby-2.4.
Signed-off-by: Jun Aruga <jaruga@redhat.com>
2017-11-22 16:12:27 +01:00
Mohan Boddu 66d72b722d Merge #469 `mongodb built for platform:f27` 2017-11-22 15:04:02 +00:00
Mohan Boddu 1132c533a7 Merge #473 `tomcat built for platform:f27` 2017-11-22 15:01:08 +00:00
Karsten Hopp dcf45278af add maven with f27 stream
Signed-off-by: Karsten Hopp <karsten@redhat.com>
2017-11-21 16:44:40 +01:00
Petr Písař 9eb1652d87 tomcat built for platform:f27
Signed-off-by: Petr Písař <ppisar@redhat.com>
2017-11-21 16:39:49 +01:00
Nils Philippsen 92c712f4f8 use stream '2017.0' of system-tools
Signed-off-by: Nils Philippsen <nils@redhat.com>
2017-11-21 16:27:14 +01:00
Karsten Hopp c6b3cc335c update resteasy stream name in variants-modular.xml
Signed-off-by: Karsten Hopp <karsten@redhat.com>
2017-11-21 16:15:37 +01:00
Petr Písař c5e8abdaad mongodb built for platform:f27
Signed-off-by: Petr Písař <ppisar@redhat.com>
2017-11-21 10:02:03 +01:00
Stephen Gallagher c89358ea88
add system-tools:f27
Replaces https://pagure.io/pungi-fedora/pull-request/467
"I've revived the system-tools module (for the time being at least), to include mlocate and screen. Please add it to the modular compose."

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-20 15:12:26 -05:00
Petr Písař 1bcbc2d3d3 boost built for platform:f27
Signed-off-by: Petr Písař <ppisar@redhat.com>
2017-11-20 15:36:51 +01:00
Mohan Boddu 01eb2cb82f Merge #460 `resteasy built for platform:f27` 2017-11-16 19:46:17 +00:00
Mohan Boddu 01843abac9 Merge #462 `Update default Python module streams` 2017-11-16 19:46:00 +00:00
Tomas Orsava 100ec49b13 Update default Python module streams
Signed-off-by: Tomas Orsava <torsava@redhat.com>
2017-11-16 18:22:42 +01:00
Petr Písař 7aa96d9cc0 mysql built for platform:f27
Signed-off-by: Petr Písař <ppisar@redhat.com>
2017-11-16 17:35:53 +01:00
Petr Písař 596182c1aa Replace resteasy with stream built for platform:f27
Signed-off-by: Petr Písař <ppisar@redhat.com>
2017-11-16 16:30:52 +01:00
Petr Písař fbbb77751c Replace libtom with stream built for platform:f27
Signed-off-by: Petr Písař <ppisar@redhat.com>
2017-11-16 09:44:11 +01:00
Stephen Gallagher cb5f6476e7
Unfreeze compose
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-15 10:07:25 -05:00
Stephen Gallagher eebeabaa08
Update platform module
This pulls all packages that were behind F27 GA up to it.

Resolves: rhbz#1510669
Resolves: rhbz#1510671
Resolves: rhbz#1512540

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-15 09:40:57 -05:00
Stephen Gallagher 24bd43912c
Update module versions to latest builds
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-14 15:24:08 -05:00
Stephen Gallagher d23e772d27
Drop PostgreSQL 9.5
This is no longer supported upstream.

Resolves: rhbz#1511235

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-14 15:09:32 -05:00
Rashmi Nargundkar 3fb675976b Made architecture armhfp failable
Signed-off-by: Rashmi Nargundkar <rnargund@redhat.com>
2017-11-09 14:44:58 -05:00
Mohan Boddu e2db6f7a34 Merge #449 `Bump fonts to fix compose bug` 2017-11-09 15:47:04 +00:00
Stephen Gallagher f357c434fa
Bump fonts to fix compose bug
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-09 10:40:12 -05:00
Rashmi Nargundkar 25ea318e63 Updated pungi config for Fedora Modular RC 1.5
Signed-off-by: Rashmi Nargundkar <rnargund@redhat.com>
2017-11-08 15:44:40 -05:00
Mohan Boddu 0b18609ee8 Setup for F27 Modular Beta 1.4
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-11-08 00:26:52 -05:00
Mohan Boddu 34fdc9e54b Merge #445 `Setup for F27 modular beta RC 1.3` 2017-11-08 01:23:32 +00:00
Stephen Gallagher 526a35eed7
Include adcli and fix filtered RPM list
Resolves: rhbz#1510629
Resolves: rhbz#1510647

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-07 19:58:44 -05:00
Rashmi Nargundkar de303ea811 Setup for F27 modular beta RC 1.3
Signed-off-by: Rashmi Nargundkar <rnargund@redhat.com>
2017-11-07 18:50:00 -05:00
Rashmi Nargundkar 8f0d186704 Setup for f27 modular beta RC 1.2
Signed-off-by: Rashmi Nargundkar <rnargund@redhat.com>
2017-11-07 15:28:33 -05:00
Stephen Gallagher 5f0b2e475e
Include two FEs for platform
* Set the default stream for the Node.js module to 8.x (rhbz#1509980)
* Add commented-out baseurls for the modular repos (rhbz#1510252)

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-07 14:23:42 -05:00
Stephen Gallagher 54f9c003dd
Roll back to existing Node.js 6.x build
The previously-specified build had actually failed. As a
result, the compose failed when it couldn't locate the
nonexistent completed build. This patch will fix the
compose.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-07 14:23:42 -05:00
Stephen Gallagher 2e877a4ea3
Add build for installer
This was missed previously. The specified version is
the one from the last successful compose.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-07 14:23:38 -05:00
Petr Šabata 697ed4fcb2 Updating the Host module to fix rhbz#1510553
Adding extlinux-bootloader for armhfp.
https://bugzilla.redhat.com/show_bug.cgi?id=1510553

Signed-off-by: Petr Šabata <contyk@redhat.com>
2017-11-07 18:58:01 +01:00
Stephen Gallagher 819d40f8fd
Update httpd module to include sscg
Resolves: rhbz#1509971

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-06 17:49:17 -05:00
Petr Šabata a7ccee8220 Updating the Host module to address rhbz#1508545
This fixes a release blocker bug in shim:
https://bugzilla.redhat.com/show_bug.cgi?id=1508545

Signed-off-by: Petr Šabata <contyk@redhat.com>
2017-11-06 21:54:05 +01:00
Stephen Gallagher 1a93811fa4
Explicitly select module builds for Beta Freeze
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-06 12:04:44 -05:00
Mohan Boddu 5c106df462 Setup for Fedora 27 Final RC1.6
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-11-04 21:50:02 -04:00
Kevin Fenzi 709cef7340 Merge #434 `Setup for F27 final RC1.5` 2017-11-04 16:30:55 +00:00
Stephen Gallagher 1f45a897f1
F27 should have FreeIPA 4.6
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-04 08:56:30 -04:00
Mohan Boddu c8f13c07c3 Setup for F27 final RC1.5
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-11-04 06:47:17 -04:00
Dusty Mabe ce3cc188b7
atomic workstation: update to prod repo url
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-11-03 17:16:20 -04:00
Patrick Uiterwijk 56b6e1e9f7 Do not block retired packages for now
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-11-03 19:23:48 +01:00
Mohan Boddu 9686f28f9b Setup for Fedora 27 Final RC1.4
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-11-03 13:59:54 -04:00
Stephen Gallagher 43b535607d
Use the 1.3 branch of 389-ds for F27
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-02 20:04:26 -04:00
Mohan Boddu a62e70ae81 Setup for F27 final 1.3
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-11-02 16:11:38 -04:00
Igor Gnatenko de25655726 variants-modular: add libtom:master
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-11-02 17:27:57 +01:00
Mohan Boddu 31ebfdf5ae Merge #421 `adding in a new stream of postgres` 2017-11-01 20:29:28 +00:00
Stephen Gallagher 0048f2185e
Use the 3.6 stream of python3
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-11-01 16:02:32 -04:00
langdon 5ac24e12d8 adding in a new stream of postgres
Signed-off-by: langdon <langdon@fedoraproject.org>
2017-11-01 15:57:29 -04:00
Mohan Boddu 7802b6d889 Setup for F27 final RC-1.2
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-11-01 09:36:43 -04:00
Mohan Boddu c51d6a531b Merge #419 `updating a few more modules` 2017-10-30 19:25:11 +00:00
langdon 66e11d0a51 updating a few more modules
Signed-off-by: langdon <langdon@fedoraproject.org>
2017-10-30 15:16:01 -04:00
Dusty Mabe b58781da42
fixup cloud config (26->27) and script
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-10-27 11:46:27 -04:00
Lubomír Sedlář b9afdab3e2 Use correct version for cloud compose
On f27 branch the version should not be 26. This is updated in koji tags
and comps file as well.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-10-27 16:42:32 +02:00
Dennis Gilmore aa2831bb0f Merge #412 `Setup for F27 final` 2017-10-27 01:00:12 +00:00
Dennis Gilmore 033e2cbc0f Merge #414 `Add fedora-productimg-server to the Modular Server` 2017-10-27 00:58:00 +00:00
Karsten Hopp 7a0f9829b7 drop help2man and krb5
Signed-off-by: Karsten Hopp <karsten@redhat.com>
2017-10-26 12:05:08 +02:00
Stephen Gallagher 56e9ea0fb6
Add fedora-productimg-server to the Modular Server
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-10-23 08:39:51 -04:00
Dusty Mabe 62fd429af1
update twoweek nightly script for f27
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-10-22 21:52:36 -04:00
Mohan Boddu 0ecf4f4315 Setup for F27 final
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-10-20 13:48:25 -04:00
Dusty Mabe 4141a6cb17
atomic: update fedora-atomic.conf for f27 prod runs
- synced with fedora-atomic.conf from f26
- synced with fedora.conf from f27
- Added multi-arch

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-10-20 11:46:09 -04:00
Tomas Mlcoch 536e4c4849 Modular containers for aarch64 & ppc64le should be failable
Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
2017-10-20 15:44:30 +02:00
Tomas Mlcoch 29bd28faf5 Update f27 modular nightly runroot to use branched tag
Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
2017-10-20 14:57:38 +02:00
Tomas Mlcoch 052888d6b6 Add release-candidate-modular.sh for f27
Related issue:
    * https://pagure.io/releng/issue/7074

Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
2017-10-18 14:38:23 +02:00
Stephen Gallagher 66f65f79f7
(F27) Add comps to Modular images
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2017-10-18 07:55:52 -04:00
Tomas Mlcoch 4997dcd658 Add fedora-modular-beta.conf for f27
Updated config options:
* createrepo_deltas
* media_checksum_base_filename
* image_name_format
* global_release
* runroot_tag
* global_target

+ Added comps (https://pagure.io/pungi-fedora/pull-request/407)

Related issue:
* https://pagure.io/releng/issue/7074

Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
2017-10-17 09:48:14 +02:00
langdon bce608b1c2 updating f27 streams
Signed-off-by: langdon <langdon@fedoraproject.org>
2017-10-13 15:37:53 +00:00
Tomas Mlcoch 58a894d82a Backport modularity config from master -> f27
See: https://pagure.io/releng/issue/7074

Signed-off-by: Tomas Mlcoch <tmlcoch@redhat.com>
2017-10-13 15:48:40 +02:00
Merlin Mathesius b75ebcf42e Use f27 host, platform, and hardware-support modules.
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
2017-10-12 11:58:52 -05:00
Dennis Gilmore d58fe12fb4 Merge #336 `Fixing critpath for branched(f27)` 2017-10-05 15:52:20 +00:00
Dennis Gilmore 9b687e91f0 Merge #343 `Set the gather_profiler option.` 2017-10-05 15:51:44 +00:00
Dusty Mabe b629f94762
atomic host: revert to dumb versioning for now
Since the bodhi calling pungi work has not yet completed we'll
revert to 'dumb' versioning for now.

See https://pagure.io/releng/issue/7079

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-10-03 17:08:31 -04:00
Dennis Gilmore 5f5558be61 Merge #383 `Server bring non blocking variant` 2017-10-03 21:02:57 +00:00
Dennis Gilmore 93294a00a1 Merge #387 `On the f27 branch: Enable createiso generation on all arches and volume id substitution for bikeshed` 2017-10-03 20:33:21 +00:00
langdon 47e5308324 adding in new modules to the modular compose.
Signed-off-by: langdon langdon@fedoraproject.org
2017-10-03 14:36:16 -04:00
Rashmi Nargundkar 0a47d68b82 On the f27 branch: Enable createiso generation on all arches and volume id substitution for bikeshed
Fixing createiso enablement for https://pagure.io/releng/issue/7074
Signed-off-by: Rashmi Nargundkar <rnargund@redhat.com>
2017-10-03 12:39:26 -04:00
Lubomír Sedlář a88a100f62
Wait for ostree to be signed before using it
Images should include signed bits, so we need to block the compose until
the commit is signed.

Related: https://pagure.io/pungi/issue/650
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>

(cherry picked from commit 968f8fdf52)

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-09-29 10:58:42 -04:00
Mohan Boddu 1553dfd93b Server bring non blocking variant
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-09-28 16:06:36 -04:00
Mohan Boddu 0fc38fb23d Setup for F27 Beta RC5
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-09-27 14:26:41 -04:00
Mohan Boddu f72c67785f Setup for F27 Beta RC4
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-09-27 08:39:28 -04:00
Mohan Boddu 4bf4b1029d Bump global_release for Fedora 27 Beta RC3
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-09-25 13:44:45 -04:00
Petr Šabata 676e706343 Fix pungi failing to reset the KS checkout
Signed-off-by: Petr Šabata <contyk@redhat.com>
2017-09-25 17:35:15 +02:00
Mohan Boddu 46d11530ee Fixing the volume id substitution for Workstation
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-09-21 22:27:18 -04:00
Mohan Boddu e5134b201c Bump global_release for Fedora 27 Beta RC2
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-09-21 18:31:16 -04:00
Mohan Boddu f4cdaa2f26 Updating comps for f27
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-09-21 12:43:10 -04:00
Mohan Boddu 8822e6e57f Wait for ostree to be signed before using it
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-09-21 12:35:05 -04:00
Mohan Boddu b31fcfd369 Fixing WSOstree name in f27 beta config
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-09-21 12:19:51 -04:00
Kevin Fenzi 7945574a35 Merge #353 `Setup for Fedora 27 Beta` 2017-09-21 15:47:22 +00:00
Mohan Boddu 1665fc7702 Server being non blocking variant
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-09-21 10:21:31 -04:00
Petr Šabata 38b9477e59 Update modular variants
Dropping shim because we decided to ship the traditional, signed Fedora
version in this release.  Adding hardware-support, which carries
dependencies for the installer, and adding perl, which is required by
hardware-support.

Also reordering the list so it's easier to read.

Signed-off-by: Petr Šabata <contyk@redhat.com>
2017-09-20 19:58:18 +02:00
Lubomír Sedlář ea1e7cebe6 Shorted WorkstationOstree in volume ID
Since this is basically a workaround, it should look like it was part of
regular Workstation.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-09-14 07:55:28 +02:00
Lubomír Sedlář 50f523f4e8 Move Workstation Ostree installer to separate variant
Creating the image requires running lorax. There is however already one
lorax instance being run in the buildinstall phase. When the second one
runs, it overwrites the outputs from first one and people expecting to
boot netinst over PXE are instead getting ostree workstation.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1477916
Relates: https://pagure.io/pungi/issue/695
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-09-13 07:52:28 +02:00
Mohan Boddu ca382d46eb Setup for Fedora 27 Beta
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-09-12 16:42:48 -04:00
Lubomír Sedlář 2bb47ab308 Fix broken deps e-mail header
Fixes: https://pagure.io/pungi-fedora/issue/350
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-09-11 11:06:05 +02:00
Peter Robinson 7794d24646 drop ppc64 docker images, we dropped them in the past because the docker binaries aren't build for ppc64 BE but they've somehow come back
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-09-10 16:36:08 +01:00
Ralph Bean a5f496e626 Set the gather_profiler option.
See https://pagure.io/pungi/pull-request/727

Once that is merged, released, and deployed, this change will let us see
New and Fascinating Details about the compose process.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-09-01 20:12:06 -04:00
Patrick "マルタインアンドレアス" Uiterwijk e6f063d03c Merge #341 `Don't generate deltas for branched nightlies.` 2017-09-01 13:51:52 +00:00
Ralph Bean 19c68a2181 Don't generate deltas for branched nightlies.
Why do we generate deltas for branched nightlies?
That doesn't make any sense.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-09-01 00:16:47 -04:00
Adam Samalik 3a49ff2967 add installer-master to variants-modular.xml
Signed-off-by: Adam Samalik <asamalik@redhat.com>
2017-08-23 12:30:43 +02:00
Mohan Boddu 673aff07fc Fixing critpath for branched(f27)
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-08-21 16:57:49 -04:00
Mohan Boddu e16253be32 Merge #332 `Fix up the f27 modular config.` 2017-08-17 18:45:35 +00:00
Ralph Bean 88d5464623 Apparently this needs a _Modular suffix.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-08-17 14:44:41 -04:00
Ralph Bean 09d9b42102 F27 images should use f27 kickstarts.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-08-17 14:38:19 -04:00
Ralph Bean b3b9e18b86 Fix up the f27 modular config.
It seems to have been copied from rawhide without modification.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-08-17 14:37:21 -04:00
Mohan Boddu e56827d6de Adding missing 'f' to the comps file name
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-08-17 11:44:48 -04:00
Mohan Boddu 636c390f13 Merge #324 `f27: container merge recent changes from rawhide back into f27` 2017-08-17 14:49:58 +00:00
Lubomír Sedlář cc516b2a44 Fix typo in comps file name
It's comps-f27.xml, not comps-27.xml.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-08-17 09:21:35 +02:00
Mohan Boddu 323e56287a Merge #326 `sync s390x to fedora-secondary` 2017-08-16 14:49:52 +00:00
Jan Kaluza 29f804910e Add 'Modular' -> 'M' substitution to volume_id_substitutions
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2017-08-16 10:42:46 -04:00
Dan Horák c2074f66d8 sync s390x to fedora-secondary
Signed-off-by: Dan Horák <dan@danny.cz>
2017-08-16 10:08:08 +02:00
Adam Miller 9a50c682d8
rebase and fix unicode issue
Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
(cherry picked from commit 2a565c78bc)
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-08-15 16:56:51 -04:00
Dusty Mabe 74e42c0866
container: add global vars for image-build tasks
composes were failing because the 2nd image build task
for the minimal image (copied from fedora.conf) didn't
have some variables defined. In fedora.conf the global_*
vars are defined, so let's do that here too.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
(cherry picked from commit 6a85929943)
2017-08-15 14:17:51 -04:00
Dusty Mabe b4631deb82
container: pull from linked repo
We don't create a repo during this pungi run. We need to pull
from a repo that was already created.

This was a copy/paste error from f6e7f69.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
(cherry picked from commit c416952658)
2017-08-15 14:17:51 -04:00
Dusty Mabe ae0aa1a73d
updates to fedora-docker.conf
- Update disk_size to 5 from 3 (from 30e6896)
- Add in Container minimal image build
- Fix references to f25 -> f26
- Fix references to f27 -> f26

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
(cherry picked from commit f6e7f6901b)
2017-08-15 14:17:48 -04:00
Mohan Boddu 9efeadfcb1 Branching f27 from rawhide
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-08-14 15:50:53 -04:00
17 changed files with 2261 additions and 279 deletions

View File

@ -6,25 +6,22 @@ LABEL=$1
# to the script are passed to pungi-koji directly.
shift
CONFIG="fedora-cloud.conf"
TARGET_DIR="/mnt/koji/compose/"
TARGET_DIR="/mnt/koji/compose/cloud"
#OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR"
NIGHTLY=""
SKIP_PHASES="--skip-phase=productimg --skip-phase=pkgset --skip-phase=gather --skip-phase=extra_files --skip-phase=creatrepo"
SKIP_PHASES="--skip-phase=productimg --skip-phase=pkgset --skip-phase=gather --skip-phase=extra_files --skip-phase=createrepo"
DEST=$(pwd)
DATE=$(date "+%Y%m%d")
DIST="26"
BRANCHED="26"
BRANCH="branched"
COMPSFILE="comps-f26.xml"
GIT_BRANCH="f26"
TMPDIR=`mktemp -d /tmp/$DIST.$DATE.XXXX`
# the Pungi 'shortname', which we will include in fedmsgs for disambiguation
SHORT="Fedora-Cloud"
RELEASE="27"
RELEASE_TITLE="27"
COMPSFILE="comps-f27.xml"
TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX`
TOMAIL="devel@lists.fedoraproject.org test@lists.fedoraproject.org"
FROM="Fedora Branched Report <rawhide@fedoraproject.org>"
RSYNCPREFIX="sudo -u ftpsync"
ATOMIC=$(mktemp -d /tmp/atomic.${DIST}.$DATE.XXXX)
ATOMICREPO="/mnt/koji/compose/atomic/$BRANCHED/"
ATOMICDEST="/mnt/koji/atomic/$BRANCHED/"
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-26/COMPOSE_ID)
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID)
# uncomment and edit for resuming a failed compose
#COMPOSE_ID="Fedora-23-20150530.n.0"
# assume a releng dir is a git checkout of the releng repo
@ -37,13 +34,12 @@ else
git clone https://pagure.io/releng.git
fi
# Set up our fedmsg function, using the releng repo definition
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s"}' "$BRANCHED" "$ARCH")
fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s"}' "$BRANCHED" "$ARCH")
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s"}' "$RELEASE" "$ARCH" "$SHORT")
FEDMSG_MODNAME="compose"
FEDMSG_CERTPREFIX="releng"
. ./releng/scripts/fedmsg-functions.sh
# Announce that we are starting, even though we don't know the compose_id yet..
send_fedmsg "${fedmsg_json_start}" ${DIST} start
send_fedmsg "${fedmsg_json_start}" ${RELEASE} start
pushd $TMPDIR
git clone https://pagure.io/fedora-comps.git && {
pushd fedora-comps
@ -59,29 +55,37 @@ else
CMD="$CMD --debug-mode --compose-dir=$TARGET_DIR/$COMPOSE_ID"
fi
time $CMD "$@"
if [ "$?" = "0" ]; then
export mail=0
if [ "$?" != "0" ]; then
exit 1
fi
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-26/COMPOSE_ID)
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID)
SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-.*-||g')
# Set this to use later for a few items include depcheck
DESTDIR=$TARGET_DIR/$NEWCOMPOSE_ID
# Public URL the compose will wind up at, we put it in fedmsgs
LOCATION=$(echo $DESTDIR|sed -e 's,/mnt/koji,https://kojipkgs.fedoraproject.org,g')
# Update fedmsg template
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID", "$LOCATION")
fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID" "$LOCATION")
$RSYNCPREFIX mkdir -p $DESTDIR
# Tell interested persons that the rsync is starting (zomg!)
send_fedmsg "${fedmsg_json_start}" ${DIST} rsync.start
#send_fedmsg "${fedmsg_json_start}" ${RELEASE} rsync.start
#for dir in CloudImage metadata ;
# do
# $RSYNCPREFIX rsync -avhH $TARGET_DIR/$NEWCOMPOSE_ID/compose/$dir/ /pub/alt/atomic/testing/$SHORTCOMPOSE_ID/$dir/ ;
# $RSYNCPREFIX rsync -avhH $DESTDIR/compose/$dir/ /pub/alt/atomic/testing/$SHORTCOMPOSE_ID/$dir/ ;
# done
# Tell interested persons that the rsync is done.
#send_fedmsg "${fedmsg_json_done}" ${DIST} rsync.complete
#send_fedmsg "${fedmsg_json_done}" ${RELEASE} rsync.complete
# Tell everyone by fedmsg about the compose
send_fedmsg "${fedmsg_json_done}" ${DIST} complete
send_fedmsg "${fedmsg_json_done}" ${RELEASE} complete
# Tell everyone by email about the compose
SUBJECT='Fedora '$DIST' compose report: '$SHORTCOMPOSE_ID' changes'
#if [ "$mail" = "0" ]; then
# for tomail in $TOMAIL ; do
# cat $TARGET_DIR/$NEWCOMPOSE_ID/logs/*verbose $DESTDIR/logs/depcheck | \
# mutt -e "set from=\"$FROM\"" -e 'set envelope_from=yes' -s "$SUBJECT" $tomail
# done
#fi
SUBJECT='Fedora '$RELEASE' compose report: '$SHORTCOMPOSE_ID' changes'
#for tomail in $TOMAIL ; do
# cat $DESTDIR/logs/*verbose $DESTDIR/logs/depcheck | \
# mutt -e "set from=\"$FROM\"" -e 'set envelope_from=yes' -s "$SUBJECT" $tomail
#done
find $TARGET_DIR -xdev -depth -maxdepth 2 -mtime +14 -exec rm -rf {} \;

View File

@ -5,25 +5,22 @@ LABEL=$1
# to the script are passed to pungi-koji directly.
shift
CONFIG="fedora-docker.conf"
TARGET_DIR="/mnt/koji/compose/"
TARGET_DIR="/mnt/koji/compose/container"
#OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR"
NIGHTLY=""
SKIP_PHASES="--skip-phase=productimg --skip-phase=pkgset --skip-phase=gather --skip-phase=extra_files --skip-phase=creatrepo"
SKIP_PHASES="--skip-phase=productimg --skip-phase=pkgset --skip-phase=gather --skip-phase=extra_files --skip-phase=createrepo"
DEST=$(pwd)
DATE=$(date "+%Y%m%d")
DIST="26"
BRANCHED="26"
BRANCH="branched"
COMPSFILE="comps-f26.xml"
GIT_BRANCH="f26"
TMPDIR=`mktemp -d /tmp/$DIST.$DATE.XXXX`
# the Pungi 'shortname', which we will include in fedmsgs for disambiguation
SHORT="Fedora-Docker"
RELEASE="27"
RELEASE_TITLE="27"
COMPSFILE="comps-f27.xml"
TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX`
TOMAIL="devel@lists.fedoraproject.org test@lists.fedoraproject.org"
FROM="Fedora Branched Report <rawhide@fedoraproject.org>"
RSYNCPREFIX="sudo -u ftpsync"
ATOMIC=$(mktemp -d /tmp/atomic.${DIST}.$DATE.XXXX)
ATOMICREPO="/mnt/koji/compose/atomic/$BRANCHED/"
ATOMICDEST="/pub/fedora/linux/atomic/$BRANCHED/"
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora_Docker-26/COMPOSE_ID)
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID)
# uncomment and edit for resuming a failed compose
#COMPOSE_ID="Fedora-23-20150530.n.0"
# assume a releng dir is a git checkout of teh releng repo
@ -36,13 +33,12 @@ else
git clone https://pagure.io/releng.git
fi
# Set up our fedmsg function, using the releng repo definition
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s"}' "$BRANCHED" "$ARCH")
fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s"}' "$BRANCHED" "$ARCH")
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s"}' "$RELEASE" "$ARCH" "$SHORT")
FEDMSG_MODNAME="compose"
FEDMSG_CERTPREFIX="releng"
. ./releng/scripts/fedmsg-functions.sh
# Announce that we are starting...
send_fedmsg "${fedmsg_json_start}" ${DIST} start
send_fedmsg "${fedmsg_json_start}" ${RELEASE} start
pushd $TMPDIR
git clone https://pagure.io/fedora-comps.git && {
pushd fedora-comps
@ -58,27 +54,36 @@ else
CMD="$CMD --debug-mode --compose-dir=$TARGET_DIR/$COMPOSE_ID"
fi
time $CMD "$@"
if [ "$?" = "0" ]; then
export mail=0
if [ "$?" != "0" ]; then
exit 1
fi
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora_Docker-26/COMPOSE_ID)
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID)
SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-.*-||g')
# Set this to use later for a few items include depcheck
DESTDIR=$TARGET_DIR/$NEWCOMPOSE_ID
# Public URL the compose will wind up at, we put it in fedmsgs
LOCATION=$(echo $DESTDIR|sed -e 's,/mnt/koji,https://kojipkgs.fedoraproject.org,g')
# Update fedmsg template
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID", "$LOCATION")
fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID" "$LOCATION")
$RSYNCPREFIX mkdir -p $DESTDIR
# Tell interested persons that the rsync is starting (zomg!)
send_fedmsg "${fedmsg_json_start}" ${DIST} rsync.start
#send_fedmsg "${fedmsg_json_start}" ${RELEASE} rsync.start
#for dir in Docker metadata ;
# do
# $RSYNCPREFIX rsync -avhH $TARGET_DIR/$NEWCOMPOSE_ID/compose/$dir/ /pub/alt/atomic/testing/$SHORTCOMPOSE_ID/$dir/ ;
# $RSYNCPREFIX rsync -avhH $DESTDIR/compose/$dir/ /pub/alt/atomic/testing/$SHORTCOMPOSE_ID/$dir/ ;
# done
# Tell interested persons that the rsync is done.
#send_fedmsg "${fedmsg_json_done}" ${DIST} rsync.complete
#send_fedmsg "${fedmsg_json_done}" ${RELEASE} rsync.complete
# Tell everyone by fedmsg about the compose
send_fedmsg "${fedmsg_json_done}" ${DIST} complete
SUBJECT='Fedora '$DIST' compose report: '$SHORTCOMPOSE_ID' changes'
#if [ "$mail" = "0" ]; then
# for tomail in $TOMAIL ; do
# cat $TARGET_DIR/$NEWCOMPOSE_ID/logs/*verbose $DESTDIR/logs/depcheck | \
# mutt -e "set from=\"$FROM\"" -e 'set envelope_from=yes' -s "$SUBJECT" $tomail
# done
#fi
send_fedmsg "${fedmsg_json_done}" ${RELEASE} complete
SUBJECT='Fedora '$RELEASE' compose report: '$SHORTCOMPOSE_ID' changes'
#for tomail in $TOMAIL ; do
# cat $DESTDIR/logs/*verbose $DESTDIR/logs/depcheck | \
# mutt -e "set from=\"$FROM\"" -e 'set envelope_from=yes' -s "$SUBJECT" $tomail
#done
find $TARGET_DIR -xdev -depth -maxdepth 2 -mtime +14 -exec rm -rf {} \;

View File

@ -1,7 +1,7 @@
# PRODUCT INFO
release_name = 'Fedora-Atomic'
release_short = 'Fedora-Atomic'
release_version = '26'
release_version = '27'
release_is_layered = False
# GENERAL SETTINGS
bootable = True
@ -16,17 +16,17 @@ lorax_options = [
}
})
]
comps_file = 'comps-f26.xml' #{
comps_file = 'comps-f27.xml' #{
# 'scm': 'git',
# 'repo': 'git://git.fedorahosted.org/git/comps.git',
# 'branch': None, # defaults to cvs/HEAD or git/master
# 'file': 'comps-f23.xml',
#}
variants_file='variants-fedora.xml'
sigkeys = ['64DAB85D'] # None = unsigned
sigkeys = ['F5282EE4'] # None = unsigned
# limit tree architectures
# if undefined, all architectures from variants.xml will be included
tree_arches = ['x86_64']
tree_arches = ['aarch64', 'ppc64le', 'x86_64']
# limit tree variants
# if undefined, all variants from variants.xml will be included
tree_variants = ['Atomic', 'Cloud', 'CloudImages']
@ -35,15 +35,16 @@ hashed_directories = True
runroot = True
#runroot_channel = 'fedora_compose'
runroot_channel = 'compose'
runroot_tag = 'f26-build'
runroot_tag = 'f27-build'
# PKGSET
pkgset_source = 'koji' # koji, repos
pkgset_koji_tag = 'f26-atomic'
pkgset_koji_tag = 'f27-atomic-host-installer'
pkgset_koji_inherit = True
filter_system_release_packages = False
# GATHER
gather_source = 'comps'
gather_method = 'deps'
gather_profiler = True
check_deps = False
greedy_method = 'build'
# fomat: [(variant_uid_regex, {arch|*: [repos]})]
@ -212,38 +213,37 @@ disc_types = {
translate_paths = [
('/mnt/koji/compose/', 'http://kojipkgs.fedoraproject.org/compose/'),
]
# These will be inherited by live_media, live_images and image_build
global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#origin/f27'
global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN'
global_version = '27'
# live_images ignores this in favor of live_target
global_target = 'f27'
image_build = {
'^CloudImages$': [
{
'image-build': {
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')]
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')],
'name': 'Fedora-Atomic',
'target': 'f26',
'version': '26',
'release': None,
'ksurl': 'git+https://pagure.io/fedora-kickstarts.git?#origin/f26',
'kickstart': 'fedora-atomic.ks',
'distro': 'Fedora-20',
'distro': 'Fedora-22',
'disk_size': 6,
'arches': ['x86_64'],
'arches': ['aarch64', 'ppc64le', 'x86_64'],
'install_tree_from': 'Cloud',
'subvariant': 'Atomic'
'subvariant': 'Atomic',
}
},
{
'image-build': {
'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')]
'name': 'Fedora-Atomic-Vagrant',
'target': 'f26',
'version': '26',
'release': None,
'ksurl': 'git+https://pagure.io/fedora-kickstarts.git?#origin/f26',
'kickstart': 'fedora-atomic-vagrant.ks',
'distro': 'Fedora-20',
'distro': 'Fedora-22',
'disk_size': 40,
'arches': ['x86_64'],
'install_tree_from': 'Cloud',
'subvariant': 'Atomic'
'subvariant': 'Atomic',
},
'factory-parameters': {
'vagrant_sync_directory': '/home/vagrant/sync',
@ -255,21 +255,57 @@ ostree_installer = [
("^Atomic$", {
"x86_64": {
"repo": [ "Cloud",
"https://kojipkgs.fedoraproject.org/pub/fedora/linux/releases/26/Everything/$arch/os/"],
"https://kojipkgs.fedoraproject.org/pub/fedora/linux/releases/27/Everything/$arch/os/"],
"release": None,
"installpkgs": ["fedora-productimg-atomic"],
"rootfs_size": "4",
"add_template": ["ostree-based-installer/lorax-configure-repo.tmpl",
"ostree-based-installer/lorax-embed-repo.tmpl"],
"add_template_var": [
"ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/atomic/rawhide/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/rawhide/",
"ostree_install_repo=https://kojipkgs.fedoraproject.org/atomic/27/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/27/",
"ostree_osname=fedora-atomic",
"ostree_install_ref=fedora/rawhide/x86_64/atomic-host",
"ostree_update_ref=fedora/rawhide/x86_64/atomic-host",
"ostree_install_ref=fedora/27/x86_64/updates/atomic-host",
"ostree_update_ref=fedora/27/x86_64/atomic-host",
],
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'f26',
'template_branch': 'f27',
},
"aarch64": {
"repo": [ "Cloud",
"https://kojipkgs.fedoraproject.org/pub/fedora-secondary/releases/27/Everything/$arch/os/"],
"release": None,
"installpkgs": ["fedora-productimg-atomic"],
"rootfs_size": "4",
"add_template": ["ostree-based-installer/lorax-configure-repo.tmpl",
"ostree-based-installer/lorax-embed-repo.tmpl"],
"add_template_var": [
"ostree_install_repo=https://kojipkgs.fedoraproject.org/atomic/27/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/27/",
"ostree_osname=fedora-atomic",
"ostree_install_ref=fedora/27/aarch64/updates/atomic-host",
"ostree_update_ref=fedora/27/aarch64/atomic-host",
],
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'f27',
},
"ppc64le": {
"repo": [ "Cloud",
"https://kojipkgs.fedoraproject.org/pub/fedora-secondary/releases/27/Everything/$arch/os/"],
"release": None,
"installpkgs": ["fedora-productimg-atomic"],
"rootfs_size": "4",
"add_template": ["ostree-based-installer/lorax-configure-repo.tmpl",
"ostree-based-installer/lorax-embed-repo.tmpl"],
"add_template_var": [
"ostree_install_repo=https://kojipkgs.fedoraproject.org/atomic/27/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/27/",
"ostree_osname=fedora-atomic",
"ostree_install_ref=fedora/27/ppc64le/updates/atomic-host",
"ostree_update_ref=fedora/27/ppc64le/atomic-host",
],
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'f27',
}
})
]

746
fedora-beta.conf Normal file
View File

@ -0,0 +1,746 @@
# PRODUCT INFO
release_name = 'Fedora'
release_short = 'Fedora'
release_version = '27'
release_is_layered = False
# GENERAL SETTINGS
bootable = True
comps_file = 'comps-f27.xml' #{
# 'scm': 'git',
# 'repo': 'https://pagure.io/fedora-comps.git',
# 'branch': None, # defaults to cvs/HEAD or git/master
# 'file': 'comps-f23.xml',
#}
variants_file='variants-fedora.xml'
sigkeys = ['F5282EE4']
# limit tree architectures
# if undefined, all architectures from variants.xml will be included
tree_arches = ['aarch64', 'armhfp', 'i386', 'ppc64', 'ppc64le', 's390x', 'x86_64']
# limit tree variants
# if undefined, all variants from variants.xml will be included
#tree_variants = ['Server']
hashed_directories = True
# RUNROOT settings
runroot = True
runroot_channel = 'compose'
runroot_tag = 'f27-build'
# PKGSET
pkgset_source = 'koji' # koji, repos
# PKGSET - REPOS
# pkgset_repos format: {arch: [repo1_url, repo2_url, ...]}
# pkgset_repos = {}
# PKGSET - KOJI
pkgset_koji_tag = 'f27-compose'
pkgset_koji_inherit = True
filter_system_release_packages = False
# GATHER
gather_source = 'comps'
gather_method = 'deps'
gather_backend = 'dnf'
check_deps = False
greedy_method = 'build'
# This can only be enabled once DNF 2 is used due to
# https://bugzilla.redhat.com/show_bug.cgi?id=1260986
#repoclosure_backend = 'dnf'
# fomat: [(variant_uid_regex, {arch|*: [repos]})]
# gather_lookaside_repos = []
# GATHER - JSON
# format: {variant_uid: {arch: package: [arch1, arch2, None (for any arch)]}}
#gather_source_mapping = '/path/to/mapping.json'
# CREATEREPO
createrepo_deltas = False
# CHECKSUMS
media_checksums = ['sha256']
media_checksum_one_file = True
media_checksum_base_filename = '%(release_short)s-%(variant)s-%(version)s_%(label)s-%(arch)s'
#jigdo
create_jigdo = False
# BUILDINSTALL
buildinstall_method = 'lorax'
# Enables macboot on x86_64 for all variants and disables upgrade image building
# # everywhere.
lorax_options = [
('^.*$', {
'x86_64': {
'nomacboot': False
},
'*': {
'noupgrade': True
}
})
]
#extra_packages = [
# '/mnt/packages/foo*',
#]
# fomat: [(variant_uid_regex, {arch|*: [packages]})]
additional_packages = [
('.*', {
'*': [
'kernel*',
'dracut*',
'autocorr-*',
'eclipse-nls',
'eclipse-nls-*',
'hunspell-*',
'hyphen-*',
'kde-l10n-*',
'libreoffice-langpack-*',
'man-pages-*',
'mythes-*',
],
}),
('^Everything$', {
'*': [
'*',
],
}),
('^Server$', {
'*': [
],
}),
('^Workstation$', {
'*': [
],
}),
('^Cloud$', {
'*': [
],
}),
]
multilib = [
('^Everything$', {
'x86_64': ['devel', 'runtime'],
})
]
filter_packages = [
('(Workstation|Server|Cloud)$', {
'*': [
'kernel*debug*',
'kernel-kdump*',
'kernel-tools*',
'syslog-ng*',
'astronomy-bookmarks',
'generic*',
'GConf2-dbus*',
'bluez-gnome',
'java-1.8.0-openjdk',
'community-mysql*',
'jruby*',
'gimp-help-*',
]
}),
]
# format: {arch|*: [packages]}
multilib_blacklist = {
'*': ['kernel', 'kernel-PAE*', 'kernel*debug*',
'dmraid-devel', 'kdeutils-devel', 'mkinitrd-devel',
'java-1.5.0-gcj-devel', 'java-1.7.0-icedtea-devel',
'php-devel', 'java-1.6.0-openjdk-devel',
'java-1.7.0-openjdk-devel', 'java-1.8.0-openjdk-devel',
'httpd-devel', 'tomcat-native', 'php*', 'httpd',
'krb5-server', 'krb5-server-ldap', 'mod_*', 'ghc-*'
],
}
# format: {arch|*: [packages]}
multilib_whitelist = {
'*': ['libgnat', 'wine', 'lmms-vst', 'nspluginwrapper',
'libflashsupport', 'valgrind', 'perl-libs', 'redhat-lsb',
'yaboot', 'syslinux-extlinux-nonlinux', 'syslinux-nonlinux',
'syslinux-tftpboot', 'nosync', '*-static', 'apitrace-libs',
'fakeroot-libs', 'postgresql-odbc', 'mysql-connector-odbc',
'fakechroot-libs','mesa-vdpau-drivers', 'p11-kit-trust'
],
}
createiso_skip = [
('^Workstation$', {
'*': True,
'src': True
}),
('^Server$', {
'src': True
}),
('^Cloud$', {
'*': True,
'src': True
}),
('^Everything$', {
'*': True,
'src': True
}),
]
# fomat: [(variant_uid_regex, {arch|*: [scm_dicts]})]
#extra_files = [
# ('^(Server|Workstation|Cloud)$', {
# '*': [
# {
# 'scm': 'rpm',
# 'repo': 'fedora-release-%(variant_id_lower)s',
# 'branch': None,
# 'file': [
# '/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-release',
# ],
# 'target': '',
# },
# ],
# }),
#]
# Image name respecting Fedora's image naming policy
image_name_format = '%(release_short)s-%(variant)s-%(disc_type)s-%(arch)s-%(version)s_%(label)s.iso'
# # Use the same format for volume id
image_volid_formats = [
'%(release_short)s-%(variant)s-%(disc_type)s-%(arch)s-%(version)s'
]
# No special handling for layered products, use same format as for regular images
image_volid_layered_product_formats = []
# Replace 'Cloud' with 'C' in volume id etc.
volume_id_substitutions = {
'Atomic': 'AH',
'Rawhide': 'rawh',
'Images': 'img',
'MATE_Compiz': 'MATE',
'Security': 'Sec',
'Electronic_Lab': 'Elec',
'Robotics': 'Robo',
'Scientific_KDE': 'SciK',
'Astronomy_KDE': 'AstK',
'Design_suite': 'Dsgn',
'Games': 'Game',
'Jam_KDE': 'Jam',
'WorkstationOstree': 'WS',
'Workstation': 'WS',
'Everything': 'E',
'Server': 'S',
'Cloud': 'C',
'Alpha': 'A',
'Beta': 'B',
'TC': 'T',
}
disc_types = {
'boot': 'netinst',
'live': 'Live',
}
translate_paths = [
('/mnt/koji/compose/', 'http://kojipkgs.fedoraproject.org/compose/'),
]
# These will be inherited by live_media, live_images and image_build
global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#origin/f27'
global_release = '1.5'
global_version = '27_Beta'
# live_images ignores this in favor of live_target
global_target = 'f27'
image_build = {
'^Docker$': [
{
'image-build': {
'format': [('docker', 'tar.xz')],
'name': 'Fedora-Docker-Base',
'kickstart': 'fedora-docker-base.ks',
'distro': 'Fedora-22',
'disk_size': 5,
'arches': ['armhfp', 'aarch64', 'ppc64le', 'x86_64'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Docker_Base',
'failable': ['*'],
},
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f27container", "FGC=f27" ]',
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "27"}',
},
},
{
'image-build': {
'format': [('docker', 'tar.xz')],
'name': 'Fedora-Container-Minimal-Base',
'kickstart': 'fedora-docker-base-minimal.ks',
'distro': 'Fedora-22',
'disk_size': 5,
'arches': ['armhfp', 'aarch64', 'ppc64le', 'x86_64'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Container_Minimal_Base',
'failable': ['*'],
},
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f27container", "FGC=f27" ]',
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "27"}',
},
}
],
'^CloudImages$': [
{
'image-build': {
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')],
'name': 'Fedora-Cloud-Base',
'kickstart': 'fedora-cloud-base.ks',
'distro': 'Fedora-22',
'disk_size': 4,
'arches': ['aarch64', 'ppc64', 'ppc64le', 'x86_64'],
'repo': 'Cloud',
'install_tree_from': 'Cloud',
'subvariant': 'Cloud_Base',
'failable': ['aarch64', 'ppc64', 'ppc64le'],
}
},
{
'image-build': {
'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')],
'name': 'Fedora-Cloud-Base-Vagrant',
'kickstart': 'fedora-cloud-base-vagrant.ks',
'distro': 'Fedora-22',
'disk_size': 40,
'arches': ['x86_64'],
'repo': 'Cloud',
'install_tree_from': 'Cloud',
'subvariant': 'Cloud_Base',
'failable': ['*'],
},
},
{
'image-build': {
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')],
'name': 'Fedora-Atomic',
'kickstart': 'fedora-atomic.ks',
'distro': 'Fedora-22',
'disk_size': 6,
'arches': ['aarch64', 'ppc64le', 'x86_64'],
'install_tree_from': 'Cloud',
'subvariant': 'Atomic',
'failable': ['*'],
}
},
{
'image-build': {
'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')],
'name': 'Fedora-Atomic-Vagrant',
'kickstart': 'fedora-atomic-vagrant.ks',
'distro': 'Fedora-22',
'disk_size': 40,
'arches': ['x86_64'],
'install_tree_from': 'Cloud',
'subvariant': 'Atomic',
'failable': ['*'],
},
'factory-parameters': {
'vagrant_sync_directory': '/home/vagrant/sync',
}
},
],
'^Labs$': [
{
'image-build': {
'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')],
'name': 'Fedora-Python-Classroom-Vagrant',
'kickstart': 'fedora-python-classroom-vagrant.ks',
'distro': 'Fedora-22',
'disk_size': 40,
'arches': ['x86_64','i386'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Python_Classroom',
'failable': ['*'],
},
'factory-parameters': {
'ova-option': 'vagrant_sync_directory=/home/vagrant/sync'
}
},
],
'^Spins': [
{
'image-build': {
'format': [('raw-xz','raw.xz')],
'name': 'Fedora-Minimal',
'kickstart': 'fedora-disk-minimal.ks',
'distro': 'Fedora-22',
'disk_size': 5,
'arches': ['aarch64'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Minimal',
'failable': ['*'],
}
},
],
'^Workstation$': [
{
'image-build': {
'format': [('raw-xz','raw.xz')],
'name': 'Fedora-Workstation',
'kickstart': 'fedora-disk-workstation.ks',
'distro': 'Fedora-22',
'disk_size': 8,
'arches': ['aarch64'],
'repo': 'Workstation',
'install_tree_from': 'Workstation',
'subvariant': 'Workstation',
'failable': ['*'],
}
},
],
'^Server$': [
{
'image-build': {
'format': [('raw-xz','raw.xz')],
'name': 'Fedora-Server',
'kickstart': 'fedora-disk-server.ks',
'distro': 'Fedora-22',
'disk_size': 7,
'arches': ['aarch64'],
'repo': 'Server',
'install_tree_from': 'Server',
'subvariant': 'Server',
'failable': ['*'],
}
},
],
}
live_media = {
'^Workstation$': [
{
'name': 'Fedora-Workstation-Live',
'kickstart': 'fedora-live-workstation.ks',
'arches': ['x86_64', 'i386'],
'failable': ['i386'],
'repo': 'Everything',
'subvariant': 'Workstation'
}
],
'^Spins': [
{
'name': 'Fedora-KDE-Live',
'kickstart': 'fedora-live-kde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['i386'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'KDE'
},
{
'name': 'Fedora-Xfce-Live',
'kickstart': 'fedora-live-xfce.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Xfce'
},
{
'name': 'Fedora-SoaS-Live',
'kickstart': 'fedora-live-soas.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'SoaS'
},
{
'name': 'Fedora-Cinnamon-Live',
'kickstart': 'fedora-live-cinnamon.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Cinnamon'
},
{
'name': 'Fedora-LXDE-Live',
'kickstart': 'fedora-live-lxde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'LXDE'
},
{
'name': 'Fedora-MATE_Compiz-Live',
'kickstart': 'fedora-live-mate_compiz.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Mate'
},
{
'name': 'Fedora-LXQt-Live',
'kickstart': 'fedora-live-lxqt.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'LXQt'
}
],
'^Labs$': [
{
'name': 'Fedora-Astronomy_KDE-Live',
'kickstart': 'fedora-live-astronomy_kde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Astronomy_KDE'
},
{
'name': 'Fedora-Design_suite-Live',
'kickstart': 'fedora-live-design_suite.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Design_suite'
},
{
'name': 'Fedora-Scientific_KDE-Live',
'kickstart': 'fedora-live-scientific_kde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Scientific_KDE'
},
{
'name': 'Fedora-Games-Live',
'kickstart': 'fedora-live-games.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Games'
},
{
'name': 'Fedora-Security-Live',
'kickstart': 'fedora-live-security.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Security'
},
{
'name': 'Fedora-Jam_KDE-Live',
'kickstart': 'fedora-live-jam_kde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Jam_KDE'
},
{
'name': 'Fedora-Robotics-Live',
'kickstart': 'fedora-live-robotics.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Robotics'
},
{
'name': 'Fedora-Python-Classroom-Live',
'kickstart': 'fedora-live-python-classroom.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Python_Classroom'
}
],
}
failable_deliverables = [
('^Server$', {
'*': ['buildinstall', 'iso'],
}),
('^.*$', {
# Buildinstall is non blocking
'src': ['buildinstall'],
# Nothing on aarch64, i386, ppc64, ppc64le blocks the compose
'aarch64': ['buildinstall', 'iso'],
'i386': ['buildinstall', 'iso'],
'ppc64': ['buildinstall', 'iso'],
'ppc64le': ['buildinstall', 'iso'],
's390x': ['buildinstall', 'iso'],
})
]
live_target = 'f27'
live_images_no_rename = True
# fomat: [(variant_uid_regex, {arch|*: scm_dict})]
live_images = [
('^Workstation$', {
'armhfp': {
'kickstart': 'fedora-arm-workstation.ks',
'name': 'Fedora-Workstation-armhfp',
'type': 'appliance',
'failable': True,
}
}),
('^Server$', {
'armhfp': {
'kickstart': 'fedora-arm-server.ks',
'name': 'Fedora-Server-armhfp',
'type': 'appliance',
'failable': True,
}
}),
('^Spins$', {
'armhfp': [{
'kickstart': 'fedora-arm-kde.ks',
'name': 'Fedora-KDE-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'KDE',
'failable': True,
},
{
'kickstart': 'fedora-arm-lxde.ks',
'name': 'Fedora-LXDE-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'LXDE',
'failable': True,
},
{
'kickstart': 'fedora-arm-mate.ks',
'name': 'Fedora-Mate-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'Mate',
'failable': True,
},
{
'kickstart': 'fedora-arm-minimal.ks',
'name': 'Fedora-Minimal-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'Minimal',
'failable': False,
},
{
'kickstart': 'fedora-arm-soas.ks',
'name': 'Fedora-SoaS-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'SoaS',
'failable': True,
},
{
'kickstart': 'fedora-arm-xfce.ks',
'name': 'Fedora-Xfce-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'Xfce',
'failable': False,
},
{
'kickstart': 'fedora-arm-lxqt.ks',
'name': 'Fedora-LXQt-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'LXQt',
'failable': True,
},]
}),
('^Labs$', {
'armhfp': {
'kickstart': 'fedora-arm-python-classroom.ks',
'name': 'Fedora-Python-Classroom-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'Python_Classroom',
'failable': True,
}
}),
]
ostree = [
("^ostree$", {
"x86_64": {
"version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN",
"treefile": "fedora-ostree-workstation.json",
"config_url": "https://pagure.io/workstation-ostree-config.git",
"config_branch": "f27",
"repo": "Workstation",
"ostree_repo": "/mnt/koji/compose/ostree/27/",
'failable': ['*'],
}
})
]
ostree_installer = [
("^WorkstationOstree$", {
"x86_64": {
"repo": "Everything",
"release": None,
"installpkgs": ["fedora-productimg-workstation"],
"rootfs_size": "8",
"add_template": ["ostree-based-installer/lorax-configure-repo.tmpl",
"ostree-based-installer/lorax-embed-repo.tmpl"],
"add_template_var": [
"ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/ostree/27/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/compose/ostree/27/",
"ostree_osname=fedora-workstation",
"ostree_install_ref=fedora/27/x86_64/workstation",
"ostree_update_ref=fedora/27/x86_64/workstation",
],
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'f27',
'failable': ['*'],
}
})
]
koji_profile = 'compose_koji'

View File

@ -1,11 +1,11 @@
# PRODUCT INFO
release_name = 'Fedora-Cloud'
release_short = 'Fedora-Cloud'
release_version = '26'
release_version = '27'
release_is_layered = False
# GENERAL SETTINGS
bootable = False
comps_file = 'comps-f26.xml' #{
comps_file = 'comps-f27.xml' #{
# 'scm': 'git',
# 'repo': 'git://git.fedorahosted.org/git/comps.git',
# 'branch': None, # defaults to cvs/HEAD or git/master
@ -24,15 +24,16 @@ hashed_directories = True
runroot = True
#runroot_channel = 'fedora_compose'
runroot_channel = 'compose'
runroot_tag = 'f26-build'
runroot_tag = 'f27-build'
# PKGSET
pkgset_source = 'koji' # koji, repos
pkgset_koji_tag = 'f26-updates'
pkgset_koji_tag = 'f27-updates'
pkgset_koji_inherit = True
filter_system_release_packages = False
# GATHER
gather_source = 'comps'
gather_method = 'deps'
gather_profiler = True
check_deps = False
greedy_method = 'build'
# fomat: [(variant_uid_regex, {arch|*: [repos]})]
@ -206,19 +207,19 @@ image_build = {
'image-build': {
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')],
'name': 'Fedora-Cloud-Base',
'target': 'f26',
'version': '26',
'target': 'f27',
'version': '27',
'release': None,
'ksurl': 'git+https://pagure.io/fedora-kickstarts.git?#origin/f26',
'ksurl': 'git+https://pagure.io/fedora-kickstarts.git?#origin/f27',
'kickstart': 'fedora-cloud-base.ks',
'distro': 'Fedora-22',
'disk_size': 4,
'arches': ['x86_64'],
'repo': [
'http://kojipkgs.fedoraproject.org/pub/fedora/linux/updates/26/$arch/',
'http://kojipkgs.fedoraproject.org/pub/alt/releases/26/Cloud/$arch/os/',
'http://kojipkgs.fedoraproject.org/pub/fedora/linux/updates/27/$arch/',
'http://kojipkgs.fedoraproject.org/pub/alt/releases/27/Cloud/$arch/os/',
],
'install_tree_from': 'http://kojipkgs.fedoraproject.org/pub/alt/releases/26/Cloud/$arch/os/',
'install_tree_from': 'http://kojipkgs.fedoraproject.org/pub/alt/releases/27/Cloud/$arch/os/',
'subvariant': 'Cloud_Base'
}
},
@ -226,19 +227,19 @@ image_build = {
'image-build': {
'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')]
'name': 'Fedora-Cloud-Base-Vagrant',
'target': 'f26',
'version': '26',
'target': 'f27',
'version': '27',
'release': None,
'ksurl': 'git+https://pagure.io/fedora-kickstarts.git?#origin/f26',
'ksurl': 'git+https://pagure.io/fedora-kickstarts.git?#origin/f27',
'kickstart': 'fedora-cloud-base-vagrant.ks',
'distro': 'Fedora-22',
'disk_size': 40,
'arches': ['x86_64'],
'repo': [
'http://kojipkgs.fedoraproject.org/pub/fedora/linux/updates/26/$arch/',
'http://kojipkgs.fedoraproject.org/pub/alt/releases/26/Cloud/$arch/os/'
'http://kojipkgs.fedoraproject.org/pub/fedora/linux/updates/27/$arch/',
'http://kojipkgs.fedoraproject.org/pub/alt/releases/27/Cloud/$arch/os/'
],
'install_tree_from': 'http://kojipkgs.fedoraproject.org/pub/alt/releases/26/Cloud/$arch/os/',
'install_tree_from': 'http://kojipkgs.fedoraproject.org/pub/alt/releases/27/Cloud/$arch/os/',
'subvariant': 'Cloud_Base',
}
},

View File

@ -1,21 +1,21 @@
# PRODUCT INFO
release_name = 'Fedora-Docker'
release_short = 'Fedora-Docker'
release_version = '26'
release_version = '27'
release_is_layered = False
# GENERAL SETTINGS
bootable = False
comps_file = 'comps-f26.xml' #{
comps_file = 'comps-f27.xml' #{
# 'scm': 'git',
# 'repo': 'git://git.fedorahosted.org/git/comps.git',
# 'branch': None, # defaults to cvs/HEAD or git/master
# 'file': 'comps-f23.xml',
#}
variants_file='variants-fedora.xml'
sigkeys = ['FDB19C98', 'E372E838'] # None = unsigned
sigkeys = ['F5282EE4']
# limit tree architectures
# if undefined, all architectures from variants.xml will be included
tree_arches = ['x86_64', 'armhfp']
tree_arches = ['aarch64', 'armhfp', 'ppc64le', 'x86_64']
# limit tree variants
# if undefined, all variants from variants.xml will be included
tree_variants = ['Docker']
@ -24,15 +24,16 @@ hashed_directories = True
runroot = True
#runroot_channel = 'fedora_compose'
runroot_channel = 'compose'
runroot_tag = 'f26-build'
runroot_tag = 'f27-build'
# PKGSET
pkgset_source = 'koji' # koji, repos
pkgset_koji_tag = 'f25-updates'
pkgset_koji_tag = 'f27-updates'
pkgset_koji_inherit = True
filter_system_release_packages = False
# GATHER
gather_source = 'comps'
gather_method = 'deps'
gather_profiler = True
check_deps = False
greedy_method = 'build'
# fomat: [(variant_uid_regex, {arch|*: [repos]})]
@ -201,38 +202,58 @@ disc_types = {
translate_paths = [
('/mnt/koji/compose/', 'http://kojipkgs.fedoraproject.org/compose/'),
]
# These will be inherited by live_media, live_images and image_build
global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#origin/f27'
global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN'
global_version = '27'
global_target = 'f27'
image_build = {
'^Docker$': [
{
'image-build': {
'format': [('docker', 'tar.xz')],
'name': 'Fedora-Docker-Base',
'target': 'f26',
'version': '26',
'release': None,
# correct SHA1 hash will be put into the URL below automatically
'ksurl': 'git+https://pagure.io/fedora-kickstarts.git?#origin/f26',
'kickstart': 'fedora-docker-base.ks',
'distro': 'Fedora-20',
'disk_size': 3,
'arches': ['x86_64', 'armhfp'],
'distro': 'Fedora-22',
'disk_size': 5,
'arches': ['armhfp', 'aarch64', 'ppc64le', 'x86_64'],
'install_tree_from': 'https://kojipkgs.fedoraproject.org/compose/27/latest-Fedora-27/compose/Everything/$arch/os/',
'repo': [
'http://kojipkgs.fedoraproject.org/pub/fedora/linux/updates/26/$arch/',
'http://kojipkgs.fedoraproject.org/pub/fedora/linux/releases/26/Everything/$arch/os/',
'https://kojipkgs.fedoraproject.org/compose/updates/f27-updates/compose/Everything/$arch/os/',
'https://kojipkgs.fedoraproject.org/compose/27/latest-Fedora-27/compose/Everything/$arch/os/',
],
'install_tree_from': 'http://kojipkgs.fedoraproject.org/pub/fedora/linux/releases/26/Everything/$arch/os/',
'subvariant': 'Docker_Base'
},
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f27container", "FGC=f27" ]',
'docker_labels': {
'Name': 'fedora',
'License': u'MIT',
'Vendor': 'Fedora Project',
'Version': '27',
},
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "27"}',
},
},
{
'image-build': {
'format': [('docker', 'tar.xz')],
'name': 'Fedora-Container-Minimal-Base',
'kickstart': 'fedora-docker-base-minimal.ks',
'distro': 'Fedora-22',
'disk_size': 5,
'arches': ['armhfp', 'aarch64', 'ppc64le', 'x86_64'],
'install_tree_from': 'https://kojipkgs.fedoraproject.org/compose/27/latest-Fedora-27/compose/Everything/$arch/os/',
'repo': [
'https://kojipkgs.fedoraproject.org/compose/updates/f27-updates/compose/Everything/$arch/os/',
'https://kojipkgs.fedoraproject.org/compose/27/latest-Fedora-27/compose/Everything/$arch/os/',
],
'subvariant': 'Container_Minimal_Base',
},
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f27container", "FGC=f27" ]',
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "27"}',
},
}
],

747
fedora-final.conf Normal file
View File

@ -0,0 +1,747 @@
# PRODUCT INFO
release_name = 'Fedora'
release_short = 'Fedora'
release_version = '27'
release_is_layered = False
# GENERAL SETTINGS
bootable = True
comps_file = 'comps-f27.xml' #{
# 'scm': 'git',
# 'repo': 'https://pagure.io/fedora-comps.git',
# 'branch': None, # defaults to cvs/HEAD or git/master
# 'file': 'comps-f23.xml',
#}
variants_file='variants-fedora.xml'
sigkeys = ['F5282EE4']
# limit tree architectures
# if undefined, all architectures from variants.xml will be included
tree_arches = ['aarch64', 'armhfp', 'i386', 'ppc64', 'ppc64le', 's390x', 'x86_64']
# limit tree variants
# if undefined, all variants from variants.xml will be included
#tree_variants = ['Server']
hashed_directories = True
# RUNROOT settings
runroot = True
runroot_channel = 'compose'
runroot_tag = 'f27-build'
# PKGSET
pkgset_source = 'koji' # koji, repos
# PKGSET - REPOS
# pkgset_repos format: {arch: [repo1_url, repo2_url, ...]}
# pkgset_repos = {}
# PKGSET - KOJI
pkgset_koji_tag = 'f27-compose'
pkgset_koji_inherit = True
filter_system_release_packages = False
# GATHER
gather_source = 'comps'
gather_method = 'deps'
gather_backend = 'dnf'
gather_profiler = True
check_deps = False
greedy_method = 'build'
# This can only be enabled once DNF 2 is used due to
# https://bugzilla.redhat.com/show_bug.cgi?id=1260986
#repoclosure_backend = 'dnf'
# fomat: [(variant_uid_regex, {arch|*: [repos]})]
# gather_lookaside_repos = []
# GATHER - JSON
# format: {variant_uid: {arch: package: [arch1, arch2, None (for any arch)]}}
#gather_source_mapping = '/path/to/mapping.json'
# CREATEREPO
createrepo_deltas = False
# CHECKSUMS
media_checksums = ['sha256']
media_checksum_one_file = True
media_checksum_base_filename = '%(release_short)s-%(variant)s-%(version)s-1.6-%(arch)s'
#jigdo
create_jigdo = False
# BUILDINSTALL
buildinstall_method = 'lorax'
# Enables macboot on x86_64 for all variants and disables upgrade image building
# # everywhere.
lorax_options = [
('^.*$', {
'x86_64': {
'nomacboot': False
},
'*': {
'noupgrade': True
}
})
]
#extra_packages = [
# '/mnt/packages/foo*',
#]
# fomat: [(variant_uid_regex, {arch|*: [packages]})]
additional_packages = [
('.*', {
'*': [
'kernel*',
'dracut*',
'autocorr-*',
'eclipse-nls',
'eclipse-nls-*',
'hunspell-*',
'hyphen-*',
'kde-l10n-*',
'libreoffice-langpack-*',
'man-pages-*',
'mythes-*',
],
}),
('^Everything$', {
'*': [
'*',
],
}),
('^Server$', {
'*': [
],
}),
('^Workstation$', {
'*': [
],
}),
('^Cloud$', {
'*': [
],
}),
]
multilib = [
('^Everything$', {
'x86_64': ['devel', 'runtime'],
})
]
filter_packages = [
('(Workstation|Server|Cloud)$', {
'*': [
'kernel*debug*',
'kernel-kdump*',
'kernel-tools*',
'syslog-ng*',
'astronomy-bookmarks',
'generic*',
'GConf2-dbus*',
'bluez-gnome',
'java-1.8.0-openjdk',
'community-mysql*',
'jruby*',
'gimp-help-*',
]
}),
]
# format: {arch|*: [packages]}
multilib_blacklist = {
'*': ['kernel', 'kernel-PAE*', 'kernel*debug*',
'dmraid-devel', 'kdeutils-devel', 'mkinitrd-devel',
'java-1.5.0-gcj-devel', 'java-1.7.0-icedtea-devel',
'php-devel', 'java-1.6.0-openjdk-devel',
'java-1.7.0-openjdk-devel', 'java-1.8.0-openjdk-devel',
'httpd-devel', 'tomcat-native', 'php*', 'httpd',
'krb5-server', 'krb5-server-ldap', 'mod_*', 'ghc-*'
],
}
# format: {arch|*: [packages]}
multilib_whitelist = {
'*': ['libgnat', 'wine', 'lmms-vst', 'nspluginwrapper',
'libflashsupport', 'valgrind', 'perl-libs', 'redhat-lsb',
'yaboot', 'syslinux-extlinux-nonlinux', 'syslinux-nonlinux',
'syslinux-tftpboot', 'nosync', '*-static', 'apitrace-libs',
'fakeroot-libs', 'postgresql-odbc', 'mysql-connector-odbc',
'fakechroot-libs','mesa-vdpau-drivers', 'p11-kit-trust'
],
}
createiso_skip = [
('^Workstation$', {
'*': True,
'src': True
}),
('^Server$', {
'src': True
}),
('^Cloud$', {
'*': True,
'src': True
}),
('^Everything$', {
'*': True,
'src': True
}),
]
# fomat: [(variant_uid_regex, {arch|*: [scm_dicts]})]
#extra_files = [
# ('^(Server|Workstation|Cloud)$', {
# '*': [
# {
# 'scm': 'rpm',
# 'repo': 'fedora-release-%(variant_id_lower)s',
# 'branch': None,
# 'file': [
# '/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-release',
# ],
# 'target': '',
# },
# ],
# }),
#]
# Image name respecting Fedora's image naming policy
image_name_format = '%(release_short)s-%(variant)s-%(disc_type)s-%(arch)s-%(version)s-1.6.iso'
# # Use the same format for volume id
image_volid_formats = [
'%(release_short)s-%(variant)s-%(disc_type)s-%(arch)s-%(version)s'
]
# No special handling for layered products, use same format as for regular images
image_volid_layered_product_formats = []
# Replace 'Cloud' with 'C' in volume id etc.
volume_id_substitutions = {
'Atomic': 'AH',
'Rawhide': 'rawh',
'Images': 'img',
'MATE_Compiz': 'MATE',
'Security': 'Sec',
'Electronic_Lab': 'Elec',
'Robotics': 'Robo',
'Scientific_KDE': 'SciK',
'Astronomy_KDE': 'AstK',
'Design_suite': 'Dsgn',
'Games': 'Game',
'Jam_KDE': 'Jam',
'WorkstationOstree': 'WS',
'Workstation': 'WS',
'Everything': 'E',
'Server': 'S',
'Cloud': 'C',
'Alpha': 'A',
'Beta': 'B',
'TC': 'T',
}
disc_types = {
'boot': 'netinst',
'live': 'Live',
}
translate_paths = [
('/mnt/koji/compose/', 'http://kojipkgs.fedoraproject.org/compose/'),
]
# These will be inherited by live_media, live_images and image_build
global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#origin/f27'
global_release = '1.6'
global_version = '27'
# live_images ignores this in favor of live_target
global_target = 'f27'
image_build = {
'^Docker$': [
{
'image-build': {
'format': [('docker', 'tar.xz')],
'name': 'Fedora-Docker-Base',
'kickstart': 'fedora-docker-base.ks',
'distro': 'Fedora-22',
'disk_size': 5,
'arches': ['armhfp', 'aarch64', 'ppc64le', 'x86_64'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Docker_Base',
'failable': ['*'],
},
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f27container", "FGC=f27" ]',
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "27"}',
},
},
{
'image-build': {
'format': [('docker', 'tar.xz')],
'name': 'Fedora-Container-Minimal-Base',
'kickstart': 'fedora-docker-base-minimal.ks',
'distro': 'Fedora-22',
'disk_size': 5,
'arches': ['armhfp', 'aarch64', 'ppc64le', 'x86_64'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Container_Minimal_Base',
'failable': ['*'],
},
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f27container", "FGC=f27" ]',
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "27"}',
},
}
],
'^CloudImages$': [
{
'image-build': {
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')],
'name': 'Fedora-Cloud-Base',
'kickstart': 'fedora-cloud-base.ks',
'distro': 'Fedora-22',
'disk_size': 4,
'arches': ['aarch64', 'ppc64', 'ppc64le', 'x86_64'],
'repo': 'Cloud',
'install_tree_from': 'Cloud',
'subvariant': 'Cloud_Base',
'failable': ['aarch64', 'ppc64', 'ppc64le'],
}
},
{
'image-build': {
'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')],
'name': 'Fedora-Cloud-Base-Vagrant',
'kickstart': 'fedora-cloud-base-vagrant.ks',
'distro': 'Fedora-22',
'disk_size': 40,
'arches': ['x86_64'],
'repo': 'Cloud',
'install_tree_from': 'Cloud',
'subvariant': 'Cloud_Base',
'failable': ['*'],
},
},
{
'image-build': {
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')],
'name': 'Fedora-Atomic',
'kickstart': 'fedora-atomic.ks',
'distro': 'Fedora-22',
'disk_size': 6,
'arches': ['aarch64', 'ppc64le', 'x86_64'],
'install_tree_from': 'Cloud',
'subvariant': 'Atomic',
'failable': ['*'],
}
},
{
'image-build': {
'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')],
'name': 'Fedora-Atomic-Vagrant',
'kickstart': 'fedora-atomic-vagrant.ks',
'distro': 'Fedora-22',
'disk_size': 40,
'arches': ['x86_64'],
'install_tree_from': 'Cloud',
'subvariant': 'Atomic',
'failable': ['*'],
},
'factory-parameters': {
'vagrant_sync_directory': '/home/vagrant/sync',
}
},
],
'^Labs$': [
{
'image-build': {
'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')],
'name': 'Fedora-Python-Classroom-Vagrant',
'kickstart': 'fedora-python-classroom-vagrant.ks',
'distro': 'Fedora-22',
'disk_size': 40,
'arches': ['x86_64','i386'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Python_Classroom',
'failable': ['*'],
},
'factory-parameters': {
'ova-option': 'vagrant_sync_directory=/home/vagrant/sync'
}
},
],
'^Spins': [
{
'image-build': {
'format': [('raw-xz','raw.xz')],
'name': 'Fedora-Minimal',
'kickstart': 'fedora-disk-minimal.ks',
'distro': 'Fedora-22',
'disk_size': 5,
'arches': ['aarch64'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Minimal',
'failable': ['*'],
}
},
],
'^Workstation$': [
{
'image-build': {
'format': [('raw-xz','raw.xz')],
'name': 'Fedora-Workstation',
'kickstart': 'fedora-disk-workstation.ks',
'distro': 'Fedora-22',
'disk_size': 8,
'arches': ['aarch64'],
'repo': 'Workstation',
'install_tree_from': 'Workstation',
'subvariant': 'Workstation',
'failable': ['*'],
}
},
],
'^Server$': [
{
'image-build': {
'format': [('raw-xz','raw.xz')],
'name': 'Fedora-Server',
'kickstart': 'fedora-disk-server.ks',
'distro': 'Fedora-22',
'disk_size': 7,
'arches': ['aarch64'],
'repo': 'Server',
'install_tree_from': 'Server',
'subvariant': 'Server',
'failable': ['*'],
}
},
],
}
live_media = {
'^Workstation$': [
{
'name': 'Fedora-Workstation-Live',
'kickstart': 'fedora-live-workstation.ks',
'arches': ['x86_64', 'i386'],
'failable': ['i386'],
'repo': 'Everything',
'subvariant': 'Workstation'
}
],
'^Spins': [
{
'name': 'Fedora-KDE-Live',
'kickstart': 'fedora-live-kde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['i386'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'KDE'
},
{
'name': 'Fedora-Xfce-Live',
'kickstart': 'fedora-live-xfce.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Xfce'
},
{
'name': 'Fedora-SoaS-Live',
'kickstart': 'fedora-live-soas.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'SoaS'
},
{
'name': 'Fedora-Cinnamon-Live',
'kickstart': 'fedora-live-cinnamon.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Cinnamon'
},
{
'name': 'Fedora-LXDE-Live',
'kickstart': 'fedora-live-lxde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'LXDE'
},
{
'name': 'Fedora-MATE_Compiz-Live',
'kickstart': 'fedora-live-mate_compiz.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Mate'
},
{
'name': 'Fedora-LXQt-Live',
'kickstart': 'fedora-live-lxqt.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'LXQt'
}
],
'^Labs$': [
{
'name': 'Fedora-Astronomy_KDE-Live',
'kickstart': 'fedora-live-astronomy_kde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Astronomy_KDE'
},
{
'name': 'Fedora-Design_suite-Live',
'kickstart': 'fedora-live-design_suite.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Design_suite'
},
{
'name': 'Fedora-Scientific_KDE-Live',
'kickstart': 'fedora-live-scientific_kde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Scientific_KDE'
},
{
'name': 'Fedora-Games-Live',
'kickstart': 'fedora-live-games.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Games'
},
{
'name': 'Fedora-Security-Live',
'kickstart': 'fedora-live-security.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Security'
},
{
'name': 'Fedora-Jam_KDE-Live',
'kickstart': 'fedora-live-jam_kde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Jam_KDE'
},
{
'name': 'Fedora-Robotics-Live',
'kickstart': 'fedora-live-robotics.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Robotics'
},
{
'name': 'Fedora-Python-Classroom-Live',
'kickstart': 'fedora-live-python-classroom.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Python_Classroom'
}
],
}
failable_deliverables = [
('^Server$', {
'*': ['buildinstall', 'iso'],
}),
('^.*$', {
# Buildinstall is non blocking
'src': ['buildinstall'],
# Nothing on aarch64, i386, ppc64, ppc64le blocks the compose
'aarch64': ['buildinstall', 'iso'],
'i386': ['buildinstall', 'iso'],
'ppc64': ['buildinstall', 'iso'],
'ppc64le': ['buildinstall', 'iso'],
's390x': ['buildinstall', 'iso'],
})
]
live_target = 'f27'
live_images_no_rename = True
# fomat: [(variant_uid_regex, {arch|*: scm_dict})]
live_images = [
('^Workstation$', {
'armhfp': {
'kickstart': 'fedora-arm-workstation.ks',
'name': 'Fedora-Workstation-armhfp',
'type': 'appliance',
'failable': True,
}
}),
('^Server$', {
'armhfp': {
'kickstart': 'fedora-arm-server.ks',
'name': 'Fedora-Server-armhfp',
'type': 'appliance',
'failable': True,
}
}),
('^Spins$', {
'armhfp': [{
'kickstart': 'fedora-arm-kde.ks',
'name': 'Fedora-KDE-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'KDE',
'failable': True,
},
{
'kickstart': 'fedora-arm-lxde.ks',
'name': 'Fedora-LXDE-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'LXDE',
'failable': True,
},
{
'kickstart': 'fedora-arm-mate.ks',
'name': 'Fedora-Mate-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'Mate',
'failable': True,
},
{
'kickstart': 'fedora-arm-minimal.ks',
'name': 'Fedora-Minimal-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'Minimal',
'failable': False,
},
{
'kickstart': 'fedora-arm-soas.ks',
'name': 'Fedora-SoaS-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'SoaS',
'failable': True,
},
{
'kickstart': 'fedora-arm-xfce.ks',
'name': 'Fedora-Xfce-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'Xfce',
'failable': False,
},
{
'kickstart': 'fedora-arm-lxqt.ks',
'name': 'Fedora-LXQt-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'LXQt',
'failable': True,
},]
}),
('^Labs$', {
'armhfp': {
'kickstart': 'fedora-arm-python-classroom.ks',
'name': 'Fedora-Python-Classroom-armhfp',
'repo': 'Everything',
'type': 'appliance',
'subvariant': 'Python_Classroom',
'failable': True,
}
}),
]
ostree = [
("^ostree$", {
"x86_64": {
"version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN",
"treefile": "fedora-ostree-workstation.json",
"config_url": "https://pagure.io/workstation-ostree-config.git",
"config_branch": "f27",
"repo": "Workstation",
"ostree_repo": "/mnt/koji/compose/ostree/27/",
'failable': ['*'],
}
})
]
ostree_installer = [
("^WorkstationOstree$", {
"x86_64": {
"repo": "Everything",
"release": None,
"installpkgs": ["fedora-productimg-workstation"],
"rootfs_size": "8",
"add_template": ["ostree-based-installer/lorax-configure-repo.tmpl",
"ostree-based-installer/lorax-embed-repo.tmpl"],
"add_template_var": [
"ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/ostree/27/",
"ostree_update_repo=https://dl.fedoraproject.org/ostree/27/",
"ostree_osname=fedora-workstation",
"ostree_install_ref=fedora/27/x86_64/workstation",
"ostree_update_ref=fedora/27/x86_64/workstation",
],
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'f27',
'failable': ['*'],
}
})
]
koji_profile = 'compose_koji'

240
fedora-modular-beta.conf Normal file
View File

@ -0,0 +1,240 @@
# PRODUCT INFO
release_name = 'Fedora-Modular'
release_short = 'Fedora-Modular'
release_version = '27'
release_is_layered = False
# GENERAL SETTINGS
bootable = True
comps_file = 'comps-f27.xml' #{
# 'scm': 'git',
# 'repo': 'https://pagure.io/fedora-comps.git',
# 'branch': None, # defaults to cvs/HEAD or git/master
# 'file': 'comps-f23.xml',
#}
variants_file='variants-modular.xml'
sigkeys = ['a3cc4e62']
hashed_directories = True
# RUNROOT settings
runroot = True
runroot_channel = 'compose'
runroot_tag = 'module-bootstrap-f27'
# PDC settings
pdc_url = 'https://pdc.fedoraproject.org/rest_api/v1'
pdc_insecure = False
pdc_develop = True
# PKGSET
pkgset_source = 'koji' # koji, repos
# PKGSET - KOJI
# pkgset_koji_tag is not used by the modular compose, but Pungi needs this
# option to appear in a config, otherwise it fails. Once this is fixed, we can
# remove this option completely.
pkgset_koji_tag = 'not-used'
pkgset_koji_inherit = False
filter_system_release_packages = False
# GATHER
gather_source = 'module'
gather_method = 'nodeps'
gather_profiler = True
check_deps = False
greedy_method = 'build'
# fomat: [(variant_uid_regex, {arch|*: [repos]})]
# gather_lookaside_repos = []
# GATHER - JSON
# format: {variant_uid: {arch: package: [arch1, arch2, None (for any arch)]}}
#gather_source_mapping = '/path/to/mapping.json'
# CREATEREPO
createrepo_c = True
createrepo_checksum = 'sha256'
createrepo_deltas = False
# CHECKSUMS
media_checksums = ['sha256']
media_checksum_one_file = True
media_checksum_base_filename = '%(release_short)s-%(variant)s-%(version)s_%(label)s-%(arch)s'
#jigdo
create_jigdo = False
# OK, we have the anaconda module now. Let's try buildinstall, but still skip
# the phases which depend on it.
skip_phases= ["live_media", "ostree"]
# BUILDINSTALL
buildinstall_method = 'lorax'
# Enables macboot on x86_64 for all variants and disables upgrade image building
# # everywhere.
lorax_options = [
('^.*$', {
'x86_64': {
'nomacboot': False
},
'*': {
'noupgrade': True
}
})
]
# fomat: [(variant_uid_regex, {arch|*: [packages]})]
additional_packages = [
]
filter_packages = [
# TODO - autogenerate this from the modulemd someday.
]
createiso_skip = [
('^base-runtime$', {
'*': True,
'src': True
}),
('^Server$', {
'*': False,
'src': True
}),
]
# Image name respecting Fedora's image naming policy
image_name_format = '%(release_short)s-%(variant)s-%(disc_type)s-%(arch)s-%(version)s_%(label)s.iso'
# # Use the same format for volume id
image_volid_formats = [
'%(release_short)s-%(variant)s-%(disc_type)s-%(arch)s-%(version)s'
]
# No special handling for layered products, use same format as for regular images
image_volid_layered_product_formats = []
# Replace 'Cloud' with 'C' in volume id etc.
volume_id_substitutions = {
'Atomic': 'AH',
'Rawhide': 'rawh',
'Images': 'img',
'MATE_Compiz': 'MATE',
'Security': 'Sec',
'Electronic_Lab': 'Elec',
'Robotics': 'Robo',
'Scientific_KDE': 'SciK',
'Astronomy_KDE': 'AstK',
'Design_suite': 'Dsgn',
'Games': 'Game',
'Jam_KDE': 'Jam',
'Workstation': 'WS',
'Everything': 'E',
'Server': 'S',
'Cloud': 'C',
'Alpha': 'A',
'Beta': 'B',
'TC': 'T',
'Modular': 'M',
'Bikeshed': 'BS',
}
disc_types = {
'boot': 'netinst',
'live': 'Live',
}
global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#origin/f27'
global_release = '1.5'
global_version = '27_Modular_Beta'
# live_images ignores this in favor of live_target
global_target = 'module-bootstrap-f27'
image_build = {
'^Server$': [
{
'image-build': {
'format': [('docker', 'tar.xz')],
'name': 'Fedora-Modular-Container-Base',
'kickstart': 'fedora-modular-container-base.ks',
'distro': 'Fedora-27',
'disk_size': 4,
'arches': ['aarch64', 'armhfp', 'ppc64le', 'x86_64'],
'install_tree_from': 'Server',
'subvariant': 'Container_Base',
'failable': ['aarch64', 'ppc64le'],
},
'factory-parameters': {
'dockerversion': '1.10.1',
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f27container_modular", "FGC=f27-modular" ]',
'docker_label': '{"name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "27-modular"}',
},
},
{
'image-build': {
'format': [('docker', 'tar.xz')],
'name': 'Fedora-Modular-Container-Minimal',
'kickstart': 'fedora-modular-container-base-minimal.ks',
'distro': 'Fedora-27',
'disk_size': 4,
'arches': ['aarch64', 'armhfp', 'ppc64le', 'x86_64'],
'install_tree_from': 'Server',
'subvariant': 'Container_Minimal',
'failable': ['aarch64', 'ppc64le'],
},
'factory-parameters': {
'dockerversion': '1.10.1',
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f27container_modular", "FGC=f27-modular" ]',
'docker_label': '{"name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "27-modular"}',
},
},
{
'image-build': {
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')],
'name': 'Fedora-Modular-Server',
'kickstart': 'fedora-modular-disk-minimal.ks',
'distro': 'Fedora-27',
'disk_size': 8,
'arches': ['aarch64', 'ppc64le', 'x86_64'],
'repo': 'Server',
'install_tree_from': 'Server',
'subvariant': 'Server',
'failable': ['*'],
}
},
],
}
translate_paths = [
('/mnt/koji/compose/', 'http://kojipkgs.fedoraproject.org/compose/'),
]
failable_deliverables = [
('^.*$', {
# Buildinstall can fail on any variant and any arch
'*': ['buildinstall', 'iso', 'image-build', 'live-media', 'live', 'ostree', 'ostree-installer'],
'src': ['buildinstall'],
# Nothing on i386 blocks the compose
'i386': ['buildinstall', 'iso', 'live'],
})
]
live_images_no_rename = True
# fomat: [(variant_uid_regex, {arch|*: scm_dict})]
live_images = [
('^Server$', {
'armhfp': {
'kickstart': 'fedora-modular-arm-server.ks',
'name': 'Fedora-Modular-Server-armhfp',
'type': 'appliance',
'failable': True,
}
}),
]
koji_profile = 'compose_koji'

View File

@ -1,16 +1,19 @@
# PRODUCT INFO
release_name = 'Fedora-Modular'
release_short = 'Fedora-Modular'
release_version = 'Rawhide'
release_version = '27'
release_is_layered = False
# GENERAL SETTINGS
bootable = True
comps_file = 'comps-f27.xml' #{
# 'scm': 'git',
# 'repo': 'https://pagure.io/fedora-comps.git',
# 'branch': None, # defaults to cvs/HEAD or git/master
# 'file': 'comps-f23.xml',
#}
variants_file='variants-modular.xml'
#sigkeys = ['FDB19C98', 'E372E838'] # None = unsigned
# We are using unsigned here temporarily for rawhide until we setup
# auto-signing.
sigkeys = ['a3cc4e62']
hashed_directories = True
@ -18,7 +21,7 @@ hashed_directories = True
# RUNROOT settings
runroot = True
runroot_channel = 'compose'
runroot_tag = 'module-bootstrap-rawhide'
runroot_tag = 'module-bootstrap-f27'
# PDC settings
pdc_url = 'https://pdc.fedoraproject.org/rest_api/v1'
@ -40,6 +43,7 @@ filter_system_release_packages = False
# GATHER
gather_source = 'module'
gather_method = 'nodeps'
gather_profiler = True
check_deps = False
greedy_method = 'build'
@ -65,7 +69,7 @@ create_jigdo = False
# OK, we have the anaconda module now. Let's try buildinstall, but still skip
# the phases which depend on it.
skip_phases= ["live_media", "live_images", "ostree"]
skip_phases= ["live_media", "ostree"]
# BUILDINSTALL
buildinstall_method = 'lorax'
@ -98,7 +102,7 @@ createiso_skip = [
'src': True
}),
('^Server$', {
'*': True,
'*': False,
'src': True
}),
]
@ -132,6 +136,8 @@ volume_id_substitutions = {
'Alpha': 'A',
'Beta': 'B',
'TC': 'T',
'Modular': 'M',
'Bikeshed': 'BS',
}
disc_types = {
@ -139,25 +145,44 @@ disc_types = {
'live': 'Live',
}
global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD'
global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#origin/f27'
global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN'
global_version = 'Rawhide'
global_version = '27_Modular'
# live_images ignores this in favor of live_target
global_target = 'module-bootstrap-rawhide'
global_target = 'module-bootstrap-f27'
image_build = {
'^Server$': [
{
'image-build': {
'format': [('docker', 'tar.xz')],
'name': 'Fedora-Modular-Docker-Base',
# https://pagure.io/fedora-kickstarts/pull-request/257
'kickstart': 'fedora-modular-docker-base-minimal.ks',
'name': 'Fedora-Modular-Container-Base',
'kickstart': 'fedora-modular-container-base.ks',
'distro': 'Fedora-27',
'disk_size': 4,
'arches': ['x86_64'],
'arches': ['aarch64', 'armhfp', 'ppc64le', 'x86_64'],
'install_tree_from': 'Server',
'subvariant': 'Docker_Base',
'subvariant': 'Container_Base',
'failable': ['aarch64', 'ppc64le','armhfp'],
},
'factory-parameters': {
'dockerversion': '1.10.1',
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f27container_modular", "FGC=f27-modular" ]',
'docker_label': '{"name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "27-modular"}',
},
},
{
'image-build': {
'format': [('docker', 'tar.xz')],
'name': 'Fedora-Modular-Container-Minimal',
'kickstart': 'fedora-modular-container-base-minimal.ks',
'distro': 'Fedora-27',
'disk_size': 4,
'arches': ['aarch64', 'armhfp', 'ppc64le', 'x86_64'],
'install_tree_from': 'Server',
'subvariant': 'Container_Minimal',
'failable': ['aarch64', 'ppc64le','armhfp'],
},
'factory-parameters': {
'dockerversion': '1.10.1',
@ -173,7 +198,7 @@ image_build = {
'kickstart': 'fedora-modular-disk-minimal.ks',
'distro': 'Fedora-27',
'disk_size': 8,
'arches': ['x86_64'],
'arches': ['aarch64', 'ppc64le', 'x86_64'],
'repo': 'Server',
'install_tree_from': 'Server',
'subvariant': 'Server',
@ -197,4 +222,19 @@ failable_deliverables = [
})
]
live_images_no_rename = True
# fomat: [(variant_uid_regex, {arch|*: scm_dict})]
live_images = [
('^Server$', {
'armhfp': {
'kickstart': 'fedora-modular-arm-server.ks',
'name': 'Fedora-Modular-Server-armhfp',
'type': 'appliance',
'failable': True,
}
}),
]
koji_profile = 'compose_koji'

View File

@ -1,12 +1,12 @@
# PRODUCT INFO
release_name = 'Fedora'
release_short = 'Fedora'
release_version = 'Rawhide'
release_version = '27'
release_is_layered = False
# GENERAL SETTINGS
bootable = True
comps_file = 'comps-rawhide.xml' #{
comps_file = 'comps-f27.xml' #{
# 'scm': 'git',
# 'repo': 'https://pagure.io/fedora-comps.git',
# 'branch': None, # defaults to cvs/HEAD or git/master
@ -48,6 +48,7 @@ filter_system_release_packages = False
gather_source = 'comps'
gather_method = 'deps'
gather_backend = 'dnf'
gather_profiler = True
check_deps = False
greedy_method = 'build'
@ -64,7 +65,7 @@ greedy_method = 'build'
# CREATEREPO
createrepo_deltas = True
createrepo_deltas = False
# CHECKSUMS
media_checksums = ['sha256']
@ -237,25 +238,26 @@ image_volid_formats = [
image_volid_layered_product_formats = []
# Replace 'Cloud' with 'C' in volume id etc.
volume_id_substitutions = {
'Atomic': 'AH',
'Rawhide': 'rawh',
'Images': 'img',
'MATE_Compiz': 'MATE',
'Security': 'Sec',
'Electronic_Lab': 'Elec',
'Robotics': 'Robo',
'Scientific_KDE': 'SciK',
'Astronomy_KDE': 'AstK',
'Design_suite': 'Dsgn',
'Games': 'Game',
'Jam_KDE': 'Jam',
'Workstation': 'WS',
'Everything': 'E',
'Server': 'S',
'Cloud': 'C',
'Alpha': 'A',
'Beta': 'B',
'TC': 'T',
'Atomic': 'AH',
'Rawhide': 'rawh',
'Images': 'img',
'MATE_Compiz': 'MATE',
'Security': 'Sec',
'Electronic_Lab': 'Elec',
'Robotics': 'Robo',
'Scientific_KDE': 'SciK',
'Astronomy_KDE': 'AstK',
'Design_suite': 'Dsgn',
'Games': 'Game',
'Jam_KDE': 'Jam',
'WorkstationOstree': 'WS',
'Workstation': 'WS',
'Everything': 'E',
'Server': 'S',
'Cloud': 'C',
'Alpha': 'A',
'Beta': 'B',
'TC': 'T',
}
disc_types = {
@ -268,9 +270,9 @@ translate_paths = [
]
# These will be inherited by live_media, live_images and image_build
global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD'
global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#origin/f27'
global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN'
global_version = 'Rawhide'
global_version = '27'
# live_images ignores this in favor of live_target
global_target = 'f27'
@ -283,7 +285,7 @@ image_build = {
'kickstart': 'fedora-docker-base.ks',
'distro': 'Fedora-22',
'disk_size': 5,
'arches': ['armhfp', 'aarch64', 'ppc64', 'ppc64le', 'x86_64'],
'arches': ['armhfp', 'aarch64', 'ppc64le', 'x86_64'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Docker_Base',
@ -293,12 +295,7 @@ image_build = {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f27container", "FGC=f27" ]',
'docker_labels': {
'Name': 'fedora',
'License': u'MIT',
'Vendor': 'Fedora Project',
'Version': '27',
},
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "27"}',
},
},
{
@ -308,7 +305,7 @@ image_build = {
'kickstart': 'fedora-docker-base-minimal.ks',
'distro': 'Fedora-22',
'disk_size': 5,
'arches': ['armhfp', 'aarch64', 'ppc64', 'ppc64le', 'x86_64'],
'arches': ['armhfp', 'aarch64', 'ppc64le', 'x86_64'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Container_Minimal_Base',
@ -318,12 +315,7 @@ image_build = {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f27container", "FGC=f27" ]',
'docker_labels': {
'Name': 'fedora-minimal',
'License': u'MIT',
'Vendor': 'Fedora Project',
'Version': '27',
},
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "27"}',
},
}
],
@ -610,6 +602,9 @@ live_media = {
}
failable_deliverables = [
('^Server$', {
'*': ['buildinstall', 'iso'],
}),
('^.*$', {
# Buildinstall is non blocking
'src': ['buildinstall'],
@ -715,30 +710,27 @@ live_images = [
ostree = [
("^Atomic$", {
"aarch64": {
"version": '!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN',
"treefile": "fedora-atomic-host.json",
"config_url": "https://pagure.io/fedora-atomic.git",
"config_branch": "master",
"config_branch": "f27",
"repo": "Everything",
"ostree_repo": "/mnt/koji/compose/atomic/rawhide/",
"ostree_repo": "/mnt/koji/compose/atomic/27/",
'failable': ['*'],
},
"x86_64": {
"version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN",
"treefile": "fedora-atomic-host.json",
"config_url": "https://pagure.io/fedora-atomic.git",
"config_branch": "master",
"config_branch": "f27",
"repo": "Everything",
"ostree_repo": "/mnt/koji/compose/atomic/rawhide/",
"ostree_repo": "/mnt/koji/compose/atomic/27/",
'failable': ['*'],
},
"ppc64le": {
"version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN",
"treefile": "fedora-atomic-host.json",
"config_url": "https://pagure.io/fedora-atomic.git",
"config_branch": "master",
"config_branch": "f27",
"repo": "Everything",
"ostree_repo": "/mnt/koji/compose/atomic/rawhide/",
"ostree_repo": "/mnt/koji/compose/atomic/27/",
'failable': ['*'],
}
}),
@ -747,9 +739,9 @@ ostree = [
"version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN",
"treefile": "fedora-ostree-workstation.json",
"config_url": "https://pagure.io/workstation-ostree-config.git",
"config_branch": "master",
"config_branch": "f27",
"repo": "Workstation",
"ostree_repo": "/mnt/koji/compose/ostree/rawhide/",
"ostree_repo": "/mnt/koji/compose/ostree/27/",
'failable': ['*'],
}
})
@ -765,14 +757,14 @@ ostree_installer = [
"add_template": ["ostree-based-installer/lorax-configure-repo.tmpl",
"ostree-based-installer/lorax-embed-repo.tmpl"],
"add_template_var": [
"ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/atomic/rawhide/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/rawhide/",
"ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/atomic/27/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/27/",
"ostree_osname=fedora-atomic",
"ostree_install_ref=fedora/rawhide/x86_64/atomic-host",
"ostree_update_ref=fedora/rawhide/x86_64/atomic-host",
"ostree_install_ref=fedora/27/x86_64/atomic-host",
"ostree_update_ref=fedora/27/x86_64/atomic-host",
],
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'master',
'template_branch': 'f27',
'failable': ['*'],
},
"aarch64": {
@ -783,14 +775,14 @@ ostree_installer = [
"add_template": ["ostree-based-installer/lorax-configure-repo.tmpl",
"ostree-based-installer/lorax-embed-repo.tmpl"],
"add_template_var": [
"ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/atomic/rawhide/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/rawhide/",
"ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/atomic/27/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/27/",
"ostree_osname=fedora-atomic",
"ostree_install_ref=fedora/rawhide/aarch64/atomic-host",
"ostree_update_ref=fedora/rawhide/aarch64/atomic-host",
"ostree_install_ref=fedora/27/aarch64/atomic-host",
"ostree_update_ref=fedora/27/aarch64/atomic-host",
],
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'master',
'template_branch': 'f27',
'failable': ['*'],
},
"ppc64le": {
@ -801,18 +793,18 @@ ostree_installer = [
"add_template": ["ostree-based-installer/lorax-configure-repo.tmpl",
"ostree-based-installer/lorax-embed-repo.tmpl"],
"add_template_var": [
"ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/atomic/rawhide/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/rawhide/",
"ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/atomic/27/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/27/",
"ostree_osname=fedora-atomic",
"ostree_install_ref=fedora/rawhide/ppc64le/atomic-host",
"ostree_update_ref=fedora/rawhide/ppc64le/atomic-host",
"ostree_install_ref=fedora/27/ppc64le/atomic-host",
"ostree_update_ref=fedora/27/ppc64le/atomic-host",
],
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'master',
'template_branch': 'f27',
'failable': ['*'],
}
}),
("^Workstation$", {
("^WorkstationOstree$", {
"x86_64": {
"repo": "Everything",
"release": None,
@ -821,14 +813,14 @@ ostree_installer = [
"add_template": ["ostree-based-installer/lorax-configure-repo.tmpl",
"ostree-based-installer/lorax-embed-repo.tmpl"],
"add_template_var": [
"ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/ostree/rawhide/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/compose/ostree/rawhide/",
"ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/ostree/27/",
"ostree_update_repo=https://dl.fedoraproject.org/ostree/27/",
"ostree_osname=fedora-workstation",
"ostree_install_ref=fedora/rawhide/x86_64/workstation",
"ostree_update_ref=fedora/rawhide/x86_64/workstation",
"ostree_install_ref=fedora/27/x86_64/workstation",
"ostree_update_ref=fedora/27/x86_64/workstation",
],
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'master',
'template_branch': 'f27',
'failable': ['*'],
}
})

View File

@ -1,28 +1,25 @@
#!/bin/sh
#set -x
export LC_ALL=C
CONFIG="fedora-modular.conf"
TARGET_DIR="/mnt/koji/compose/"
TARGET_DIR="/mnt/koji/compose"
#OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR"
NIGHTLY="--nightly"
SKIP_PHASES="--skip-phase=productimg"
DEST=$(pwd)
DATE=$(date "+%Y%m%d")
DIST="rawhide"
BRANCHED="Modular-Rawhide"
BRANCH="rawhide"
GIT_BRANCH="master"
TMPDIR=`mktemp -d /tmp/$DIST.$DATE.XXXX`
SHORT="Fedora-Modular"
RELEASE="27"
RELEASE_TITLE="27"
COMPSFILE="comps-f27.xml"
TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX`
TOMAIL="devel@lists.fedoraproject.org test@lists.fedoraproject.org"
FROM="Fedora Rawhide Report <rawhide@fedoraproject.org>"
FROM="Fedora Branched Report <rawhide@fedoraproject.org>"
RSYNCPREFIX="sudo -u ftpsync"
ATOMIC=$(mktemp -d /tmp/atomic.${DIST}.$DATE.XXXX)
ATOMICREPO="/mnt/koji/compose/atomic/$BRANCHED/"
ATOMICDEST="/mnt/koji/atomic/$BRANCHED/"
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-Modular-Rawhide/COMPOSE_ID)
RSYNCTARGET="/pub/fedora/linux/modular/development/$RELEASE"
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID)
# assume a releng dir is a git checkout of the releng repo
# if it does not exist clone it
@ -40,8 +37,17 @@ FEDMSG_CERTPREFIX="releng"
. ./releng/scripts/fedmsg-functions.sh
# Announce that we are starting, even though we don't know the compose_id yet..
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s"}' "$BRANCHED" "$ARCH")
send_fedmsg "${fedmsg_json_start}" ${DIST} start
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s"}' "$RELEASE" "$ARCH" "$SHORT")
send_fedmsg "${fedmsg_json_start}" ${RELEASE} start
pushd $TMPDIR
git clone https://pagure.io/fedora-comps.git && {
pushd fedora-comps
make "${COMPSFILE}"
cp "${COMPSFILE}" $DEST/
popd
}
popd
CMD="pungi-koji --notification-script=/usr/bin/pungi-fedmsg-notification --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $NIGHTLY $SKIP_PHASES"
@ -52,14 +58,61 @@ else
fi
time $CMD "$@"
if [ "$?" != "0" ]; then
exit 1
fi
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-Modular-Rawhide/COMPOSE_ID)
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID)
SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-Modular.*-||g')
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "compose_id": "%s"}' "$BRANCHED" "$ARCH" "$NEWCOMPOSE_ID")
fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s", "compose_id": "%s"}' "$BRANCHED" "$ARCH" "$NEWCOMPOSE_ID")
# Set this to use later for a few items include depcheck
DESTDIR=$TARGET_DIR/$NEWCOMPOSE_ID
# Public URL the synced compose will wind up at, we put it in fedmsgs
LOCATION="https://dl.fedoraproject.org$RSYNCTARGET"
# Update fedmsg template
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID", "$LOCATION")
fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID" "$LOCATION")
compose-changelog -p $DESTDIR/logs/ $TARGET_DIR/$OLDCOMPOSE_ID/ $DESTDIR/
# Figure out a version for broken deps e-mail that goes to package maintainers.
# For Bikeshed it's just bikeshed, for branched versions we prepend F- to the number.
if [ "$RELEASE" = "bikeshed" ]; then
TREENAME="$RELEASE"
else
TREENAME="F-$RELEASE"
fi
/usr/share/mash/spam-o-matic --nomail --treename="$TREENAME" "$DESTDIR/compose/Server/" >"$DESTDIR/logs/depcheck"
# Tell interested persons that the rsync is starting (zomg!)
send_fedmsg "${fedmsg_json_start}" ${RELEASE} rsync.start
# Sync the content to /pub/fedora
if [ ! -d "$RSYNCTARGET" ]; then
mkdir "$RSYNCTARGET"
fi
$RSYNCPREFIX compose-partial-copy --arch=armhfp --arch=x86_64 --arch=aarch64 --arch=ppc64 --arch=ppc64le --arch=s390x --arch src \
"$DESTDIR" "$RSYNCTARGET/" \
--variant Server \
--exclude=repodata
$RSYNCPREFIX compose-partial-copy --arch=armhfp --arch=x86_64 --arch=aarch64 --arch=ppc64 --arch=ppc64le --arch=s390x --arch src \
"$DESTDIR" "$RSYNCTARGET/" \
--variant Server \
--delete-after
$RSYNCPREFIX rm "$RSYNCTARGET/.composeinfo"
$RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCTARGET/" --name "$NEWCOMPOSE_ID"
# Tell interested persons that the rsync is done.
send_fedmsg "${fedmsg_json_done}" ${RELEASE} rsync.complete
# Tell everyone by fedmsg about the compose
send_fedmsg "${fedmsg_json_done}" ${DIST} complete
send_fedmsg "${fedmsg_json_done}" ${RELEASE} complete
# Tell everyone by email about the compose
SUBJECT='Fedora Modular '$RELEASE' compose report: '$SHORTCOMPOSE_ID' changes'
for tomail in $TOMAIL ; do
cat $DESTDIR/logs/*verbose | \
mutt -e "set from=\"$FROM\"" -e 'set envelope_from=yes' -s "$SUBJECT" $tomail
done
# Remove old composes older than 14 days
find $TARGET_DIR/Fedora-Modular-Rawhide* -xdev -depth -maxdepth 2 -mtime +14 -exec rm -rf {} \;
find $TARGET_DIR/$SHORT-$RELEASE_TITLE* -xdev -depth -maxdepth 2 -mtime +14 -exec rm -rf {} \;

View File

@ -4,25 +4,25 @@
export LC_ALL=C
CONFIG="fedora.conf"
TARGET_DIR="/mnt/koji/compose/rawhide"
TARGET_DIR="/mnt/koji/compose/branched"
#OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR"
NIGHTLY="--nightly"
SKIP_PHASES="--skip-phase=productimg"
DEST=$(pwd)
DATE=$(date "+%Y%m%d")
DIST="rawhide"
BRANCHED="rawhide"
BRANCH="rawhide"
COMPSFILE="comps-rawhide.xml"
GIT_BRANCH="master"
DIST="27"
BRANCHED="27"
BRANCH="branched"
COMPSFILE="comps-f27.xml"
GIT_BRANCH="f27"
TMPDIR=`mktemp -d /tmp/$DIST.$DATE.XXXX`
TOMAIL="devel@lists.fedoraproject.org test@lists.fedoraproject.org"
FROM="Fedora Rawhide Report <rawhide@fedoraproject.org>"
FROM="Fedora Branched Report <rawhide@fedoraproject.org>"
RSYNCPREFIX="sudo -u ftpsync"
ATOMIC=$(mktemp -d /tmp/atomic.${DIST}.$DATE.XXXX)
ATOMICREPO="/mnt/koji/compose/atomic/$BRANCHED/"
ATOMICDEST="/mnt/koji/atomic/$BRANCHED/"
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-Rawhide/COMPOSE_ID)
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-27/COMPOSE_ID)
# uncomment and edit for resuming a failed compose
#COMPOSE_ID="Fedora-23-20150530.n.0"
@ -54,11 +54,11 @@ git clone https://pagure.io/fedora-comps.git && {
}
popd
./releng/scripts/block_retired.py
#./releng/scripts/block_retired.py
./releng/scripts/block_retired.py --namespace=docker
./releng/scripts/block_retired.py --namespace=container
CMD="pungi-koji --notification-script=/usr/bin/pungi-fedmsg-notification --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $NIGHTLY $SKIP_PHASES"
CMD="pungi-koji --notification-script=/usr/bin/pungi-fedmsg-notification --notification-script=pungi-wait-for-signed-ostree-handler --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $NIGHTLY $SKIP_PHASES"
if [ -z "$COMPOSE_ID" ]; then
CMD="$CMD --target-dir=$TARGET_DIR"
@ -71,7 +71,7 @@ if [ "$?" != "0" ]; then
exit 1
fi
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-Rawhide/COMPOSE_ID)
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-27/COMPOSE_ID)
SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-.*-||g')
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "compose_id": "%s"}' "$BRANCHED" "$ARCH" "$NEWCOMPOSE_ID")
fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s", "compose_id": "%s"}' "$BRANCHED" "$ARCH" "$NEWCOMPOSE_ID")
@ -80,10 +80,10 @@ fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s", "compos
DESTDIR=$TARGET_DIR/$NEWCOMPOSE_ID
compose-changelog -p $TARGET_DIR/$NEWCOMPOSE_ID/logs/ $TARGET_DIR/$OLDCOMPOSE_ID/ $TARGET_DIR/$NEWCOMPOSE_ID/
/usr/share/mash/spam-o-matic $DESTDIR/compose/Everything/ >$DESTDIR/logs/depcheck
/usr/share/mash/spam-o-matic --treename="F-$BRANCHED" "$DESTDIR/compose/Everything/" >"$DESTDIR/logs/depcheck"
[ -z "$ARCH" ] && {
./releng/scripts/critpath.py --url file://$DESTDIR/compose/Everything -o $DESTDIR/logs/critpath.txt branched &> $DESTDIR/logs/critpath.log
./releng/scripts/critpath.py --url file://$DESTDIR/compose/Everything/ -o $DESTDIR/logs/critpath.txt branched &> $DESTDIR/logs/critpath.log
}
ostree prune --repo=$ATOMICREPO --keep-younger-than="14 days ago" --refs-only
@ -125,13 +125,11 @@ $RSYNCPREFIX ./releng/scripts/build_composeinfo /pub/alt/development/$DIST/ --na
if [ ! -d /pub/fedora-secondary/development/$DIST ]; then
mkdir /pub/fedora-secondary/development/$DIST
fi
$RSYNCPREFIX compose-partial-copy --arch=aarch64 --arch=i386 --arch=ppc64 --arch=ppc64le \
$RSYNCPREFIX compose-partial-copy --arch=aarch64 --arch=i386 --arch=ppc64 --arch=ppc64le --arch=s390x \
"$TARGET_DIR/$NEWCOMPOSE_ID" /pub/fedora-secondary/development/$DIST/ \
--exclude=s390x \
--link-dest=/pub/fedora/linux/development/$DIST/Everything/ --exclude=repodata
$RSYNCPREFIX compose-partial-copy --arch=aarch64 --arch=i386 --arch=ppc64 --arch=ppc64le \
$RSYNCPREFIX compose-partial-copy --arch=aarch64 --arch=i386 --arch=ppc64 --arch=ppc64le --arch=s390x \
"$TARGET_DIR/$NEWCOMPOSE_ID" /pub/fedora-secondary/development/$DIST/ \
--exclude=s390x \
--link-dest=/pub/fedora/linux/development/$DIST/Everything/ --delete-after
$RSYNCPREFIX rm /pub/fedora-secondary/development/$DIST/.composeinfo
$RSYNCPREFIX ./releng/scripts/build_composeinfo /pub/fedora-secondary/development/$DIST/ --name "$NEWCOMPOSE_ID"

32
release-candidate-modular.sh Executable file
View File

@ -0,0 +1,32 @@
#!/bin/sh
export LC_ALL=C
LABEL=$1
# Remove the label from arguments. It gets special treatment. Other arguments
# to the script are passed to pungi-koji directly.
shift
CONFIG="fedora-modular-beta.conf"
TARGET_DIR="/mnt/koji/compose/27"
#OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR"
NIGHTLY=""
SKIP_PHASES="--skip-phase=productimg"
DEST=$(pwd)
DATE=$(date "+%Y%m%d")
COMPSFILE="comps-f27.xml"
TMPDIR=`mktemp -d /tmp/fedoraRC.$DATE.XXXX`
# uncomment and edit for resuming a failed compose
#COMPOSE_ID="Fedora-23-20150530.n.0"
pushd $TMPDIR
git clone https://pagure.io/fedora-comps.git && {
pushd fedora-comps
make "${COMPSFILE}"
cp "${COMPSFILE}" $DEST/
popd
}
popd
CMD="pungi-koji --notification-script=/usr/bin/pungi-fedmsg-notification --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $NIGHTLY $SKIP_PHASES --label=$LABEL"
if [ -z "$COMPOSE_ID" ]; then
CMD="$CMD --target-dir=$TARGET_DIR"
else
CMD="$CMD --debug-mode --compose-dir=$TARGET_DIR/$COMPOSE_ID"
fi
time $CMD "$@"

View File

@ -5,13 +5,13 @@ LABEL=$1
# to the script are passed to pungi-koji directly.
shift
CONFIG="fedora-final.conf"
TARGET_DIR="/mnt/koji/compose/26"
TARGET_DIR="/mnt/koji/compose/27"
#OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR"
NIGHTLY=""
SKIP_PHASES="--skip-phase=productimg"
DEST=$(pwd)
DATE=$(date "+%Y%m%d")
COMPSFILE="comps-f26.xml"
COMPSFILE="comps-f27.xml"
TMPDIR=`mktemp -d /tmp/fedoraRC.$DATE.XXXX`
# uncomment and edit for resuming a failed compose
#COMPOSE_ID="Fedora-23-20150530.n.0"
@ -23,7 +23,7 @@ git clone https://pagure.io/fedora-comps.git && {
popd
}
popd
CMD="pungi-koji --notification-script=/usr/bin/pungi-fedmsg-notification --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $NIGHTLY $SKIP_PHASES --label=$LABEL"
CMD="pungi-koji --notification-script=/usr/bin/pungi-fedmsg-notification --notification-script=pungi-wait-for-signed-ostree-handler --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $NIGHTLY $SKIP_PHASES --label=$LABEL"
if [ -z "$COMPOSE_ID" ]; then
CMD="$CMD --target-dir=$TARGET_DIR"
else

View File

@ -11,19 +11,17 @@ NIGHTLY=""
SKIP_PHASES="--skip-phase=productimg --skip-phase=extra_files"
DEST=$(pwd)
DATE=$(date "+%Y%m%d")
DIST="26"
BRANCHED="26"
BRANCH="branched"
COMPSFILE="comps-f26.xml"
GIT_BRANCH="f26"
TMPDIR=`mktemp -d /tmp/$DIST.$DATE.XXXX`
# the Pungi 'shortname', which we will include in fedmsgs for disambiguation
SHORT="Fedora-Atomic"
RELEASE="27"
RELEASE_TITLE="27"
COMPSFILE="comps-f27.xml"
TMPDIR=`mktemp -d /tmp/$RELEASE.$DATE.XXXX`
TOMAIL="devel@lists.fedoraproject.org test@lists.fedoraproject.org"
FROM="Fedora Branched Report <rawhide@fedoraproject.org>"
RSYNCPREFIX="sudo -u ftpsync"
ATOMIC=$(mktemp -d /tmp/atomic.${DIST}.$DATE.XXXX)
ATOMICREPO="/mnt/koji/compose/atomic/$BRANCHED/"
ATOMICDEST="/pub/fedora/linux/atomic/$BRANCHED/"
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-Atomic-26/COMPOSE_ID)
RSYNCTARGET="/pub/alt/atomic/testing/$SHORTCOMPOSE_ID"
OLDCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID)
# uncomment and edit for resuming a failed compose
#COMPOSE_ID="Fedora-23-20150530.n.0"
# assume a releng dir is a git checkout of teh releng repo
@ -36,13 +34,12 @@ else
git clone https://pagure.io/releng.git
fi
# Set up our fedmsg function, using the releng repo definition
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s"}' "$BRANCHED" "$ARCH")
fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s"}' "$BRANCHED" "$ARCH")
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s"}' "$RELEASE" "$ARCH" "$SHORT")
FEDMSG_MODNAME="compose"
FEDMSG_CERTPREFIX="releng"
. ./releng/scripts/fedmsg-functions.sh
# Announce that we are starting...
send_fedmsg "${fedmsg_json_start}" ${DIST} start
send_fedmsg "${fedmsg_json_start}" ${RELEASE} start
pushd $TMPDIR
git clone https://pagure.io/fedora-comps.git && {
pushd fedora-comps
@ -58,28 +55,34 @@ else
CMD="$CMD --debug-mode --compose-dir=$TARGET_DIR/$COMPOSE_ID"
fi
time $CMD "$@"
if [ "$?" = "0" ]; then
export mail=0
if [ "$?" != "0" ]; then
exit 1
fi
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-Atomic-26/COMPOSE_ID)
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID)
SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-.*-||g')
DESTDIR=$TARGET_DIR/$NEWCOMPOSE_ID
# Public URL the synced compose will wind up at, we put it in fedmsgs
LOCATION="https://dl.fedoraproject.org$RSYNCTARGET"
# Update fedmsg template
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID", "$LOCATION")
fedmsg_json_done=$(printf '{"log": "done", "branch": "%s", "arch": "%s", "short": "%s", "compose_id": "%s", "location": "%s"}' "$RELEASE" "$ARCH" "$SHORT" "$NEWCOMPOSE_ID" "$LOCATION")
$RSYNCPREFIX mkdir -p $DESTDIR
# Tell interested persons that the rsync is starting (zomg!)
send_fedmsg "${fedmsg_json_start}" ${DIST} rsync.start
send_fedmsg "${fedmsg_json_start}" ${RELEASE} rsync.start
for dir in Atomic CloudImages Docker metadata ;
do
$RSYNCPREFIX rsync -avhH $TARGET_DIR/$NEWCOMPOSE_ID/compose/$dir/ /pub/alt/atomic/testing/$SHORTCOMPOSE_ID/$dir/ ;
$RSYNCPREFIX ./releng/scripts/build_composeinfo /pub/alt/atomic/testing/$SHORTCOMPOSE_ID/ --name $NEWCOMPOSE_ID
$RSYNCPREFIX rsync -avhH $DESTDIR/compose/$dir/ "$RSYNCTARGET/$dir/" ;
$RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCTARGET/" --name $NEWCOMPOSE_ID
done
# Tell interested persons that the rsync is done.
send_fedmsg "${fedmsg_json_done}" ${DIST} rsync.complete
send_fedmsg "${fedmsg_json_done}" ${RELEASE} rsync.complete
# Tell everyone by fedmsg about the compose
send_fedmsg "${fedmsg_json_done}" ${DIST} complete
SUBJECT='Fedora '$DIST' compose report: '$SHORTCOMPOSE_ID' changes'
#if [ "$mail" = "0" ]; then
# for tomail in $TOMAIL ; do
# cat $TARGET_DIR/$NEWCOMPOSE_ID/logs/*verbose $DESTDIR/logs/depcheck | \
# mutt -e "set from=\"$FROM\"" -e 'set envelope_from=yes' -s "$SUBJECT" $tomail
# done
#fi
send_fedmsg "${fedmsg_json_done}" ${RELEASE} complete
SUBJECT='Fedora '$RELEASE' compose report: '$SHORTCOMPOSE_ID' changes'
#for tomail in $TOMAIL ; do
# cat $DESTDIR/logs/*verbose $DESTDIR/logs/depcheck | \
# mutt -e "set from=\"$FROM\"" -e 'set envelope_from=yes' -s "$SUBJECT" $tomail
#done

View File

@ -133,6 +133,14 @@
<package>fedora-productimg-workstation</package>
</buildinstallpackages>
</variant>
<variant id="WorkstationOstree" name="Workstation Ostree" type="variant" is_empty="true">
<arches>
<arch>aarch64</arch>
<arch>armhfp</arch>
<arch>i386</arch>
<arch>x86_64</arch>
</arches>
</variant>
<variant name="Cloud" id="Cloud" type="variant">
<arches>
<arch>aarch64</arch>

View File

@ -11,10 +11,66 @@
<arch>s390x</arch>
<arch>x86_64</arch>
</arches>
<buildinstallpackages>
<package>fedora-productimg-server</package>
</buildinstallpackages>
<modules>
<module>platform-master</module>
<module>host-master</module>
<module>shim-master</module>
<module>hardware-support-f27</module>
<module>host-f27</module>
<module>installer-f27</module>
<module>perl-5.26</module>
<module>platform-f27</module>
<module>cloud-init-f27</module>
<!--cockpit included in platform -->
<module>freeipa-4.6</module>
<module>networking-base-f27</module>
<module>postgresql-9.6</module>
<module>udisks2-2</module>
<module>389-ds-1.3</module>
<module>X11-base-f27</module>
<module>apache-commons-f27</module>
<module>bind-9</module>
<module>fonts-f27</module>
<module>httpd-2.4</module>
<module>java-8</module>
<module>maven-f27</module>
<module>pki-master</module>
<module>python2-ecosystem-f27</module>
<module>python2-2.7</module>
<module>python3-ecosystem-f27</module>
<module>python3-3.6</module>
<module>resteasy-3.0</module>
<module>samba-4.7</module>
<module>sssd-1.16</module>
<module>tomcat-8.0</module>
<module>autotools-f27</module>
<module>cmake-3.9</module>
<!-- not ready: <module>gtk2-master</module> -->
<!-- not ready: <module>gtk3-master</module> -->
<!-- not ready: <module>systemtap-master</module> -->
<!-- not ready: <module>texlive-master</module> -->
<!-- not ready: <module>cassandra-master</module> -->
<module>mariadb-10.2</module>
<module>mongodb-3.4</module>
<module>mysql-5.7</module>
<module>ninja-master</module>
<!-- not ready: <module>nginx-master</module> -->
<!-- not ready: <module>nis-master</module> -->
<module>nodejs-6</module>
<module>nodejs-8</module>
<!-- not ready: <module>passenger-master</module> -->
<!-- not ready: <module>php-master</module> -->
<!-- not ready: <module>redis-master</module> -->
<module>rsyslog-master</module>
<module>ruby-2.4</module>
<module>system-tools-2017.0</module>
<!-- not ready: <module>varnish-master</module> -->
<module>libtom-f27</module>
<module>boost-1.64</module>
</modules>
</variant>
</variants>