Commit Graph

46 Commits

Author SHA1 Message Date
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
Dennis Gilmore
14fba4cef7 set teh script to use for fedmsg notifications
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-12-04 13:58:19 -06:00
root
41d8d5262e update the shell script based on suggestions from dmach
Signed-off-by: root <root@compose-x86-01.phx2.fedoraproject.org>
2015-07-24 13:13:51 -05:00
Dennis Gilmore
778eabff0e updates that have been done for testing
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-07-07 10:16:29 -05:00
Dennis Gilmore
ced9341be4 setup the initial fedora repo
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-05-29 15:04:00 -05:00