1. 19 Sep, 2019 1 commit
  2. 05 Apr, 2019 1 commit
  3. 19 Jul, 2018 1 commit
  4. 15 Feb, 2018 1 commit
  5. 08 Dec, 2017 2 commits
  6. 21 Sep, 2017 1 commit
  7. 26 Jul, 2017 1 commit
  8. 10 May, 2017 1 commit
  9. 06 Feb, 2017 1 commit
  10. 02 Feb, 2017 1 commit
  11. 16 Jan, 2017 1 commit
  12. 20 Sep, 2016 1 commit
  13. 19 Sep, 2016 1 commit
  14. 14 Sep, 2016 2 commits
  15. 01 Sep, 2016 2 commits
  16. 18 Aug, 2016 4 commits
  17. 24 Jun, 2016 1 commit
  18. 26 Apr, 2016 2 commits
  19. 24 Mar, 2016 1 commit
  20. 23 Mar, 2016 2 commits
  21. 16 Mar, 2016 1 commit
    • Jérémie Gaidamour's avatar
      [all] Renamed a few keys · 9298831b
      Jérémie Gaidamour authored
      find . -iname "*.yaml" -exec sed -i 's/block_devices/storage_devices/' {} \;
      find . -iname "*.yaml" -exec sed -i 's/network_interfaces/network_adapters/' {} \;
      find . -iname "*.yaml" -exec sed -i 's/product_name/name/' {} \;
      find . -iname "*.yaml" -exec sed -i 's/serial_number/serial/' {} \;
      9298831b
  22. 22 Feb, 2016 1 commit
  23. 26 Jan, 2016 1 commit
  24. 17 Dec, 2015 1 commit
  25. 14 Oct, 2015 1 commit
    • 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