Commit Graph

54 Commits

Author SHA1 Message Date
Adam Miller
ae2f611637 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 as well as add a transitional second call
to handle both the docker and container namespace for block_retired.

Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2017-04-26 17:16:16 -05:00
Bill Peck
c5bb3f0ed1 Fix bad copy/paste path.
This fixes the missing .composeinfo for secondary arches.

Signed-off-by: Bill Peck <bpeck@redhat.com>
2017-04-03 13:57:29 -04:00
Adam Miller
a5a8e39c73 Call block_retired.py with --namespace=docker
Need to have an extra call to the block_retired.py releng script in
order to also handle the docker namespace of "packages" from pkgdb

Signed-off-by: Adam Miller <maxamillion@fedoraproject.org>
2017-03-24 16:45:28 -05:00
Dan Horák
13af4ad3e6 nightly.sh: update arches for s390 koji
Signed-off-by: Dan Horák <dan@danny.cz>
2017-03-09 18:33:30 +01:00
Dan Horák
1aadaa9dca nightly.sh: update for updated srpm-excluded-arch.py
Signed-off-by: Dan Horák <dan@danny.cz>
2017-03-09 18:33:24 +01:00
Mohan Boddu
5e68322d22 Create dir if the dir not exists for syncing
Fix for one of the issues in #6676

Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2017-03-04 12:44:37 -05:00
Lubomír Sedlář
b4670db118 Copy source data from compose
This will copy source packages as well when splitting the compose. All
stuff going to /pub/fedora will have sources.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-12-14 17:38:15 +01:00
Dennis Gilmore
9da45615e8 sync ppc64 and ppc64le to fedora-secondary
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-10-29 17:06:12 -05:00
Dennis Gilmore
1caf794933 add excludes for the arches not in primary koji yet
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-09-14 08:15:15 -05:00
Dennis Gilmore
9161baf281 sync the content to different locations
aarch64 and i386 to fedora-secondary
armhfp and x86_64 to alt for Cloud and Labs
everything else to /pub/fedora

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-09-13 22:09:23 -05:00
Dennis Gilmore
9782d9d36b fix up the path to srpms for finding arch exluded packages
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-09-13 21:58:46 -05:00
Lubomír Sedlář
c957262b5a If compose fails, stop running everything else
If a compose fails, we don't want to run any dependency checks nor send
any e-mails.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-08-22 11:06:18 +02:00
Lubomír Sedlář
91e76bb480 Use compose-utils to copy variants into public location
This requires compose-utils >= 0.1.7.

Currently only primary architectures are composed based on this config.
Once other arches are added, they can be filtered with `--arch` option.

To debug what will happen when the command is run, add `--dry-run`. It
will print the exact rsync commands that would be used. Appending `--
--dry-run` at the end of the command will pass the option to rsync and
give different debugging information.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-08-18 10:33:09 +02:00
Dennis Gilmore
6ef9598cd4 fix up finding the compose ID's
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-06-26 19:57:04 -05:00
Dennis Gilmore
acdcba9c91 we can not use -delete as we have to limit the depth so we do not remove files from the current composes
the rm -rf is needed to clean up the directories -delete gives us
find: cannot delete '/mnt/koji/compose/rawhide/Fedora-Rawhide-20160512.n.0/compose': Directory not empty
find: cannot delete '/mnt/koji/compose/rawhide/Fedora-Rawhide-20160512.n.0/logs': Directory not empty

Revert "Use -delete instead of -exec rm it's quicker because it doesn't fork for every file"

This reverts commit 1b80cae931.

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-27 14:20:40 -05:00
Peter Robinson
1b80cae931 Use -delete instead of -exec rm it's quicker because it doesn't fork for every file
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2016-05-20 11:42:17 +01:00
Peter Robinson
b3a56aee17 Drop MOCK variable
No longer used now atomic is composed in pungi

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2016-05-18 15:18:59 +01:00
Dennis Gilmore
5f9f66a2ca go about deleting the files differently
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-16 20:35:20 -05:00
Dennis Gilmore
b81d96f5d4 clean up rawhide compose older than 2 weeks old
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-16 19:46:41 -05:00
Dennis Gilmore
1edd5f8bbe prune the aomic repo before syncing
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-16 19:37:41 -05:00
Dennis Gilmore
91aca2552c fix up announcing compose start
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-16 16:00:44 -05:00
Dennis Gilmore
7cdfd1d583 change ATOMICDEST to non mirrored location
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-16 14:39:41 -05:00
Dennis Gilmore
10f81a2317 fix up comps generation
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-14 08:37:21 -05:00
Kevin Fenzi
e249ad33f1 Handle move of comps and spin-kickstarts to pagure
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2016-05-13 16:32:43 -06:00
Kevin Fenzi
1a2692bdaf Set DESTDIR as it's used to check deps and some other items.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2016-04-27 09:53:24 -06:00
Ralph Bean
fa6f62ac25 Send compose_id along with the rsync fedmsg.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2016-04-25 12:24:57 -04:00
Dennis Gilmore
57fef86770 set the name in .composeinfo to be the compose id
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-08 08:34:04 -05:00
Dennis Gilmore
764ba668a9 remove the bolt on atomic hack
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-03-31 17:59:09 -05:00
Dennis Gilmore
5abfff571b we need to remove the old composeinfo files in order to make a new one
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-03-18 15:00:37 -05:00
Dennis Gilmore
c688bf345e make old style .composeinfo files on the master mirror for beaker import
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-03-18 14:52:10 -05:00
Dennis Gilmore
211be10ea4 change the url for the fedora-atomic.git to pagure
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-03-18 14:34:57 -05:00
Dennis Gilmore
14e980489f checkout spin-kickstarts
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-03-14 17:55:57 -05:00
Peter Robinson
84645b1bd4 fix minor typo in comment
Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
2016-03-14 12:35:14 +00:00
Dennis Gilmore
95b4299b66 sync teh atomic repo
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-03-11 18:49:25 -06:00
Ralph Bean
d136a4cc87 Just re-use the fedmsg definition from the releng repo.
Signed-off-by: Ralph Bean <rbean@redhat.com>
2016-03-03 14:05:48 -05:00
Ralph Bean
e23a5f736d Some start/stop fedmsg messages wrapped around nightly.sh.
As well as fedmsg notify on rsync start/stop.

Signed-off-by: Ralph Bean <rbean@redhat.com>
2016-03-03 13:52:29 -05:00
Dennis Gilmore
b519942d4c attempt to send each email inidividulaly
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-03-03 09:18:36 -06:00
Dennis Gilmore
91b28be08f use BRANCHED not VERSION in atomic installer
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-03-02 17:46:26 -06:00
Dennis Gilmore
9dc2ae89a9 tie in missing functionality
tie in some scripts for the releng repo and mash to get thinsg more complete

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-29 16:22:42 -06:00
Dennis Gilmore
4acb824671 remove leading + from SUBJECT
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-28 22:29:17 -06:00
Dennis Gilmore
2db6ecc7f5 change the email subject
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-28 22:26:45 -06:00
Dennis Gilmore
6a498f572c make sure we send the email to the lists
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-28 22:20:37 -06:00
Dennis Gilmore
9e080cdb92 use TARGET_DIR variables and not hardcoded values
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-27 08:49:01 -06:00
Dennis Gilmore
3e2651f371 set RSYNCPREFIX so we sudo when needed
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-26 21:22:39 -06:00
Dennis Gilmore
1d86df06a0 sync the compose bits to the master mirror
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-26 21:20:38 -06:00
Dennis Gilmore
cbaae50667 cat not echo the COMPOSE_ID files
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-23 21:51:33 -06:00
Dennis Gilmore
a25b08c727 attempt to make a atomic repo and installer
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-23 16:34:37 -06:00
Dennis Gilmore
7d1294ffd7 fixup a few wrong settings in the configs
add i386 images

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-12-10 10:14:08 -06:00
Dennis Gilmore
49c78ea88d add missing f in the comps file
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-12-08 09:31:42 -06:00
Dennis Gilmore
19e8689534 grab and make the latest comps file
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-12-08 09:15:29 -06:00