From 9efeadfcb1cbb85d45bc192766e5b086597e739d Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Aug 14 2017 19:50:53 +0000 Subject: Branching f27 from rawhide Signed-off-by: Mohan Boddu --- diff --git a/fedora.conf b/fedora.conf index 5493e7d..69905c1 100644 --- a/fedora.conf +++ b/fedora.conf @@ -1,12 +1,12 @@ # PRODUCT INFO release_name = 'Fedora' release_short = 'Fedora' -release_version = 'Rawhide' +release_version = '27' release_is_layered = False # GENERAL SETTINGS bootable = True -comps_file = 'comps-rawhide.xml' #{ +comps_file = 'comps-27.xml' #{ # 'scm': 'git', # 'repo': 'https://pagure.io/fedora-comps.git', # 'branch': None, # defaults to cvs/HEAD or git/master @@ -268,9 +268,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 = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' -global_version = 'Rawhide' +global_version = '27' # live_images ignores this in favor of live_target global_target = 'f27' @@ -718,27 +718,27 @@ ostree = [ "version": '!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN', "treefile": "fedora-atomic-host.json", "config_url": "https://pagure.io/fedora-atomic.git", - "config_branch": "master", + "config_branch": "f27", "repo": "Everything", - "ostree_repo": "/mnt/koji/compose/atomic/rawhide/", + "ostree_repo": "/mnt/koji/compose/atomic/27/", 'failable': ['*'], }, "x86_64": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "treefile": "fedora-atomic-host.json", "config_url": "https://pagure.io/fedora-atomic.git", - "config_branch": "master", + "config_branch": "f27", "repo": "Everything", - "ostree_repo": "/mnt/koji/compose/atomic/rawhide/", + "ostree_repo": "/mnt/koji/compose/atomic/27/", 'failable': ['*'], }, "ppc64le": { "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "treefile": "fedora-atomic-host.json", "config_url": "https://pagure.io/fedora-atomic.git", - "config_branch": "master", + "config_branch": "f27", "repo": "Everything", - "ostree_repo": "/mnt/koji/compose/atomic/rawhide/", + "ostree_repo": "/mnt/koji/compose/atomic/27/", 'failable': ['*'], } }), @@ -747,9 +747,9 @@ ostree = [ "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", "treefile": "fedora-ostree-workstation.json", "config_url": "https://pagure.io/workstation-ostree-config.git", - "config_branch": "master", + "config_branch": "f27", "repo": "Workstation", - "ostree_repo": "/mnt/koji/compose/ostree/rawhide/", + "ostree_repo": "/mnt/koji/compose/ostree/27/", 'failable': ['*'], } }) @@ -765,14 +765,14 @@ ostree_installer = [ "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/rawhide/", - "ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/rawhide/", + "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/atomic/27/", + "ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/27/", "ostree_osname=fedora-atomic", - "ostree_install_ref=fedora/rawhide/x86_64/atomic-host", - "ostree_update_ref=fedora/rawhide/x86_64/atomic-host", + "ostree_install_ref=fedora/27/x86_64/atomic-host", + "ostree_update_ref=fedora/27/x86_64/atomic-host", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', - 'template_branch': 'master', + 'template_branch': 'f27', 'failable': ['*'], }, "aarch64": { @@ -783,14 +783,14 @@ ostree_installer = [ "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/rawhide/", - "ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/rawhide/", + "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/atomic/27/", + "ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/27/", "ostree_osname=fedora-atomic", - "ostree_install_ref=fedora/rawhide/aarch64/atomic-host", - "ostree_update_ref=fedora/rawhide/aarch64/atomic-host", + "ostree_install_ref=fedora/27/aarch64/atomic-host", + "ostree_update_ref=fedora/27/aarch64/atomic-host", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', - 'template_branch': 'master', + 'template_branch': 'f27', 'failable': ['*'], }, "ppc64le": { @@ -801,14 +801,14 @@ ostree_installer = [ "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/rawhide/", - "ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/rawhide/", + "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/atomic/27/", + "ostree_update_repo=https://kojipkgs.fedoraproject.org/atomic/27/", "ostree_osname=fedora-atomic", - "ostree_install_ref=fedora/rawhide/ppc64le/atomic-host", - "ostree_update_ref=fedora/rawhide/ppc64le/atomic-host", + "ostree_install_ref=fedora/27/ppc64le/atomic-host", + "ostree_update_ref=fedora/27/ppc64le/atomic-host", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', - 'template_branch': 'master', + 'template_branch': 'f27', 'failable': ['*'], } }), @@ -821,14 +821,14 @@ ostree_installer = [ "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/rawhide/", - "ostree_update_repo=https://kojipkgs.fedoraproject.org/compose/ostree/rawhide/", + "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/ostree/27/", + "ostree_update_repo=https://kojipkgs.fedoraproject.org/compose/ostree/27/", "ostree_osname=fedora-workstation", - "ostree_install_ref=fedora/rawhide/x86_64/workstation", - "ostree_update_ref=fedora/rawhide/x86_64/workstation", + "ostree_install_ref=fedora/27/x86_64/workstation", + "ostree_update_ref=fedora/27/x86_64/workstation", ], 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', - 'template_branch': 'master', + 'template_branch': 'f27', 'failable': ['*'], } }) diff --git a/nightly.sh b/nightly.sh index e976a65..2db2ff4 100755 --- a/nightly.sh +++ b/nightly.sh @@ -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="27" +BRANCHED="27" +BRANCH="branched" +COMPSFILE="comps-27.xml" +GIT_BRANCH="f27" TMPDIR=`mktemp -d /tmp/$DIST.$DATE.XXXX` TOMAIL="devel@lists.fedoraproject.org test@lists.fedoraproject.org" -FROM="Fedora Rawhide Report " +FROM="Fedora Branched Report " 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-27/COMPOSE_ID) # uncomment and edit for resuming a failed compose #COMPOSE_ID="Fedora-23-20150530.n.0" @@ -71,7 +71,7 @@ if [ "$?" != "0" ]; then exit 1 fi -NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-Rawhide/COMPOSE_ID) +NEWCOMPOSE_ID=$(cat $TARGET_DIR/latest-Fedora-27/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")