diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2012-05-02 21:34:30 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2012-05-02 21:34:30 +0300 |
commit | a757dd01e9eb0529474e437a61aa1d538295f073 (patch) | |
tree | 0280906a1731e6b0ee02e727da9e02426a8a9f78 /scripts | |
parent | 785ff360fa00e71eb8d2c7208c56f7428289a706 (diff) |
Add ubuntu-restricted job type.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/publish_to_snapshots.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/publish_to_snapshots.py b/scripts/publish_to_snapshots.py index 79c86d3..cf9c1c7 100755 --- a/scripts/publish_to_snapshots.py +++ b/scripts/publish_to_snapshots.py @@ -30,6 +30,7 @@ acceptable_job_types = [ 'kernel-hwpack', 'ubuntu-hwpacks', 'ubuntu-images', + 'ubuntu-restricted', 'ubuntu-sysroots', 'binaries' ] @@ -55,7 +56,8 @@ class SnapshotsPublisher(object): elif args.job_type == "kernel-hwpack": ret_val = jobname.split('_')[0].replace(".", "_") elif args.job_type == "ubuntu-hwpacks" or \ - args.job_type == "ubuntu-images" or \ + args.job_type == "ubuntu-images" or\ + args.job_type == "ubuntu-restricted" or\ args.job_type == "ubuntu-sysroots": ret_val = jobname.split('-', 2) elif args.job_type == "prebuilt": @@ -86,7 +88,8 @@ class SnapshotsPublisher(object): args.job_name]) target_dir_path = os.path.join(target_path, target_dir) elif args.job_type == "ubuntu-hwpacks" or \ - args.job_type == "ubuntu-images" or \ + args.job_type == "ubuntu-images" or\ + args.job_type == "ubuntu-restricted" or\ args.job_type == "ubuntu-sysroots": dist_name = ret_val[0] hwpack_image = args.job_type.split("-")[1] @@ -218,6 +221,7 @@ class SnapshotsPublisher(object): if args.job_type == "android" or\ args.job_type == "ubuntu-hwpacks" or\ args.job_type == "ubuntu-images" or\ + args.job_type == "ubuntu-restricted" or\ args.job_type == "ubuntu-sysroots": ret = self.create_symlink(args, target_dir_path) if ret != PASS: |