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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
# This is a script run to release Cockpit
#
# This script is run in a cockpit/release container:
# https://github.com/cockpit-project/cockpituous/tree/master/release
#
# This gets triggered on pushing a signed release tag, through a GitHub action:
#
# .github/workflows/release.yml
#
# 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
# Initial variables which help the scripts share
RELEASE_SPEC=tools/cockpit.spec
RELEASE_CONTROL=tools/debian/control
RELEASE_SRPM=$PWD/_release/srpm
RELEASE_DSC=$PWD/_release/dsc
RELEASE_SOURCE=$PWD/_release/source
# Authenticate for pushing into Fedora dist-git
cat ~/.fedora-password | kinit cockpit@FEDORAPROJECT.ORG
# Build the source tarball patches and srpm
job release-source
job release-srpm
# Do fedora builds for the tag, using tarball
job release-koji -k rawhide
job release-koji f33
job release-koji f34
# Upload release to github, using tarball
job release-github
# Push to COPR builds
job release-copr @cockpit/cockpit-preview
# Update the Github repo that Docker Hub is tracking
job release-dockerhub cockpit-project/cockpit-container
# Push out a Bodhi update
job release-bodhi F33
job release-bodhi F34
# Upload documentation
job tools/release-guide dist/guide cockpit-project/cockpit-project.github.io
|