reason: sync patches from upstream, including
relocate export package, clean code for tests and golint
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit 36a8e66c746da7d659d84a3fb87f91fb494352e4)
bugfix: fix for save single image with multiple tags when id first
tests:
enhance integration test in this scenario
Signed-off-by: meilier xingweizheng@huawei.com
(cherry picked from commit d9ba09901fc03f814e44f5c84e98f33641808ed6)
Sync from upstream for:
- bugfix: fix save multiple tags single image failed
- tests:
- pidofbuilder do not set when running a new bash script in new child process
- shellcheck fix of common.sh
- add integration tests for saving one image with multiple tags
Signed-off-by: jingxiaolu <lujingxiao@huawei.com>
(cherry picked from commit 16d4ded5e2a8e825013d2b765909f142306746c5)
reason: since isula-build client file mode is too large(0551),
we decided to remove other's permission(0550) on it.
Beside, we change the public key(isula-build.pub) file
mode to 0400(from 0444), so only the owner of the public
key can read the key.
After this commit, if the non-root user want to use command
login, logout, build with args(http_proxy, https_proxy, etc...),
they need use sudo to temporarily obtain root permission.
Signed-off-by: DCCooper <1866858@gmail.com>
reason: updates are showing as follow:
- fix data and run root not effective when setting configuration.toml
- enhancement on go tests
- set user's uid and gid for containers
- make isula-build client side static so that which can be run in containers environment
Signed-off-by: DCCooper <1866858@gmail.com>
changes include:
- parse all stages and mark it wheather need to commit
- fix build hang problem when error happened before pipe open
- change default healthcheck timeout to 20s
- add -t shortname for --tag and remove it from --timeout
Signed-off-by: DCCooper <1866858@gmail.com>