Compare commits

...

130 Commits
main ... f26

Author SHA1 Message Date
Peter Robinson 1354943ddf 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:43:46 +01:00
Mohan Boddu 01521e4aac Merge #507 `Emit location keys in nightly compose fedmsgs, plus related cleanups (f26)` 2018-01-27 09:50:29 +00:00
Adam Williamson 64227f2854 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:37 +01:00
Adam Williamson 9cfea39ee2 Avoid // in fedmsg location values
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-01-26 13:35:57 +01:00
Adam Williamson ba0e8d7fcc 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-26 13:34:18 +01:00
Adam Williamson f618dbd388 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-26 13:33:10 +01:00
Adam Williamson 671f6c70b7 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>
2018-01-26 13:22:44 +01:00
Adam Williamson f3327690cf 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>
2018-01-26 13:09:52 +01:00
Adam Williamson e0be6386be 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>
2018-01-26 12:02:39 +01:00
Adam Williamson 7fc1a6c74b 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>
2018-01-26 11:59:52 +01:00
Adam Williamson f153707218 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>
2018-01-26 11:58:51 +01:00
Mohan Boddu b73b4ef194 Update the f26-updates repo
With bodhi calling pungi to mash the updates, the location of the
repo changed to /mnt/koji/compose/updates/

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-11-07 16:48:44 -05:00
Lubomír Sedlář 34078d2569 Fix repos for image building
There is no Cloud variant we could take the repositories from. This
should probably consume what was released as updates and also the
initial GA content.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-10-27 16:46:30 +02:00
Mohan Boddu f0b1f17df0 Merge #375 `fix up minimal container install tree url` 2017-09-28 19:37:00 +00:00
Mohan Boddu 49f0f2e372 Fixing f26 cloud nightlies.
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-09-27 16:09:45 -04:00
Dennis Gilmore debdf8e5b9 fix up minimal container install tree url
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-09-27 08:03:40 -05:00
Dennis Gilmore 57a2c3fd80 pull from the location where all the arches are one.
The previous changes to build from different locations for the
different arches resulted in us only building containrs for
ppc64le and aarch64. pulling from the one location means we can
build for all in one

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-09-05 21:32:51 -05:00
Dennis Gilmore 77a03ccd59 set Fedora release to Fedora-26
This has no real effect on imagefactory as it is aliased, but serves
for if something in imagefactory changes

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-08-25 13:19:24 -05:00
Dennis Gilmore a47878809f pull from the alt arch locations
Setup the docker base images for aarch64 and ppc64le to pull from
the alt arch locations.

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-08-25 13:18:23 -05:00
Dennis Gilmore 53cb0e2ee0 add aarch64 and ppc64le to the docker base image creation
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-08-25 13:09:21 -05:00
Adam Miller 17c35f9668 Fix docker_label keyword and fix label caps
Previously the key 'docker_labels' was used but this isn't actually
picked up by imagefactory because the parameter key it's looking for
is 'docker_label'. This patch resolves that.

Also included in this patch is a change to set the labels to be
lowercase as defined in the Fedora Container Guidelines.

fix the docker_label entry to be a valid JSON string

Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2017-08-15 15:01:52 -05:00
Dusty Mabe d8eddd7c05
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.

(cherry picked from commit 091ada78051de1c9a7afd5798282e7ed1384bb5c)

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-08-15 11:58:58 -04:00
Dusty Mabe 6809dab166
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 10:30:56 -04:00
Dusty Mabe e3b77bdae0
container: pull changes back from master
Mostly comes from f6e7f69.

- Add minimal image building.
- bump disk size to 5

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-08-14 17:43:22 -04:00
Dusty Mabe ce773d2fa8
fix name of docker nightly script
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-08-14 13:53:41 -04:00
Dusty Mabe 4772f118f8
Add ostree-support group to cloud
Since we are currently building atomic host media every night using
the cloud variant then we need to add ostree-support group if we
want to pull in new ostree tools into the ISO installer images.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
(cherry picked from commit c02751a85f)
2017-08-04 14:35:31 -04:00
Lubomír Sedlář ca17e86d7d Rename compose in fedora-cloud.conf
The name is colliding with what is defined in fedora-atomic.conf,
leading to duplicated compose IDs.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-07-25 11:19:41 +02:00
Lubomír Sedlář 19b8669b6d Fix pungi call with extra argument
The script gets a label as a command line argument, and this is manually
handled by adding it as `--label=$1` to the pungi-koji command. We
should not add this argument to another time.

This avoid problem with Pungi 4.1.17 which reports an error when seeing
unknown arguments (which were silently ignored before).

Fixes: https://pagure.io/pungi/issue/682
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-07-24 14:31:03 +02:00
Ralph Bean 002281a7c2 Setup for modular 1.10
OK.  The 1.9 compose *mostly* worked, but that pungi feature we had to
disable (nodeps) causes issues such that multiple streams of various
modules don't appear in the compose.. which kind of defeats the purpose
of the modular preview.

This change preps a 1.10 release and re-enables the nodeps feature.

It requires pungi-4.1.17-2 to run, which was released this morning.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-20 09:38:21 -04:00
Ralph Bean 3915388315 Setup for modular 1.9
OK, we tried new pungi but hit a bug:
https://kojipkgs.fedoraproject.org/compose/26/Fedora-Modular-26-20170719.1/logs/global/traceback.global.log

The next thing to try is to revert our gather method back to deps and to
revert back to pungi-4.1.16-3, since 4.1.17-1 was problematic.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-19 12:43:11 -04:00
Ralph Bean bf7bb86097 Set for fedora-modular 1.8.
We hit a traceback here https://kojipkgs.fedoraproject.org/compose/26/Fedora-Modular-26-20170719.0/logs/global/traceback.global.log

We're going to try again with the latest pungi to see if it fixes the
gather_method problems.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-19 11:13:09 -04:00
Mohan Boddu 7720762ef7 Merge #294 `Setup for fedora modular EA-1.7 final.` 2017-07-18 14:02:57 +00:00
Ralph Bean 631ff723d9 Remove the EA label.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-18 09:43:41 -04:00
Dusty Mabe 49b3e7adb0
atomic: update config based on recent changes
revert a couple of the changes from edc4197:
- repos have now been put in public release location
- bodhi now creates updates repo

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-07-17 10:35:38 -04:00
Ralph Bean cd2924ccad Change the gather method.
Now that we have the fix from this PR applied, released, and deployed,
we can use the gather method we want:  https://pagure.io/pungi/pull-request/634

Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-17 09:48:19 -04:00
Ralph Bean 3dd61a8c4f Also, add the nodejs module.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-17 09:47:51 -04:00
Ralph Bean 4edb375d9a Add the new systemtools module for @mattdm and @langdon.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-17 08:49:58 -04:00
Ralph Bean c1d9db1283 Setup for fedora modular EA-1.7 final.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-11 16:00:26 -04:00
Mohan Boddu 392bc7589e Setup for fedora modular EA-1.6 final
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-07-10 23:54:53 -04:00
Ralph Bean a0c3ef8380 Increase disk size for fedora modular docker base.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-10 23:49:18 -04:00
Mohan Boddu b01990b459 Setup for Fedora Modular RC-1.5 final compose
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-07-10 23:01:33 -04:00
Mohan Boddu d12311af22 Setup for fedora modular 26 final RC
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-07-10 22:07:03 -04:00
Ralph Bean 572e6cce51 A target for modular images.
f26-modularity is a tag.  This is the target.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-10 20:19:04 -04:00
Mohan Boddu 3161a4631d Merge #288 `Setup for Fedora Modular 26 RC 1.3 final` 2017-07-10 21:52:55 +00:00
Mohan Boddu 163538dbb7 Setup for Fedora Modular 26 RC 1.3 final
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-07-10 17:51:16 -04:00
Ralph Bean 73cd6aee57 Add a qcow and raw image build for the modular server.
This depends on https://pagure.io/fedora-kickstarts/pull-request/258

Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-10 17:47:03 -04:00
Mohan Boddu 0768ed4166 Merge #286 `Specify the correct variant in the image_build phase.` 2017-07-10 21:41:04 +00:00
Ralph Bean 0110bef80e Specify the correct variant in the image_build phase.
Our image_build phase skipped everything because we listed configuration
for a "Docker" variant that just doesn't exist.  The variant is Server.
Set the appropriate regex here so they match.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-10 17:05:37 -04:00
Mohan Boddu b39d5f5700 Setup for F26 Modular Final 1.2
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-07-10 16:02:41 -04:00
Ralph Bean 6886b3be74 Set global_version appropriately for the modular compose.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-10 14:53:56 -04:00
Mohan Boddu 27e129c509 Changing the location of the modular compose to /mnt/koji/compose/26/
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-07-10 14:40:25 -04:00
Mohan Boddu f45c178d48 Merge #279 `Try the buildinstall phase for the f26 compose.` 2017-07-10 18:25:55 +00:00
Ralph Bean ba83311472 Use underscores in the dist-tag. Dashes are likely problematic.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-10 09:57:15 -04:00
Ralph Bean 398ac51a68 Use the f26 branch of kickstarts.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-10 09:54:51 -04:00
Ralph Bean c67f7c2ea3 Fix erroneous global_version in the modular image config.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-10 09:33:26 -04:00
Ralph Bean 601bc34a3b Apply docker image creation changes to the boltron "final" config.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-10 09:24:03 -04:00
Ralph Bean 9bb17bf890 Make sure we don't step on the 26 registry tag.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-10 08:43:37 -04:00
Ralph Bean 9e9aa159f7 fix the docker_label entry to be a valid JSON string
.. like I just saw @maxamillion do in #281.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-10 07:56:32 -04:00
Ralph Bean 8261df0778 Correct pull request link.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-10 07:52:31 -04:00
Ralph Bean 5f97e5c13e Configuration to build the docker base image, modular f26 (boltron).
Depends on two other PRs being merged first:

- https://pagure.io/fedora-kickstarts/pull-request/257
- https://pagure.io/pungi-fedora/pull-request/279

Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-09 20:26:32 -04:00
Ralph Bean e590312ce4 Enable buildinstall in the "final" conf, too.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-07 13:54:55 -04:00
Ralph Bean 3a027a1443 Try the buildinstall phase for the f26 compose.
This is... really late in the game.  But we were blocked on #6868.

Maybe, try #278 first and then this one.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-07 13:52:15 -04:00
Ralph Bean b3633fdc34 Add armhfp to the modular config.
It doesn't look like it was ever removed intentionally.  It seems to
have just been forgotten.

Note that, I checked an MBS koji build and saw that armv7hl builds were
done... so the content should be there.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-07-06 10:17:21 -04:00
Mohan Boddu 93dc260f08 Merge #272 `f26: prepare fedora-atomic for prod runs` 2017-07-05 18:41:10 +00:00
Mohan Boddu d6b369983e Setup for f26 final RC-1.5
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-07-05 11:43:40 -04:00
Dusty Mabe edc41972b7
atomic.conf: make a few pre-prod changes
During the life of 2 week f26 atomic a few things will be set
up differently than they are right now. Let's account for them:

- Use dev yum repo for now
- Don't use 'during compose' ostree repo location
- Pull from non-updates ostree ref

We'll switch all of these back to their previous values shortly
after f26 is released and the other processes are in place.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-07-04 12:12:44 -04:00
Dusty Mabe 8fa097ea4d
atomic.conf: pull back a few more changes from master
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-07-04 11:55:53 -04:00
Dusty Mabe 5217b2a77d
atomic.conf: update to use F26 key
(cherry picked from commit d5f7d18b26)

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-07-04 11:51:17 -04:00
Dusty Mabe 0f024ac657
atomic: no need to provide repo for image builds
Since we pull from ostree repos it doesn't really make
sense to provide a yum "repo" to the image build in pungi.
Removing it since it could be confusing to have it there.

(cherry picked from commit dd006c0e8b)

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-07-04 11:51:13 -04:00
Dusty Mabe b97fd6e5bc
atomic.conf: convert source_repo_from to repo
(cherry picked from commit fd562c33aa)

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-07-04 11:51:04 -04:00
Mohan Boddu d47a467342 Merge #268 `f26: attempt to fix atomic workstation` 2017-07-03 18:48:25 +00:00
Dusty Mabe 65674d6228
atomic workstation: increase rootfs size
The runroot task was running out of disk space. This matches
with what is in rawhide.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-07-03 10:42:50 -04:00
Mohan Boddu 7c70dd99cb Setup for RC 1.4
Also fixing docker image build options

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-07-03 08:46:32 -04:00
Kevin Fenzi 84f031a9ae rc3 config
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2017-07-01 21:49:59 -06:00
Mohan Boddu 78e165f057 Setup for Fedora 26 Final
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-06-29 20:24:24 -04:00
Colin Walters bf73f4036c
FAH/WS-ostree: Use unified lorax templates
This makes ws-ostree match AH more, which should reduce maintenance pain.

See: https://pagure.io/fedora-lorax-templates/pull-request/21

(cherry picked from commit d310ecc939)

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-06-25 08:40:29 -04:00
Mohan Boddu 366caf3380 White listing p11-kit-trust multilib
Fixes #6855 for F26

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-06-23 10:35:15 -04:00
Mohan Boddu d7f1d9cc59 Merge #252 `Fedora-Modular-26: Add release-candidate-modular.sh` 2017-06-20 14:36:36 +00:00
Jan Kaluza f59b87cc60 Fedora-Modular-26: Add release-candidate-modular.sh
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2017-06-20 16:20:00 +02:00
Dusty Mabe 690d065a3f
atomic: update lorax passed vars (part 2)
Add new ostree_install_repo and ostree_update_repo vars so that we
can tell lorax where to pull from during the pungi compose and also
where to configure an installed system to pull from. i.e. where a
user is going to pull from over time.

This is related to https://pagure.io/fedora-lorax-templates/pull-request/19

(cherry picked from commit 46ce53c208)
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-06-13 17:07:55 -04:00
Dusty Mabe 27042d2532
atomic: update lorax passed vars (part 1)
Similar to what we did in b28af80 on the f25 branch. Let's update
the lorax passed vars. This is to match what is expected for [1].

[1] https://pagure.io/fedora-lorax-templates/pull-request/18

(cherry picked from commit 7163cc2572)
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-06-13 17:04:16 -04:00
Dusty Mabe e57d0561d7
atomic.conf: move from arch template to template
This is a continuation of ce4cdf5.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-06-13 16:57:00 -04:00
Mohan Boddu 505150df11 Bump global_release for Fedora 26 Beta RC4
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-05-31 09:14:46 -04:00
Mohan Boddu e3e8eb424e Bump global_release for Fedora 26 Beta RC3
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-05-30 11:43:31 -04:00
Mohan Boddu d2375157c0 Bump global_release for Fedora 26 Beta RC2
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-05-24 13:55:32 -04:00
Peter Robinson f208dadc47 add missing images for Power64
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-05-24 18:19:33 +01:00
Dennis Gilmore ae0d4539fd Merge #236 `Fedora-Modular-F26: Add rest of the modules which have been planned for F26.` 2017-05-24 14:19:07 +00:00
Jan Kaluza 251c9c19a2 Add rest of the modules which have been planned for F26.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2017-05-24 15:50:01 +02:00
Dennis Gilmore b935b4367f set the release blocking deliverables and not being allowed to fail
now that we have working in koji the ability to set livemedia and
image buildas as being able to fail on some arches, we are fixing
up the compose configs to reflect the blocker status of artifacts.
The end goal is to have it so that any compose that completes as
FINISHED or FINISHED_INCOMPLETE will meet the minimum requirement
of having all release blocking deliverables present.

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-05-23 19:43:20 -05:00
Dennis Gilmore baa8dc6ea7 Merge #226 `cloud/docker: add Power64 arches to image creation` 2017-05-23 17:57:34 +00:00
Peter Robinson feacabbfec drop ppc64 BE docker images
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-05-23 18:50:35 +01:00
Mohan Boddu b4e6f5fd33 Setup for Fedora 26 Beta
Adding fedora-beta.conf pungi config and modified release-candidate.sh

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-05-23 12:10:01 -04:00
Dusty Mabe 01890c93db
fedora-atomic: add in override for vagrant sync location
Go ahead and update the fedora-atomic.conf so that when it gets
branched it will have the override already in there.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
(cherry picked from commit b69707bdd7)
2017-05-19 16:11:43 -04:00
Dusty Mabe 98356e4385
cloud: don't try to override default sync location
For the cloud base image there is no need to override the default
vagrant sync location. /vagrant/ works just fine and is what people
expect.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
(cherry picked from commit 5f0774eeda)
2017-05-19 16:11:09 -04:00
Dusty Mabe ccf084602a
cloud/atomic: give appropriate factory-parameters to koji
In koji there are ova-options and also factory-parameters.
We can pass ova-options to koji and also factory-parameters
but we can't pass ova-options as a factory-parameter. We just
need to pass in the vagrant_sync_directory as a factory
parameter.

Fixes https://pagure.io/atomic-wg/issue/181

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
(cherry picked from commit df1baf55c3)
2017-05-19 16:07:25 -04:00
Jan Kaluza e34378599f Change the sigkey to match the one we really use. Add F26 modules which are properly signed. Remove non-used 'base-runtime' variant.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2017-05-19 13:47:01 +02:00
Peter Robinson a026e6db22 cloud/docker: add Power64 arches to image creation
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-05-15 17:44:43 +01:00
Jan Kaluza 9a472683b9 Add Fedora-Modular-26 compose.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2017-05-11 18:02:23 +02:00
Adam Miller 36b7b5f8a2 Switch from docker to container namespace
Fedora Atomic WG has decided to move from the "docker" namespace to
the "container" namespace for the sake of making it more generic in
order to target all OCI Compliant container runtimes instead of
a specific implementation. This update changes what is necessary for
to the base image metadata.

Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2017-04-26 22:55:05 -05:00
Peter Robinson c142a456ef aarch64: workstation: increase disk to 8Gb as it doesn't fit
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-18 13:09:28 -05:00
Peter Robinson be6cd7bf4f add aarch64 to Spins variant
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-18 13:09:28 -05:00
Peter Robinson 91fd15dc13 add initial support for aarch64 disk images for Minimal/Workstation/Server
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-04-18 13:09:28 -05:00
Kevin Fenzi b8f5e6064b add missing double quote so the end of the script functions
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2017-04-17 17:15:34 -06:00
Ralph Bean 49d1f6c456 Typofix.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2017-04-05 13:28:17 -04:00
Mohan Boddu a824751c28 Fix for alternative arch composeinfo
This fixes the generation of .composeinfo file for alternative arches.

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-04-03 17:24:33 -04:00
Mohan Boddu ed8450daf7 Adding armhfp arch to Labs variant
Fix for #6737
python-classroom is the first armhfp image under Labs variant.
And, the compose has been failing since its missing from
variants.xml file. This will fix it.

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-03-31 15:50:54 -04:00
Adam Miller 267f32f779 Fix docker metadata formatting and license
The previous formatting for docker image metadata was getting
escaped incorrectly when passed to imagefactory. This resolves that.

Fix the license label to be MIT instead of GPLv2.

Fix the bash path

Remove atomic RUN command, it causes build failures and isn't
necessary in the base image.

Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2017-03-31 13:52:39 -05:00
Adam Miller 0da396ba64 Add dockerversion to factory-parameters
Currently, imagefactory's docker plugin will default an older
version of the metadata imager format that is not compatible with
the latest versions of docker. This change tells the plugin to use
the docker version "1.10.1" metadata format which is compatible with
all currently available docker releases.

Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2017-03-30 12:23:24 -05:00
Robert Marshall 03eb5280dd Bump global_release for Fedora 26 Alpha RC7
The latest Fedora 26 Alpha compose is now release candidate 7.

Signed-off-by: Robert Marshall <rmarshall@redhat.com>
2017-03-29 10:02:13 -04:00
Mohan Boddu af8ccdeb09 Bump global_release for Fedora 26 Alpha RC6
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-03-28 21:15:26 -04:00
Adam Miller 00a5c4c7cb Add docker base image metadata
Currently we don't produce a docker base image that can be used with
OSBS or via the 'atomic run' command without modification. This
fixes that and will allow for an automated import of the base images
into the Fedora Container Registry

Also, fix various missing commas in dict declarations

Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2017-03-28 16:34:54 -05:00
Mohan Boddu d914cd47e5 Bump global_release for Fedora 26 Alpha RC5
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-03-28 10:35:24 -04:00
Mohan Boddu 8ea729fbb8 Bumping global_release version for 26_Alpha-1.4
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-03-28 01:33:12 -04:00
Robert Marshall 34d9e8732c Bump global_release for Fedora 26 Alpha RC3
The latest Fedora 26 Alpha compose is now release candidate 3.

Signed-off-by: Robert Marshall <rmarshall@redhat.com>
2017-03-27 14:13:31 -04:00
Peter Robinson 9048234f26 add aarch64 to Cloud/Docker images to alpha config. There was an issue with Pagure merge so they were missed. This will ensure we get them if there's a new alpha and that the config ends up in beta configs if note
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-22 15:57:38 +00:00
Peter Robinson 6f79201f75 Enable aarch64 cloud and docker images
This enables the creation of the aarch64 cloud and docker images as part of the nightly compose

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2017-03-22 10:48:18 -05:00
Mohan Boddu 5e3ec7b7fe Bumping global_release version for 26_Alpha-1.2
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-03-21 15:55:46 -04:00
Mohan Boddu 47a4d74957 Setup for Fedora 26 Alpha
Adding fedora-alpha.conf and changing the release-candidate.sh
to use fedora-alpha.conf

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-03-16 09:32:08 -05:00
Dusty Mabe ce4cdf5202
atomic installer: move from arch-template to template
Otherwise I don't get access to the "root" variable we are trying to
use here [1].

[1] https://pagure.io/fedora-lorax-templates/pull-request/16#_2,7

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-03-14 18:09:39 -04:00
Dusty Mabe cdb2a396a3
atomic: increase rootfs size for lorax runs
switching to the new model where we store the ostree repo in
the root of the ISOs fs means it is a littler larger.

Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-03-14 17:39:22 -04:00
Dusty Mabe 7ceb13fd7d
update pungi configs for fedora 26 atomic
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
2017-03-14 17:31:32 -04:00
Dennis Gilmore ad186f5453 use Everything for docker and make disk size bigger
minimal container image says it needs more disk space so bump
size to 5G
use the Everything repo for the container images, microdnf
is not part of the cloud variant and it really does not make
ense to add it nor to make a container Variant with its own
install tree

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-03-10 17:35:09 -06:00
Dennis Gilmore 5eea17eb54 add missing },{ so we get docker base back
There was a missing },{ between the two container images. The end result
is that pungi validates the config but only finds the last section so
only makes one of the two images

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-03-10 17:32:47 -06:00
Mohan Boddu f6bd5463d8 Switch python-classroom vagrant to Everything repo
As the Cloud tree does not contain the python-classroom
comps group, and the Lab is a Lab and not part of the
Cloud variant we will use the Everything install tree
the same as all the other Labs.

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-03-10 14:42:08 -06:00
Dan Horák a73f1f3f81 nightly.sh: update arches for s390 koji
Signed-off-by: Dan Horák <dan@danny.cz>
2017-03-09 18:52:51 +01:00
Dan Horák bfa3a7c6e6 nightly.sh: update for updated srpm-excluded-arch.py
Signed-off-by: Dan Horák <dan@danny.cz>
2017-03-09 18:52:51 +01:00
Mohan Boddu ec036afbd7 Disable i386 for python-classroom vagrant image
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-03-07 16:32:59 -05:00
Dennis Gilmore 1a8b28e30a the comps file has f26 in it
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2017-03-01 16:26:35 -06:00
Mohan Boddu fd1e83b26a Adding Python Classroom Lab to Fedora 26
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-03-01 14:33:16 -05:00
Mohan Boddu 47103ea6b3 Branching f26 from rawhide
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-02-27 18:30:35 -05:00
18 changed files with 3024 additions and 247 deletions

View File

@ -2,26 +2,26 @@
#set -x
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-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"
DEST=$(pwd)
DATE=$(date "+%Y%m%d")
DIST="26"
BRANCHED="26"
BRANCH="branched"
# the Pungi 'shortname', which we will include in fedmsgs for disambiguation
SHORT="Fedora-Cloud"
RELEASE="26"
RELEASE_TITLE="26"
COMPSFILE="comps-f26.xml"
GIT_BRANCH="f26"
TMPDIR=`mktemp -d /tmp/$DIST.$DATE.XXXX`
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
@ -34,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
@ -56,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

@ -1,26 +1,26 @@
#!/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-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"
DEST=$(pwd)
DATE=$(date "+%Y%m%d")
DIST="26"
BRANCHED="26"
BRANCH="branched"
# the Pungi 'shortname', which we will include in fedmsgs for disambiguation
SHORT="Fedora-Docker"
RELEASE="26"
RELEASE_TITLE="26"
COMPSFILE="comps-f26.xml"
GIT_BRANCH="f26"
TMPDIR=`mktemp -d /tmp/$DIST.$DATE.XXXX`
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
@ -33,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
@ -55,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 {} \;

648
fedora-alpha.conf Normal file
View File

@ -0,0 +1,648 @@
# PRODUCT INFO
release_name = 'Fedora'
release_short = 'Fedora'
release_version = '26'
release_is_layered = False
# GENERAL SETTINGS
bootable = True
comps_file = 'comps-f26.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 = ['64DAB85D']
# limit tree architectures
# if undefined, all architectures from variants.xml will be included
tree_arches = ['aarch64', 'armhfp', 'i386', 'ppc64', 'ppc64le', '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 = 'f26-build'
# PKGSET
pkgset_source = 'koji' # koji, repos
# PKGSET - REPOS
# pkgset_repos format: {arch: [repo1_url, repo2_url, ...]}
# pkgset_repos = {}
# PKGSET - KOJI
pkgset_koji_tag = 'f26-compose'
pkgset_koji_inherit = True
filter_system_release_packages = False
# GATHER
gather_source = 'comps'
gather_method = 'deps'
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 = True
# 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-*',
'hunspell-*',
'hyphen-*',
'calligra-l10n-*',
'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'
],
}
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 = {
'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',
}
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/f26'
global_release = "1.7"
global_version = '26_Alpha'
# live_images ignores this in favor of live_target
global_target = 'f26'
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', 'x86_64'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Docker_Base'
'failable': ['*'],
},
},
{
'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', 'x86_64'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Container_Minimal_Base'
'failable': ['*'],
}
}
],
'^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', 'x86_64'],
'repo_from': 'Cloud',
'install_tree_from': 'Cloud',
'subvariant': 'Cloud_Base'
'failable': ['*'],
}
},
{
'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_from': 'Cloud',
'install_tree_from': 'Cloud',
'subvariant': 'Cloud_Base',
'failable': ['*'],
}
'factory-parameters': {
'ova-option': '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'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Python_Classroom'
'failable': ['*'],
}
'factory-parameters': {
'ova-option': 'vagrant_sync_directory=/home/vagrant/sync'
}
},
],
}
live_media = {
'^Workstation$': [
{
'name': 'Fedora-Workstation-Live',
'kickstart': 'fedora-live-workstation.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'subvariant': 'Workstation'
}
],
'^Spins': [
{
'name': 'Fedora-KDE-Live',
'kickstart': 'fedora-live-kde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'KDE'
},
{
'name': 'Fedora-Xfce-Live',
'kickstart': 'fedora-live-xfce.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Xfce'
},
{
'name': 'Fedora-SoaS-Live',
'kickstart': 'fedora-live-soas.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'SoaS'
},
{
'name': 'Fedora-Cinnamon-Live',
'kickstart': 'fedora-live-cinnamon.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Cinnamon'
},
{
'name': 'Fedora-LXDE-Live',
'kickstart': 'fedora-live-lxde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'LXDE'
},
{
'name': 'Fedora-MATE_Compiz-Live',
'kickstart': 'fedora-live-mate_compiz.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Mate'
},
{
'name': 'Fedora-LXQt-Live',
'kickstart': 'fedora-live-lxqt.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': '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_from': '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_from': '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_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Scientific_KDE'
},
{
'name': 'Fedora-Games-Live',
'kickstart': 'fedora-live-games.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Games'
},
{
'name': 'Fedora-Security-Live',
'kickstart': 'fedora-live-security.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Security'
},
{
'name': 'Fedora-Jam_KDE-Live',
'kickstart': 'fedora-live-jam_kde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Jam_KDE'
},
{
'name': 'Fedora-Robotics-Live',
'kickstart': 'fedora-live-robotics.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Robotics'
},
{
'name': 'Fedora-Python-Classroom-Live',
'kickstart': 'fedora-live-python-classroom.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Python_Classroom'
}
],
}
failable_deliverables = [
('^.*$', {
# Buildinstall can fail on any variant and any arch
'src': ['buildinstall'],
# Nothing on i386 blocks the compose
'i386': ['buildinstall', 'iso'],
})
]
live_target = 'f26'
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_from': 'Everything',
'type': 'appliance',
'subvariant': 'KDE',
'failable': True,
},
{
'kickstart': 'fedora-arm-lxde.ks',
'name': 'Fedora-LXDE-armhfp',
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'LXDE',
'failable': True,
},
{
'kickstart': 'fedora-arm-mate.ks',
'name': 'Fedora-Mate-armhfp',
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'Mate',
'failable': True,
},
{
'kickstart': 'fedora-arm-minimal.ks',
'name': 'Fedora-Minimal-armhfp',
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'Minimal',
'failable': True,
},
{
'kickstart': 'fedora-arm-soas.ks',
'name': 'Fedora-SoaS-armhfp',
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'SoaS',
'failable': True,
},
{
'kickstart': 'fedora-arm-xfce.ks',
'name': 'Fedora-Xfce-armhfp',
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'Xfce',
'failable': True,
},
{
'kickstart': 'fedora-arm-lxqt.ks',
'name': 'Fedora-LXQt-armhfp',
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'LXQt',
'failable': True,
},]
}),
('^Labs$', {
'armhfp': {
'kickstart': 'fedora-arm-python-classroom.ks',
'name': 'Fedora-Python-Classroom-armhfp',
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'Python_Classroom',
'failable': True,
}
}),
]
ostree = [
("^ostree$", {
"x86_64": {
"treefile": "fedora-ostree-workstation.json",
"config_url": "https://pagure.io/workstation-ostree-config.git",
"config_branch": "f26",
"source_repo_from": "Workstation",
"ostree_repo": "/mnt/koji/compose/ostree/26/",
'failable': ['*'],
}
})
]
ostree_installer = [
("^Workstation$", {
"x86_64": {
"source_repo_from": "Everything",
"release": None,
"installpkgs": ["fedora-productimg-workstation"],
"add_template": ["workstation-ostree-installer/lorax-configure-repo.tmpl"],
"add_template_var": [
"ostree_osname=fedora-workstation",
"ostree_ref=fedora/26/x86_64/workstation",
],
"add_arch_template": ["workstation-ostree-installer/lorax-embed-repo.tmpl"],
"add_arch_template_var": [
"ostree_repo=https://kojipkgs.fedoraproject.org/compose/ostree/26/",
"ostree_osname=fedora-workstation",
"ostree_ref=fedora/26/x86_64/workstation",
]
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'f26',
'failable': ['*'],
}
})
]
koji_profile = 'compose_koji'

View File

@ -23,7 +23,7 @@ comps_file = 'comps-f26.xml' #{
# 'file': 'comps-f23.xml',
#}
variants_file='variants-fedora.xml'
sigkeys = ['FDB19C98', 'E372E838'] # None = unsigned
sigkeys = ['64DAB85D'] # None = unsigned
# limit tree architectures
# if undefined, all architectures from variants.xml will be included
tree_arches = ['x86_64']
@ -185,6 +185,7 @@ 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',
@ -225,10 +226,6 @@ image_build = {
'distro': 'Fedora-20',
'disk_size': 6,
'arches': ['x86_64'],
'repo_from': 'Cloud',
'repo': [
'http://kojipkgs.fedoraproject.org/pub/fedora/linux/updates/26/$arch/',
],
'install_tree_from': 'Cloud',
'subvariant': 'Atomic'
}
@ -245,37 +242,32 @@ image_build = {
'distro': 'Fedora-20',
'disk_size': 40,
'arches': ['x86_64'],
'repo_from': 'Cloud',
'repo': [
'http://kojipkgs.fedoraproject.org/pub/fedora/linux/updates/26/$arch/',
],
'install_tree_from': 'Cloud',
'subvariant': 'Atomic'
}
},
'factory-parameters': {
'vagrant_sync_directory': '/home/vagrant/sync',
}
}
],
}
ostree_installer = [
("^Atomic$", {
"x86_64": {
"source_repo_from": [ "Cloud",
"https://kojipkgs.fedoraproject.org/pub/fedora/linux/releases/26/Everything/$arch/os/"],
"repo": [ "Cloud",
"https://kojipkgs.fedoraproject.org/pub/fedora/linux/releases/26/Everything/$arch/os/"],
"release": None,
"installpkgs": ["fedora-productimg-atomic"],
"add_template": ["atomic-installer/lorax-configure-repo.tmpl"],
"rootfs_size": "3",
"add_template": ["ostree-based-installer/lorax-configure-repo.tmpl",
"ostree-based-installer/lorax-embed-repo.tmpl"],
"add_template_var": [
"ostree_repo=https://kojipkgs.fedoraproject.org/atomic/26/",
"ostree_install_repo=https://kojipkgs.fedoraproject.org/atomic/26/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/26/",
"ostree_osname=fedora-atomic",
"ostree_install_ref=fedora/26/x86_64/updates/atomic-host",
"ostree_update_ref=fedora/26/x86_64/atomic-host",
],
"add_arch_template": ["atomic-installer/lorax-embed-repo.tmpl"],
"add_arch_template_var": [
"ostree_repo=https://kojipkgs.fedoraproject.org/atomic/26/",
"ostree_osname=fedora-atomic",
"ostree_install_ref=fedora/26/x86_64/updates/atomic-host",
"ostree_update_ref=fedora/26/x86_64/atomic-host",
]
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'f26',
}

749
fedora-beta.conf Normal file
View File

@ -0,0 +1,749 @@
# PRODUCT INFO
release_name = 'Fedora'
release_short = 'Fedora'
release_version = '26'
release_is_layered = False
# GENERAL SETTINGS
bootable = True
comps_file = 'comps-f26.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 = ['64DAB85D']
# limit tree architectures
# if undefined, all architectures from variants.xml will be included
tree_arches = ['aarch64', 'armhfp', 'i386', 'ppc64', 'ppc64le', '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 = 'f26-build'
# PKGSET
pkgset_source = 'koji' # koji, repos
# PKGSET - REPOS
# pkgset_repos format: {arch: [repo1_url, repo2_url, ...]}
# pkgset_repos = {}
# PKGSET - KOJI
pkgset_koji_tag = 'f26-compose'
pkgset_koji_inherit = True
filter_system_release_packages = False
# GATHER
gather_source = 'comps'
gather_method = 'deps'
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 = True
# 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-*',
'hunspell-*',
'hyphen-*',
'calligra-l10n-*',
'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'
],
}
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 = {
'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',
}
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/f26'
global_release = '1.4'
global_version = '26_Beta'
# live_images ignores this in favor of live_target
global_target = 'f26'
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_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Docker_Base',
'failable': ['*'],
},
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/usr/bin/bash" ]',
'docker_env': '[ "DISTTAG=f26container", "FGC=f26" ]',
'docker_labels': {
'Name': 'fedora',
'License': u'MIT',
'Vendor': 'Fedora Project',
'Version': '26',
},
},
},
{
'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_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Container_Minimal_Base',
'failable': ['*'],
},
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/usr/bin/bash" ]',
'docker_env': '[ "DISTTAG=f26container", "FGC=f26" ]',
'docker_labels': {
'Name': 'fedora-minimal',
'License': u'MIT',
'Vendor': 'Fedora Project',
'Version': '26',
},
},
}
],
'^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_from': 'Cloud',
'install_tree_from': 'Cloud',
'subvariant': 'Cloud_Base',
'failable': ['aarch64'],
}
},
{
'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_from': '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': ['x86_64'],
'repo_from': 'Cloud',
'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'],
'repo_from': 'Cloud',
'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'],
'repo_from': '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_from': '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_from': '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_from': '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_from': 'Everything',
'subvariant': 'Workstation'
}
],
'^Spins': [
{
'name': 'Fedora-KDE-Live',
'kickstart': 'fedora-live-kde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['i386'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'KDE'
},
{
'name': 'Fedora-Xfce-Live',
'kickstart': 'fedora-live-xfce.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Xfce'
},
{
'name': 'Fedora-SoaS-Live',
'kickstart': 'fedora-live-soas.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'SoaS'
},
{
'name': 'Fedora-Cinnamon-Live',
'kickstart': 'fedora-live-cinnamon.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Cinnamon'
},
{
'name': 'Fedora-LXDE-Live',
'kickstart': 'fedora-live-lxde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'LXDE'
},
{
'name': 'Fedora-MATE_Compiz-Live',
'kickstart': 'fedora-live-mate_compiz.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Mate'
},
{
'name': 'Fedora-LXQt-Live',
'kickstart': 'fedora-live-lxqt.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': '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_from': '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_from': '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_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Scientific_KDE'
},
{
'name': 'Fedora-Games-Live',
'kickstart': 'fedora-live-games.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Games'
},
{
'name': 'Fedora-Security-Live',
'kickstart': 'fedora-live-security.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Security'
},
{
'name': 'Fedora-Jam_KDE-Live',
'kickstart': 'fedora-live-jam_kde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Jam_KDE'
},
{
'name': 'Fedora-Robotics-Live',
'kickstart': 'fedora-live-robotics.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Robotics'
},
{
'name': 'Fedora-Python-Classroom-Live',
'kickstart': 'fedora-live-python-classroom.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Python_Classroom'
}
],
}
failable_deliverables = [
('^.*$', {
# buildinstall makes no sense as blocking
'src': ['buildinstall'],
# Nothing on aarch64, i386, ppc64 and ppc64le blocks the compose
'aarch64': ['buildinstall', 'iso'],
'i386': ['buildinstall', 'iso'],
'ppc64': ['buildinstall', 'iso'],
'ppc64le': ['buildinstall', 'iso'],
})
]
live_target = 'f26'
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_from': 'Everything',
'type': 'appliance',
'subvariant': 'KDE',
'failable': True,
},
{
'kickstart': 'fedora-arm-lxde.ks',
'name': 'Fedora-LXDE-armhfp',
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'LXDE',
'failable': True,
},
{
'kickstart': 'fedora-arm-mate.ks',
'name': 'Fedora-Mate-armhfp',
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'Mate',
'failable': True,
},
{
'kickstart': 'fedora-arm-minimal.ks',
'name': 'Fedora-Minimal-armhfp',
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'Minimal',
'failable': False,
},
{
'kickstart': 'fedora-arm-soas.ks',
'name': 'Fedora-SoaS-armhfp',
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'SoaS',
'failable': True,
},
{
'kickstart': 'fedora-arm-xfce.ks',
'name': 'Fedora-Xfce-armhfp',
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'Xfce',
'failable': False,
},
{
'kickstart': 'fedora-arm-lxqt.ks',
'name': 'Fedora-LXQt-armhfp',
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'LXQt',
'failable': True,
},]
}),
('^Labs$', {
'armhfp': {
'kickstart': 'fedora-arm-python-classroom.ks',
'name': 'Fedora-Python-Classroom-armhfp',
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'Python_Classroom',
'failable': True,
}
}),
]
ostree = [
("^ostree$", {
"x86_64": {
"treefile": "fedora-ostree-workstation.json",
"config_url": "https://pagure.io/workstation-ostree-config.git",
"config_branch": "f26",
"source_repo_from": "Workstation",
"ostree_repo": "/mnt/koji/compose/ostree/26/",
'failable': ['*'],
}
})
]
ostree_installer = [
("^Workstation$", {
"x86_64": {
"source_repo_from": "Everything",
"release": None,
"installpkgs": ["fedora-productimg-workstation"],
"add_template": ["workstation-ostree-installer/lorax-configure-repo.tmpl"],
"add_template_var": [
"ostree_osname=fedora-workstation",
"ostree_ref=fedora/26/x86_64/workstation",
],
"add_arch_template": ["workstation-ostree-installer/lorax-embed-repo.tmpl"],
"add_arch_template_var": [
"ostree_repo=https://kojipkgs.fedoraproject.org/compose/ostree/26/",
"ostree_osname=fedora-workstation",
"ostree_ref=fedora/26/x86_64/workstation",
],
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'f26',
'failable': ['*'],
}
})
]
koji_profile = 'compose_koji'

View File

@ -1,21 +1,10 @@
# PRODUCT INFO
release_name = 'Fedora-Atomic'
release_short = 'Fedora-Atomic'
release_name = 'Fedora-Cloud'
release_short = 'Fedora-Cloud'
release_version = '26'
release_is_layered = False
# GENERAL SETTINGS
bootable = True
buildinstall_method = 'lorax'
lorax_options = [
('^.*$', {
'x86_64': {
'nomacboot': True
}
'*': {
'noupgrade': True
}
})
]
bootable = False
comps_file = 'comps-f26.xml' #{
# 'scm': 'git',
# 'repo': 'git://git.fedorahosted.org/git/comps.git',
@ -23,13 +12,13 @@ comps_file = 'comps-f26.xml' #{
# 'file': 'comps-f23.xml',
#}
variants_file='variants-fedora.xml'
sigkeys = ['FDB19C98', 'E372E838'] # None = unsigned
sigkeys = ['64DAB85D'] # None = unsigned
# limit tree architectures
# if undefined, all architectures from variants.xml will be included
tree_arches = ['x86_64']
# limit tree variants
# if undefined, all variants from variants.xml will be included
tree_variants = ['Atomic', 'Cloud', 'CloudImages']
tree_variants = ['CloudImages']
hashed_directories = True
# RUNROOT settings
runroot = True
@ -38,7 +27,7 @@ runroot_channel = 'compose'
runroot_tag = 'f26-build'
# PKGSET
pkgset_source = 'koji' # koji, repos
pkgset_koji_tag = 'f26-atomic'
pkgset_koji_tag = 'f26-updates'
pkgset_koji_inherit = True
filter_system_release_packages = False
# GATHER
@ -216,69 +205,45 @@ image_build = {
{
'image-build': {
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')]
'name': 'Fedora-Atomic',
'name': 'Fedora-Cloud-Base',
'target': 'f26',
'version': '26',
'release': None,
'ksurl': 'git+https://pagure.io/fedora-kickstarts.git?#origin/f26',
'kickstart': 'fedora-atomic.ks',
'kickstart': 'fedora-cloud-base.ks',
'distro': 'Fedora-20',
'disk_size': 6,
'arches': ['x86_64'],
'repo_from': 'Cloud',
'disk_size': 4,
'arches': ['aarch64', 'ppc64', 'ppc64le', 'x86_64'],
'repo': [
'http://kojipkgs.fedoraproject.org/pub/fedora/linux/updates/26/$arch/',
'http://kojipkgs.fedoraproject.org/pub/alt/releases/26/Cloud/$arch/os/',
],
'install_tree_from': 'Cloud',
'subvariant': 'Atomic'
'install_tree_from': 'http://kojipkgs.fedoraproject.org/pub/alt/releases/26/Cloud/$arch/os/',
'subvariant': 'Cloud_Base',
'failable': ['aarch64', 'ppc64', 'ppc64le'],
}
},
{
'image-build': {
'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')]
'name': 'Fedora-Atomic-Vagrant',
'name': 'Fedora-Cloud-Base-Vagrant',
'target': 'f26',
'version': '26',
'release': None,
'ksurl': 'git+https://pagure.io/fedora-kickstarts.git?#origin/f26',
'kickstart': 'fedora-atomic-vagrant.ks',
'kickstart': 'fedora-cloud-base-vagrant.ks',
'distro': 'Fedora-20',
'disk_size': 40,
'arches': ['x86_64'],
'repo_from': 'Cloud',
'repo': [
'http://kojipkgs.fedoraproject.org/pub/fedora/linux/updates/26/$arch/',
'http://kojipkgs.fedoraproject.org/pub/alt/releases/26/Cloud/$arch/os/'
],
'install_tree_from': 'Cloud',
'subvariant': 'Atomic'
'install_tree_from': 'http://kojipkgs.fedoraproject.org/pub/alt/releases/26/Cloud/$arch/os/',
'subvariant': 'Cloud_Base',
'failable': ['*'],
}
}
],
}
ostree_installer = [
("^Atomic$", {
"x86_64": {
"source_repo_from": [ "Cloud",
"https://kojipkgs.fedoraproject.org/pub/fedora/linux/releases/26/Everything/$arch/os/"],
"release": None,
"installpkgs": ["fedora-productimg-atomic"],
"add_template": ["atomic-installer/lorax-configure-repo.tmpl"],
"add_template_var": [
"ostree_repo=https://kojipkgs.fedoraproject.org/atomic/26/",
"ostree_osname=fedora-atomic",
"ostree_install_ref=fedora/26/x86_64/updates/atomic-host",
"ostree_update_ref=fedora/26/x86_64/atomic-host",
],
"add_arch_template": ["atomic-installer/lorax-embed-repo.tmpl"],
"add_arch_template_var": [
"ostree_repo=https://kojipkgs.fedoraproject.org/atomic/26/",
"ostree_osname=fedora-atomic",
"ostree_install_ref=fedora/26/x86_64/updates/atomic-host",
"ostree_update_ref=fedora/26/x86_64/atomic-host",
]
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'f26',
}
})
]
koji_profile = 'compose_koji'

View File

@ -15,7 +15,7 @@ variants_file='variants-fedora.xml'
sigkeys = ['FDB19C98', 'E372E838'] # None = unsigned
# 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']
@ -27,7 +27,7 @@ runroot_channel = 'compose'
runroot_tag = 'f26-build'
# PKGSET
pkgset_source = 'koji' # koji, repos
pkgset_koji_tag = 'f25-updates'
pkgset_koji_tag = 'f26-updates'
pkgset_koji_inherit = True
filter_system_release_packages = False
# GATHER
@ -174,6 +174,7 @@ 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',
@ -200,28 +201,63 @@ 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/f26'
global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN'
global_version = '26'
global_target = 'f26'
image_build = {
'^Docker$': [
{
'image-build': {
'format': [('docker', 'tar.xz')]
'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-26',
'disk_size': 5,
'arches': ['aarch64', 'armhfp', 'ppc64le', 'x86_64'],
'install_tree_from': 'http://kojipkgs.fedoraproject.org/compose/26/Fedora-26-20170705.0/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/f26-updates/compose/Everything/$arch/os/',
'https://kojipkgs.fedoraproject.org/compose/26/Fedora-26-20170705.0/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=f26container", "FGC=f26" ]',
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "26"}',
},
},
{
'image-build': {
'format': [('docker', 'tar.xz')],
'name': 'Fedora-Container-Minimal-Base',
'kickstart': 'fedora-docker-base-minimal.ks',
'distro': 'Fedora-26',
'disk_size': 5,
'arches': ['aarch64', 'armhfp', 'ppc64le', 'x86_64'],
'install_tree_from': 'http://kojipkgs.fedoraproject.org/compose/26/Fedora-26-20170705.0/compose/Everything/$arch/os/',
'repo': [
'https://kojipkgs.fedoraproject.org/compose/updates/f26-updates/compose/Everything/$arch/os/',
'https://kojipkgs.fedoraproject.org/compose/26/Fedora-26-20170705.0/compose/Everything/$arch/os/',
],
'subvariant': 'Container_Minimal_Base',
},
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f26container", "FGC=f26" ]',
'docker_labels': {
'Name': 'fedora-minimal',
'License': u'MIT',
'Vendor': 'Fedora Project',
'Version': '26',
},
},
}
],
}

748
fedora-final.conf Normal file
View File

@ -0,0 +1,748 @@
# PRODUCT INFO
release_name = 'Fedora'
release_short = 'Fedora'
release_version = '26'
release_is_layered = False
# GENERAL SETTINGS
bootable = True
comps_file = 'comps-f26.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 = ['64DAB85D']
# limit tree architectures
# if undefined, all architectures from variants.xml will be included
tree_arches = ['aarch64', 'armhfp', 'i386', 'ppc64', 'ppc64le', '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 = 'f26-build'
# PKGSET
pkgset_source = 'koji' # koji, repos
# PKGSET - REPOS
# pkgset_repos format: {arch: [repo1_url, repo2_url, ...]}
# pkgset_repos = {}
# PKGSET - KOJI
pkgset_koji_tag = 'f26-compose'
pkgset_koji_inherit = True
filter_system_release_packages = False
# GATHER
gather_source = 'comps'
gather_method = 'deps'
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-1.5-%(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-*',
'hunspell-*',
'hyphen-*',
'calligra-l10n-*',
'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.5.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 = {
'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',
}
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/f26'
global_release = "1.5"
global_version = '26'
# live_images ignores this in favor of live_target
global_target = 'f26'
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': '[ "/usr/bin/bash" ]',
'docker_env': '[ "DISTTAG=f26container", "FGC=f26" ]',
'docker_labels': {
'Name': 'fedora',
'License': u'MIT',
'Vendor': 'Fedora Project',
'Version': '26',
},
},
},
{
'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': '[ "/usr/bin/bash" ]',
'docker_env': '[ "DISTTAG=f26container", "FGC=f26" ]',
'docker_labels': {
'Name': 'fedora-minimal',
'License': u'MIT',
'Vendor': 'Fedora Project',
'Version': '26',
},
},
}
],
'^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': ['x86_64'],
'repo': 'Cloud',
'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'],
'repo': 'Cloud',
'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'],
'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 = [
('^.*$', {
# buildinstall makes no sense as blocking
'src': ['buildinstall'],
# Nothing on aarch64, i386, ppc64 and ppc64le blocks the compose
'aarch64': ['buildinstall', 'iso'],
'i386': ['buildinstall', 'iso'],
'ppc64': ['buildinstall', 'iso'],
'ppc64le': ['buildinstall', 'iso'],
})
]
live_target = 'f26'
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": {
"treefile": "fedora-ostree-workstation.json",
"config_url": "https://pagure.io/workstation-ostree-config.git",
"config_branch": "f26",
"repo": "Workstation",
"ostree_repo": "/mnt/koji/compose/ostree/26/",
'failable': ['*'],
}
})
]
ostree_installer = [
("^Workstation$", {
"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/26/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/compose/ostree/26/",
"ostree_osname=fedora-workstation",
"ostree_install_ref=fedora/26/x86_64/workstation",
"ostree_update_ref=fedora/26/x86_64/workstation",
],
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'f26',
'failable': ['*'],
}
})
]
koji_profile = 'compose_koji'

198
fedora-modular-final.conf Normal file
View File

@ -0,0 +1,198 @@
# PRODUCT INFO
release_name = 'Fedora-Modular'
release_short = 'Fedora-Modular'
release_version = '26'
release_is_layered = False
# GENERAL SETTINGS
bootable = True
variants_file='variants-modular.xml'
sigkeys = ['a3cc4e62']
hashed_directories = True
# RUNROOT settings
runroot = True
runroot_channel = 'compose'
runroot_tag = 'f26-modularity'
# 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'
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 = True
# CHECKSUMS
media_checksums = ['sha256']
media_checksum_one_file = True
media_checksum_base_filename = '%(release_short)s-%(variant)s-%(version)s-1.10-%(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", "live_images", "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 = [
]
createiso_skip = [
('^base-runtime$', {
'*': True,
'src': True
}),
('^Server$', {
'*': True,
'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-1.10.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 = {
'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',
}
disc_types = {
'boot': 'netinst',
'live': 'Live',
}
# https://pagure.io/fedora-kickstarts/pull-request/257
global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#origin/f26'
global_release = "1.10"
global_version = '26'
global_target = 'module-bootstrap-f26'
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',
'distro': 'Fedora-26',
'disk_size': 4,
'arches': ['x86_64'],
'install_tree_from': 'Server',
'subvariant': 'Docker_Base',
},
'factory-parameters': {
'dockerversion': '1.10.1',
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f26container_modular", "FGC=f26-modular" ]',
'docker_label': '{"name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "26-modular"}',
},
},
{
'image-build': {
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')],
'name': 'Fedora-Modular-Server',
'kickstart': 'fedora-modular-disk-minimal.ks',
'distro': 'Fedora-26',
'disk_size': 8,
'arches': ['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'],
})
]
koji_profile = 'compose_koji'

180
fedora-modular.conf Normal file
View File

@ -0,0 +1,180 @@
# PRODUCT INFO
release_name = 'Fedora-Modular'
release_short = 'Fedora-Modular'
release_version = '26'
release_is_layered = False
# GENERAL SETTINGS
bootable = True
variants_file='variants-modular.xml'
sigkeys = ['a3cc4e62']
hashed_directories = True
# RUNROOT settings
runroot = True
runroot_channel = 'compose'
runroot_tag = 'f26-modularity'
# 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 = 'f26'
pkgset_koji_inherit = False
filter_system_release_packages = False
# GATHER
gather_source = 'module'
gather_method = 'deps'
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 = True
# CHECKSUMS
media_checksums = ['sha256']
media_checksum_one_file = True
media_checksum_base_filename = '%(release_short)s-%(variant)s-%(version)s-%(arch)s-%(date)s%(type_suffix)s.%(respin)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", "live_images", "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$', {
'*': True,
'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-%(date)s%(type_suffix)s.%(respin)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',
}
disc_types = {
'boot': 'netinst',
'live': 'Live',
}
# https://pagure.io/fedora-kickstarts/pull-request/257
global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#origin/f26'
global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN'
global_version = '26_Modular'
global_target = 'f26-modularity'
image_build = {
'^Docker$': [
{
'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',
'distro': 'Fedora-26',
'disk_size': 4,
'arches': ['x86_64'],
'install_tree_from': 'Server',
'subvariant': 'Docker_Base',
},
'factory-parameters': {
'dockerversion': '1.10.1',
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=f26container_modular", "FGC=f26-modular" ]',
'docker_label': '{"name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "26-modular"}',
},
},
],
}
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'],
})
]
koji_profile = 'compose_koji'

View File

@ -1,12 +1,12 @@
# PRODUCT INFO
release_name = 'Fedora'
release_short = 'Fedora'
release_version = 'Rawhide'
release_version = '26'
release_is_layered = False
# GENERAL SETTINGS
bootable = True
comps_file = 'comps-rawhide.xml' #{
comps_file = 'comps-f26.xml' #{
# 'scm': 'git',
# 'repo': 'https://pagure.io/fedora-comps.git',
# 'branch': None, # defaults to cvs/HEAD or git/master
@ -79,7 +79,7 @@ lorax_options = [
('^.*$', {
'x86_64': {
'nomacboot': False
}
},
'*': {
'noupgrade': True
}
@ -181,7 +181,7 @@ multilib_whitelist = {
'yaboot', 'syslinux-extlinux-nonlinux', 'syslinux-nonlinux',
'syslinux-tftpboot', 'nosync', '*-static', 'apitrace-libs',
'fakeroot-libs', 'postgresql-odbc', 'mysql-connector-odbc',
'fakechroot-libs','mesa-vdpau-drivers'
'fakechroot-libs','mesa-vdpau-drivers', 'p11-kit-trust'
],
}
@ -264,9 +264,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/f26'
global_release = None
global_version = 'Rawhide'
global_version = '26'
# live_images ignores this in favor of live_target
global_target = 'f26'
@ -274,49 +274,65 @@ image_build = {
'^Docker$': [
{
'image-build': {
'format': [('docker', 'tar.xz')]
'format': [('docker', 'tar.xz')],
'name': 'Fedora-Docker-Base',
'kickstart': 'fedora-docker-base.ks',
'distro': 'Fedora-22',
'disk_size': 3,
'arches': ['x86_64', 'armhfp'],
'repo_from': 'Cloud',
'install_tree_from': 'Cloud',
'subvariant': 'Docker_Base'
'disk_size': 5,
'arches': ['armhfp', 'aarch64', 'ppc64le', 'x86_64'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Docker_Base',
'failable': ['*'],
},
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/usr/bin/bash" ]',
'docker_env': '[ "DISTTAG=f26container", "FGC=f26" ]',
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "26"}',
},
},
},
{
'image-build': {
'format': [('docker', 'tar.xz')]
'format': [('docker', 'tar.xz')],
'name': 'Fedora-Container-Minimal-Base',
'kickstart': 'fedora-docker-base-minimal.ks',
'distro': 'Fedora-22',
'disk_size': 3,
'arches': ['x86_64', 'armhfp'],
'repo_from': 'Cloud',
'install_tree_from': 'Cloud',
'subvariant': 'Container_Minimal_Base'
'disk_size': 5,
'arches': ['armhfp', 'aarch64', 'ppc64le', 'x86_64'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Container_Minimal_Base',
'failable': ['*'],
}
},
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/usr/bin/bash" ]',
'docker_env': '[ "DISTTAG=f26container", "FGC=f26" ]',
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "26"}',
},
},
}
],
'^CloudImages$': [
{
'image-build': {
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')]
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')],
'name': 'Fedora-Cloud-Base',
'kickstart': 'fedora-cloud-base.ks',
'distro': 'Fedora-22',
'disk_size': 4,
'arches': ['x86_64'],
'arches': ['aarch64', 'ppc64', 'ppc64le', 'x86_64'],
'repo_from': 'Cloud',
'install_tree_from': 'Cloud',
'subvariant': 'Cloud_Base'
'failable': ['*'],
'subvariant': 'Cloud_Base',
'failable': ['aarch64', 'ppc64', 'ppc64le'],
}
},
{
'image-build': {
'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')]
'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',
@ -326,43 +342,105 @@ image_build = {
'install_tree_from': 'Cloud',
'subvariant': 'Cloud_Base',
'failable': ['*'],
}
'factory-parameters': {
'ova-option': 'vagrant_sync_directory=/home/vagrant/sync'
}
},
},
{
'image-build': {
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')]
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')],
'name': 'Fedora-Atomic',
'kickstart': 'fedora-atomic.ks',
'distro': 'Fedora-22',
'disk_size': 6,
'arches': ['x86_64'],
'repo_from': 'Cloud',
'install_tree_from': 'Cloud',
'subvariant': 'Atomic'
'subvariant': 'Atomic',
'failable': ['*'],
}
},
{
'image-build': {
'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')]
'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'],
'repo_from': 'Cloud',
'install_tree_from': 'Cloud',
'subvariant': 'Atomic'
'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'],
'repo_from': '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_from': '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_from': '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_from': 'Server',
'install_tree_from': 'Server',
'subvariant': 'Server',
'failable': ['*'],
}
},
],
}
live_media = {
@ -371,7 +449,7 @@ live_media = {
'name': 'Fedora-Workstation-Live',
'kickstart': 'fedora-live-workstation.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'failable': ['i386'],
'repo_from': 'Everything',
'subvariant': 'Workstation'
@ -382,7 +460,7 @@ live_media = {
'name': 'Fedora-KDE-Live',
'kickstart': 'fedora-live-kde.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'failable': ['i386'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'KDE'
@ -506,16 +584,28 @@ live_media = {
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Robotics'
},
{
'name': 'Fedora-Python-Classroom-Live',
'kickstart': 'fedora-live-python-classroom.ks',
'arches': ['x86_64', 'i386'],
'failable': ['*'],
'repo_from': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Python_Classroom'
}
],
}
failable_deliverables = [
('^.*$', {
# Buildinstall can fail on any variant and any arch
# buildinstall makes no sense as blocking
'src': ['buildinstall'],
# Nothing on i386 blocks the compose
# Nothing on aarch64, i386, ppc64 and ppc64le blocks the compose
'aarch64': ['buildinstall', 'iso'],
'i386': ['buildinstall', 'iso'],
'ppc64': ['buildinstall', 'iso'],
'ppc64le': ['buildinstall', 'iso'],
})
]
@ -570,7 +660,7 @@ live_images = [
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'Minimal',
'failable': True,
'failable': False,
},
{
'kickstart': 'fedora-arm-soas.ks',
@ -586,7 +676,7 @@ live_images = [
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'Xfce',
'failable': True,
'failable': False,
},
{
'kickstart': 'fedora-arm-lxqt.ks',
@ -597,6 +687,16 @@ live_images = [
'failable': True,
},]
}),
('^Labs$', {
'armhfp': {
'kickstart': 'fedora-arm-python-classroom.ks',
'name': 'Fedora-Python-Classroom-armhfp',
'repo_from': 'Everything',
'type': 'appliance',
'subvariant': 'Python_Classroom',
'failable': True,
}
}),
]
ostree = [
@ -604,15 +704,17 @@ ostree = [
"aarch64": {
"treefile": "fedora-atomic-docker-host.json",
"config_url": "https://pagure.io/fedora-atomic.git",
"config_branch": "f26",
"source_repo_from": "Everything",
"ostree_repo": "/mnt/koji/compose/atomic/rawhide/",
"ostree_repo": "/mnt/koji/compose/atomic/26/",
'failable': ['*'],
},
"x86_64": {
"treefile": "fedora-atomic-docker-host.json",
"config_url": "https://pagure.io/fedora-atomic.git",
"config_branch": "f26",
"source_repo_from": "Everything",
"ostree_repo": "/mnt/koji/compose/atomic/rawhide/",
"ostree_repo": "/mnt/koji/compose/atomic/26/",
'failable': ['*'],
}
}),
@ -620,8 +722,9 @@ ostree = [
"x86_64": {
"treefile": "fedora-ostree-workstation.json",
"config_url": "https://pagure.io/workstation-ostree-config.git",
"config_branch": "f26",
"source_repo_from": "Workstation",
"ostree_repo": "/mnt/koji/compose/ostree/rawhide/",
"ostree_repo": "/mnt/koji/compose/ostree/26/",
'failable': ['*'],
}
})
@ -632,20 +735,19 @@ ostree_installer = [
"x86_64": {
"source_repo_from": "Everything",
"release": None,
"rootfs_size": "3",
"installpkgs": ["fedora-productimg-atomic"],
"add_template": ["atomic-installer/lorax-configure-repo.tmpl"],
"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/26/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/26/",
"ostree_osname=fedora-atomic",
"ostree_ref=fedora/rawhide/x86_64/atomic-host",
"ostree_install_ref=fedora/26/x86_64/atomic-host",
"ostree_update_ref=fedora/26/x86_64/atomic-host",
],
"add_arch_template": ["atomic-installer/lorax-embed-repo.tmpl"],
"add_arch_template_var": [
"ostree_repo=https://kojipkgs.fedoraproject.org/compose/atomic/rawhide/",
"ostree_osname=fedora-atomic",
"ostree_ref=fedora/rawhide/x86_64/atomic-host",
]
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'master',
'template_branch': 'f26',
'failable': ['*'],
}
}),
@ -654,19 +756,18 @@ ostree_installer = [
"source_repo_from": "Everything",
"release": None,
"installpkgs": ["fedora-productimg-workstation"],
"add_template": ["workstation-ostree-installer/lorax-configure-repo.tmpl"],
"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/26/",
"ostree_update_repo=https://kojipkgs.fedoraproject.org/compose/ostree/26/",
"ostree_osname=fedora-workstation",
"ostree_ref=fedora/rawhide/x86_64/workstation",
"ostree_install_ref=fedora/26/x86_64/workstation",
"ostree_update_ref=fedora/26/x86_64/workstation",
],
"add_arch_template": ["workstation-ostree-installer/lorax-embed-repo.tmpl"],
"add_arch_template_var": [
"ostree_repo=https://kojipkgs.fedoraproject.org/compose/ostree/rawhide/",
"ostree_osname=fedora-workstation",
"ostree_ref=fedora/rawhide/x86_64/workstation",
]
'template_repo': 'https://pagure.io/fedora-lorax-templates.git',
'template_branch': 'master',
'template_branch': 'f26',
'failable': ['*'],
}
})

68
nightly-modular.sh Executable file
View File

@ -0,0 +1,68 @@
#!/bin/sh
export LC_ALL=C
CONFIG="fedora-modular.conf"
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")
SHORT="Fedora-Modular"
RELEASE="26"
RELEASE_TITLE="26"
COMPSFILE="comps-f26.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"
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
if [ -d releng ]; then
pushd releng
git pull --rebase
popd
else
git clone https://pagure.io/releng.git
fi
# Set up our fedmsg function, using the releng repo definition
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..
fedmsg_json_start=$(printf '{"log": "start", "branch": "%s", "arch": "%s", "short": "%s"}' "$RELEASE" "$ARCH" "$SHORT")
send_fedmsg "${fedmsg_json_start}" ${RELEASE} start
CMD="pungi-koji --config=$CONFIG --old-composes=$TARGET_DIR $OLD_COMPOSES_DIR $NIGHTLY $SKIP_PHASES"
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 "$@"
if [ "$?" != "0" ]; then
exit 1
fi
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-$SHORT-$RELEASE_TITLE/COMPOSE_ID)
SHORTCOMPOSE_ID=$(echo $NEWCOMPOSE_ID|sed -e 's|Fedora-Modular.*-||g')
# Public URL the compose will wind up at, we put it in fedmsgs
LOCATION=$(echo "$TARGET_DIR/$NEWCOMPOSE_ID"|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")
# Tell everyone by fedmsg about the compose
send_fedmsg "${fedmsg_json_done}" ${RELEASE} complete
# Remove old composes older than 14 days
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="26"
BRANCHED="26"
BRANCH="branched"
COMPSFILE="comps-f26.xml"
GIT_BRANCH="f26"
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-26/COMPOSE_ID)
# uncomment and edit for resuming a failed compose
#COMPOSE_ID="Fedora-23-20150530.n.0"
@ -68,7 +68,7 @@ if [ "$?" != "0" ]; then
exit 1
fi
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-Rawhide/COMPOSE_ID)
NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-26/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")
@ -121,8 +121,8 @@ $RSYNCPREFIX compose-partial-copy --arch=aarch64 --arch=i386 --arch=ppc64 --arch
"$TARGET_DIR/$NEWCOMPOSE_ID" /pub/fedora-secondary/development/$DIST/ \
--exclude=s390x \
--link-dest=/pub/fedora/linux/development/$DIST/Everything/ --delete-after
$RSYNCPREFIX rm /pub/alt/development/$DIST/.composeinfo
$RSYNCPREFIX ./releng/scripts/build_composeinfo /pub/alt/development/$DIST/ --name "$NEWCOMPOSE_ID"
$RSYNCPREFIX rm /pub/fedora-secondary/development/$DIST/.composeinfo
$RSYNCPREFIX ./releng/scripts/build_composeinfo /pub/fedora-secondary/development/$DIST/ --name "$NEWCOMPOSE_ID"
$RSYNCPREFIX rsync -avhH --delete-after $ATOMICREPO $ATOMICDEST
@ -146,9 +146,9 @@ do
elif [ "$koji" = "ppc" ]; then
arches=ppc64,ppc64le
elif [ "$koji" = "s390" ]; then
arches=s390,s390x
arches=s390x
fi
./releng/scripts/srpm-excluded-arch.py -a $arches --path $DESTDIR/compose/Everything/source/tree/Packages/\*/ >$DESTDIR/logs/excludearch-$koji.log
./releng/scripts/srpm-excluded-arch.py -a $arches --path $DESTDIR/compose/Everything/source/tree/Packages/ >$DESTDIR/logs/excludearch-$koji.log
done
find $TARGET_DIR -xdev -depth -maxdepth 2 -mtime +14 -exec rm -rf {} \;

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

@ -0,0 +1,23 @@
#!/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-final.conf"
TARGET_DIR="/mnt/koji/compose/26/"
#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")
TMPDIR=`mktemp -d /tmp/fedoraRC.$DATE.XXXX`
# uncomment and edit for resuming a failed compose
#COMPOSE_ID="Fedora-23-20150530.n.0"
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

@ -1,6 +1,9 @@
#!/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-final.conf"
TARGET_DIR="/mnt/koji/compose/26"
#OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR"

View File

@ -1,6 +1,9 @@
#!/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-atomic.conf"
TARGET_DIR="/mnt/koji/compose/twoweek"
#OLD_COMPOSES_DIR="--old-composes=/mnt/fedora_koji/compose/f23 --old-composes=$TARGET_DIR"
@ -8,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"
# the Pungi 'shortname', which we will include in fedmsgs for disambiguation
SHORT="Fedora-Atomic"
RELEASE="26"
RELEASE_TITLE="26"
COMPSFILE="comps-f26.xml"
GIT_BRANCH="f26"
TMPDIR=`mktemp -d /tmp/$DIST.$DATE.XXXX`
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
@ -33,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
@ -55,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

@ -38,6 +38,7 @@
</variant>
<variant id="Labs" name="Labs" type="variant" is_empty="true">
<arches>
<arch>armhfp</arch>
<arch>i386</arch>
<arch>x86_64</arch>
</arches>
@ -92,6 +93,7 @@
</variant>
<variant id="Spins" name="Spins" type="variant" is_empty="true">
<arches>
<arch>aarch64</arch>
<arch>armhfp</arch>
<arch>i386</arch>
<arch>x86_64</arch>
@ -161,6 +163,8 @@
<!-- Things needed for installation -->
<group default="true">anaconda-tools</group>
<group default="true">platform-vmware</group>
<!-- Things needed for Atomic Host -->
<group default="true">ostree-support</group>
</groups>
<environments>
<environment display_order="10">cloud-server-environment</environment>

41
variants-modular.xml Normal file
View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE variants PUBLIC "-//Red Hat, Inc.//DTD Variants info//EN" "variants2012.dtd">
<variants>
<variant id="Server" name="Server" type="variant">
<arches>
<arch>aarch64</arch>
<arch>armhfp</arch>
<arch>i386</arch>
<arch>ppc64</arch>
<arch>ppc64le</arch>
<arch>x86_64</arch>
</arches>
<modules>
<module>base-runtime-f26</module>
<module>varnish-f26</module>
<module>haproxy-f26</module>
<module>httpd-f26</module>
<module>perl-f26</module>
<module>nginx-f26</module>
<module>container-runtime-f26</module>
<module>perl-Unicode-EastAsianWidth-f26</module>
<module>shim-master</module>
<module>dnf-f26</module>
<module>memcached-f26</module>
<module>dhcp-server-f26</module>
<module>shared-userspace-f26</module>
<module>mongodb-f26</module>
<module>mariadb-f26</module>
<module>nodejs-f26</module>
<module>source-to-image-f26</module>
<module>postgresql-f26</module>
<module>dhcp-f26</module>
<module>postfix-f26</module>
<module>sssd-f26</module>
<module>installer-f26</module>
<module>php-f26</module>
<module>systemtools-f26</module>
<module>nodejs-8</module>
</modules>
</variant>
</variants>