Giter Club home page Giter Club logo

fspin-infrastructure's People

Contributors

damaestro avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fspin-infrastructure's Issues

Make publish-fspin Work Without A Release to Publish

The job gets stuck when downloading the checksums and it errors:

++ wget -q -O - https://repo.fspin.org/latest_snapshot
+ export SNAPSHOT_ID=2018-12-20-1545271236
+ SNAPSHOT_ID=2018-12-20-1545271236
+ [[ ! -n x ]]
++ awk -F- -v OFS=- '{print $1,$2,$3}'
++ echo 2018-12-20-1545271236
+ export SPIN_ID=2018-12-20
+ SPIN_ID=2018-12-20
++ echo 2018-12-20
++ sed s/-//g
+ export RELEASE_STRING=20181220
+ RELEASE_STRING=20181220
+ export RESULTS_LOCATION=gs://build-results.fspin.org/releases/
+ RESULTS_LOCATION=gs://build-results.fspin.org/releases/
+ export TMP_LOCATION=gs://build-results.fspin.org/2018-12-20/
+ TMP_LOCATION=gs://build-results.fspin.org/2018-12-20/
+ export NUM_RELEASES=2
+ NUM_RELEASES=2
+ mkdir -p 2018-12-20
+ envsubst '${SPIN_ID}'
/opt/2018-12-20 /opt
Downloading checksums for 2018-12-20...
+ echo 'export SPIN_ID=2018-12-20'
+ pushd 2018-12-20
+ echo 'Downloading checksums for 2018-12-20...'
+ gsutil -m cp -c 'gs://build-results.fspin.org/live/*/CHECKSUM512-*20181220*' 'gs://build-results.fspin.org/source/*/CHECKSUM512-*20181220*' .
CommandException: No URLs matched: gs://build-results.fspin.org/live/*/CHECKSUM512-*20181220*
CommandException: No URLs matched: gs://build-results.fspin.org/source/*/CHECKSUM512-*20181220*
CommandException: 2 files/objects could not be transferred.

SSH Only From In Cluster

Automatically update firewall policy to only allow connections to ssh from the nodes in the cluster.

Publish "Release" to a Standardized GCS Location with Added Information

The publisher should combine everything the builders created into a single location and push to GCS where we consider the results to be RC. A maximum number of RCs should be managed by the publisher.

Added information:

  • SHA512 generation
  • Torrent generation
  • README generation

Mirrors will then be able to pull from this location easily on an automated schedule.

Create an Image that Imports into GCE for F28

The official image is not importing due to a kernel issue initing on a cloud provider due to needing more entropy. The 4.16.6+ fedora kernels reverted the changes that caused this. Build a suitable image for import that includes a compatible kernel.

Make pungi node smaller resources, reduce preempt hit.

Present pungi node is a n1-standard16 (16 cpus and 60gb ram) which when running causes it to be a target for starving for other nodes to hit peak performance/throughput.

This proposed reduction would allow things on ALL nodes to be more streamlined and reduce the chance and impact of such starvation of extra resources.

Publisher should create and populate torrents and their hashes.

On the old infra our torrent script would create a series of torrents (one per ISO, minus source),

Using the k8s infra and then attempting to create the torrents from the non-k8s infra where final images are served from the path variations make for a failure of torrent generation.

The k8s infra should add as an operation of the publisher job the following (with relevant path changes)

repodir=/srv/Livecds/$2
for spin in CINN KDE LXDE LXQT MATE SOAS WORK XFCE; do
#for spin in CINN LXDE LXQT WORK SOAS XFCE; do
#for spin in SECURITY ; do 
#for spin in SOAS ; do
hash=$(grep $spin $repodir/CHECKSUM512-$2)
    transmission-create -c "ISO SHA512SUM: ${hash} " -s 2048 -p -t http://respins.fedorainfracloud.org:6969/announce -o $repodir/F$1-${spin}-x86_64-$2.torrent $repodir/F$1-${spin}-x86_64-$2.iso
    chmod +r $repodir/*.torrent

    echo "update opentracker whitelist for ${spin}"
    transmission-show $repodir/F$1-${spin}-x86_64-$2.torrent | awk '/Hash/{print $2 " - "}' >> $repodir/buildfile
    echo F$1-${spin}-x86_64-$2.iso >> $repodir/buildfile

These torrents and thier hashes (which are what presently fails when created on non k8s infra) are what is feed to the SIGs whitelisted tracker.

Setup BFO

Setup a way to use BFO techniques to boot official images. Beta test for boot.fp.o but also setup infra for live booting spins.

Update Jenkins Jobs with Job Details

Add more details to Jenkins jobs that describe what happens. Possibly order the jobs. Possibly create a master job that runs the other jobs in the right order.

Change Name of Spins

Update the name of the spins to match the following:

  • Use an uppercase 4 char short name from the source target (i.e. WORK)
  • Use a date vs epoch for resulting images (i.e. 2018-04-29)
  • Update source ISO name

templates/f27-x86-64-template needs to be updated for live images.
pungi-create-install/fspin-27-x86-64-pungi needs to be update for source images.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.