~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image:remove_ubuntu_image

Last commit made on 2017-12-12
Get this branch:
git clone -b remove_ubuntu_image https://git.launchpad.net/~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image
Only Gary.Wang can upload to this branch. If you are Gary.Wang please log in for upload directions.

Branch merges

Branch information

Name:
remove_ubuntu_image
Repository:
lp:~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image

Recent commits

874bd64... by Gary.Wang on 2017-12-12

Fix the pip install error during snapcraft.

f71b9e7... by Gary.Wang on 2017-12-12

Remove ubuntu-image as it has been backported to all stable series.

ubuntu-image has been backported to all stable series it supports.
The package currently is in -proposed:
https://launchpad.net/ubuntu/+source/ubuntu-image
So we don't need to include ubuntu-image in the snap package any more.

fec9150... by System Enablement CI Bot <email address hidden> on 2017-12-11

Merge remote tracking branch test_tooling

Merge-Proposal: https://code.launchpad.net/~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image/+merge/334810

Author: Gary.Wang <email address hidden>

Install all test tools from run-tests.sh to make it easy to integrate into CI.

We install all test tools from run-tests script in a clean docker
instance so that we keep a minimum docker image size(snap-spread-tests).
Also, on docker instance, there's no symlink(/etc/resolv.conf)
pointing to /run/resolvconf/resolv.conf file which make all apt related
command failed due to the DNS issue. We create a symlink under
/run/resolvconf/ to point to actual /etc/resolv.conf file in this case.

ec92eae... by Gary.Wang on 2017-12-11

Address the review comment.

One second waiting time for later check mapper device is probably good
good enough(at least no issue were found during my testing on CI). So
it's worth a try. Let's see how the Jenkins reacts about this change.

6438f37... by Gary.Wang on 2017-12-07

A better way to resolve dns issue no matter in host machine or docker(CI).

54ed3f1... by Gary.Wang on 2017-12-06

Install all test tools from run-tests.sh to make it easy to integrate into CI.

We install all test tools from run-tests script in a clean docker
instance so that we keep a minimum docker image size(snap-spread-tests).
Also, on docker instance, there's no symlink(/etc/resolv.conf)
pointing to /run/resolvconf/resolv.conf file which make all apt related
command failed due to the DNS issue. We create a symlink under
/run/resolvconf/ to point to actual /etc/resolv.conf file in this case.

97a59d3... by System Enablement CI Bot <email address hidden> on 2017-11-28

Merge remote tracking branch versioning

Merge-Proposal: https://code.launchpad.net/~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image/+merge/333538

Author: Gary.Wang <email address hidden>

Unify software and spec versioning.

One thing probably confused to end-users is that the version number of u-c-i(0.1) and spec version(1) actually doesn't match at this moment. The easy solution I can see here probably is that u-c-i release and spec sharing a same version number so that people won't mix up spec version with the release number.
Also I changed the way that u-c-i read the version number(from snapcraft yaml file instead of hardcoding).
Meanwhile, version number(spec) can be either float or int data type, so that we don't need to bump major number up once new specs are supported.
TODO: We also need to consider the image spec forward compatibility and backward compatibility.

1e8fdf1... by Gary.Wang on 2017-11-23

Merge git+ssh://git.launchpad.net///~snappy-hwe-team/snappy-hwe-snaps/+git/ubuntu-custom-image into versioning

e1ea3ad... by Gary.Wang on 2017-11-23

Use regular expression to grab the version from snapcraft.yaml file.

838a8fa... by System Enablement CI Bot <email address hidden> on 2017-11-23

Merge remote tracking branch variable_naming_conventions

Merge-Proposal: https://code.launchpad.net/~gary-wzl77/snappy-hwe-snaps/+git/ubuntu-custom-image/+merge/334036

Author: Gary.Wang <email address hidden>

Housekeeping for variable naming conventions.

Some minor code changes on the variable names to match the common convention.