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>
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>