forked from cockpit-project/cockpit-machines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cockpituous-release
30 lines (24 loc) · 1.03 KB
/
cockpituous-release
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This is a script run to release cockpit-machines through Cockpituous:
# https://github.com/cockpit-project/cockpituous/tree/master/release
# Anything that start with 'job' may run in a way that it SIGSTOP's
# itself when preliminary preparition and then gets a SIGCONT in
# order to complete its work.
#
# Check cockpituous documentation for available release targets.
RELEASE_SOURCE="_release/source"
RELEASE_SPEC="cockpit-machines.spec"
RELEASE_SRPM="_release/srpm"
job release-source
job release-srpm -V
# Authenticate for pushing into Fedora dist-git (works in Cockpituous release container)
cat ~/.fedora-password | kinit cockpit@FEDORAPROJECT.ORG
# Do fedora builds for the tag, using tarball
job release-koji rawhide
job release-koji f33
job release-koji f34
job release-bodhi F33
job release-bodhi F34
# These are likely the first of your release targets; but run them after Fedora uploads,
# so that failures there will fail the release early, before publishing on GitHub
job release-github
job release-copr @cockpit/cockpit-preview