1. 26 Jan, 2016 17 commits
  2. 25 Jan, 2016 17 commits
  3. 17 Dec, 2015 17 commits
  4. 14 Oct, 2015 17 commits
    • Jérémie Gaidamour's avatar
      Edited the g5k:generate rule of the Rakefile. It now passes... · cbdc05ff
      Jérémie Gaidamour authored
      Edited the g5k:generate rule of the Rakefile. It now passes clustername/nodes/*.yaml to the generator instead of clustername_generated.yaml.
      Also modified lookup() calls in the .rb file of each cluster using:
       for i in $(find . -iname "*.rb"); do name=$(basename $i .rb); sed -i "s/lookup('"$name"_generated', /lookup(node_uid, /g" $i; done
      cbdc05ff
    • Jérémie Gaidamour's avatar
      Split the yaml files generated by g5k-checks per nodes · 82cff7cc
      Jérémie Gaidamour authored
          - Split <cluster_name>_generated.yaml files to cluster/<cluster_name>/nodes/<cluster-name>-[uid].yaml
          - Moved <cluster_name>.rb and <cluster_name>_manual.yaml to cluster/<cluster_name>/
          - Created empty <cluster_name>_manual.yaml for Lyon (otherwise, rake script does not work with SITE=lyon as those input files do not exist)
      
          --
      
          For the record:
      
          From generators/input/sites/:
      
          cluster_list=$(ls ./*/clusters/*generated.yaml)
          for cluster_file in $cluster_list
          do
              (
          	cd $(dirname $cluster_file)
      
          	cluster_name=$(echo $(basename $cluster_file) | cut -d '_' -f1)
          	echo $cluster_name
      
          	last_node_number=$(egrep $cluster_name- *_generated.yaml | cut -d "-" -f2 | cut -d ":" -f1 | sort -n | tail -n1)
          	#echo $last_node_number
      
          	mkdir -p $cluster_name/nodes/ 2> /dev/null
          	for i in $(seq 1 $last_node_number)
          	do
          	    (
          		echo "---"
          		echo "$cluster_name-$i:"
          		sed -n "/^$cluster_name-$i:$/,/^$cluster_name-.*:$/p" $cluster_name"_generated.yaml" | sed "/^$cluster_name-.*:$/d"
          	    ) > $cluster_name/nodes/$cluster_name-$i.yaml
          	done
      
              )
          done
      
          find . -iname "*_generated.yaml" -exec git rm -f {} \;
          git add */clusters/*
          for i in $(ls -d */clusters/*.rb); do (cd $(dirname $i); git mv $(basename $i) $(basename $i .rb)_*yaml $(basename $i .rb)); done
      
          (+ manually fixed lyon)
      82cff7cc
  5. 21 Sep, 2015 17 commits
  6. 02 Jul, 2015 17 commits
  7. 03 Apr, 2015 17 commits
  8. 06 Oct, 2014 17 commits
  9. 03 Oct, 2014 17 commits
  10. 27 Jun, 2014 17 commits
  11. 04 Jun, 2014 17 commits
  12. 20 May, 2014 17 commits