Functions | Variables
submit_tagged_release_tests Namespace Reference

Functions

def get_release_name_from_folder (folder_name)
 functions More...
 

Variables

string known_release_file = "%s/testing/web/known_releases.txt"
 find new releases More...
 
list known_releases = [l.strip() for l in open(known_release_file,"r").readlines()]
 
string release_directory = "/nova/app/home/novasoft/slf6/novasoft/releases/"
 
 potential_releases = glob(release_directory+"*")
 
list releases = []
 
 release_name = get_release_name_from_folder(r)
 
 release_files = glob(r+"/*")
 
 name = get_release_name_from_folder(r)
 
bool submit_jobs = True
 submit jobs More...
 
 release = get_release_name_from_folder(r)
 
 now_str = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
 
string info = "Tagged release test for release: %s, %s"
 
string command = 'python %s/testing/scripts/launch_batch_jobs.py -r %s -m "%s"'
 
bool record_as_done = True
 Write names to known_releases file. More...
 
string to_write = ""
 
 new_known_releases_file = open(known_release_file,"w")
 

Function Documentation

def submit_tagged_release_tests.get_release_name_from_folder (   folder_name)

functions

Definition at line 8 of file submit_tagged_release_tests.py.

8 def get_release_name_from_folder(folder_name):
9  return folder_name.split("/")[-1]
def get_release_name_from_folder(folder_name)
functions

Variable Documentation

string submit_tagged_release_tests.command = 'python %s/testing/scripts/launch_batch_jobs.py -r %s -m "%s"'

Definition at line 42 of file submit_tagged_release_tests.py.

string submit_tagged_release_tests.info = "Tagged release test for release: %s, %s"

Definition at line 41 of file submit_tagged_release_tests.py.

string submit_tagged_release_tests.known_release_file = "%s/testing/web/known_releases.txt"

find new releases

Definition at line 11 of file submit_tagged_release_tests.py.

list submit_tagged_release_tests.known_releases = [l.strip() for l in open(known_release_file,"r").readlines()]

Definition at line 13 of file submit_tagged_release_tests.py.

submit_tagged_release_tests.name = get_release_name_from_folder(r)

Definition at line 34 of file submit_tagged_release_tests.py.

submit_tagged_release_tests.new_known_releases_file = open(known_release_file,"w")

Definition at line 56 of file submit_tagged_release_tests.py.

submit_tagged_release_tests.now_str = datetime.now().strftime("%Y-%m-%d %H:%M:%S")

Definition at line 40 of file submit_tagged_release_tests.py.

submit_tagged_release_tests.potential_releases = glob(release_directory+"*")

Definition at line 18 of file submit_tagged_release_tests.py.

bool submit_tagged_release_tests.record_as_done = True

Write names to known_releases file.

Definition at line 46 of file submit_tagged_release_tests.py.

submit_tagged_release_tests.release = get_release_name_from_folder(r)

Definition at line 39 of file submit_tagged_release_tests.py.

string submit_tagged_release_tests.release_directory = "/nova/app/home/novasoft/slf6/novasoft/releases/"

Definition at line 16 of file submit_tagged_release_tests.py.

submit_tagged_release_tests.release_files = glob(r+"/*")

Definition at line 27 of file submit_tagged_release_tests.py.

submit_tagged_release_tests.release_name = get_release_name_from_folder(r)

Definition at line 24 of file submit_tagged_release_tests.py.

list submit_tagged_release_tests.releases = []

Definition at line 22 of file submit_tagged_release_tests.py.

bool submit_tagged_release_tests.submit_jobs = True

submit jobs

Definition at line 37 of file submit_tagged_release_tests.py.

submit_tagged_release_tests.to_write = ""

Definition at line 51 of file submit_tagged_release_tests.py.