84 Commits

Author SHA1 Message Date
DCCooper
3706fabc10 isula-build: sync upstream patches
Signed-off-by: DCCooper <1866858@gmail.com>
2021-12-23 20:45:38 +08:00
openeuler-ci-bot
d493417723 !178 isula-build: sync upstream patches
From: @DCCooper
Reviewed-by: @jingxiaolu,@jingxiaolu
Signed-off-by: @jingxiaolu,@jingxiaolu
2021-12-08 09:44:21 +00:00
DCCooper
e88dea05c4 isula-build: sync upstream patches
Signed-off-by: DCCooper <1866858@gmail.com>
2021-12-08 16:55:36 +08:00
openeuler-ci-bot
2c40fa99b3 !177 [sync] PR-174: isula-build: bump version to 0.9.6
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-12-06 09:11:00 +00:00
DCCooper
623f21835c isula-build: bump version to 0.9.6
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit 02013af4daa311ccfb4c10b8adc9d1c3143c5952)
2021-12-06 15:10:30 +08:00
openeuler-ci-bot
656417fe67 !167 isula-build: add repo to local image when output transporter is docker://
From: @jingxiaolu
Reviewed-by: @DCCooper,@duguhaotian
Signed-off-by: @duguhaotian
2021-11-19 04:12:31 +00:00
jingxiaolu
bd20a6e1c1 isula-build: add repo to local image when output is docker
Signed-off-by: jingxiaolu <lujingxiao@huawei.com>
2021-11-17 22:22:54 +08:00
openeuler-ci-bot
08a2e11c57 !160 isula-build: add log info for layers processing
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-11-10 11:30:30 +00:00
DCCooper
d9fa9f3bb7 isula-build: add log info for layers processing
Signed-off-by: DCCooper <1866858@gmail.com>
2021-11-10 10:16:45 +08:00
openeuler-ci-bot
13391dd049 !153 isula-build: sync upstream to fix panic when using image ID to save separated image
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-11-04 13:09:42 +00:00
DCCooper
f3f4360f9a isula-build: sync upstream to fix panic when using image ID to save separated image
Signed-off-by: DCCooper <1866858@gmail.com>
2021-11-04 16:53:30 +08:00
openeuler-ci-bot
67f4c2962e !146 isula-build: sync upstream bugfixes
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-11-04 03:50:47 +00:00
DCCooper
69a110a5d4 isula-build: sync upstream to fix loaded images cover existing images name and tag
Signed-off-by: DCCooper <1866858@gmail.com>
2021-11-03 15:17:10 +08:00
DCCooper
2cfdf996dd isula-build: sync upstream to fix inaccurate error output from client
Signed-off-by: DCCooper <1866858@gmail.com>
2021-11-03 14:45:37 +08:00
DCCooper
030edc55ba isula-build:sync upstream to fix random sequence for saving separated image tarball
Signed-off-by: DCCooper <1866858@gmail.com>
2021-11-03 14:38:01 +08:00
openeuler-ci-bot
457a94ce2b !139 isula-build:support save/load separated image
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-11-03 01:46:17 +00:00
DCCooper
3d943142b3 isula-build:support save/load separated image
reason: 1. support save/load separated image
        2. add relative test cases and bugfixes

Signed-off-by: DCCooper <1866858@gmail.com>
2021-11-02 12:40:19 +08:00
openeuler-ci-bot
ab055f3f95 !132 isula-build:Sync patch from upstream
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-10-25 10:08:17 +00:00
DCCooper
36a8e66c74 isula-build:Sync patch from upstream
reason: sync patches from upstream, including
relocate export package, clean code for tests and golint

Signed-off-by: DCCooper <1866858@gmail.com>
2021-10-25 17:27:38 +08:00
openeuler-ci-bot
89673a767a !125 isula-build:use pre instead of pretrans for groupadd
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-10-14 02:52:37 +00:00
DCCooper
95e1d9b62c isula-build:use pre instead of pretrans for groupadd
reason: mv groupadd from pretrans to pre to prevent install failed when
doing: `yum install -y isula-build --installroot /root/test`. This could
fail because there is no **sh** command then.
%Pretrans will run the script before any package installed, so it is not
proper to do `groupadd` in the Pretrans step.

Signed-off-by: DCCooper <1866858@gmail.com>
2021-10-14 10:20:09 +08:00
openeuler-ci-bot
1bce395b8d !118 fix for save single image with multiple tags when id first
From: @meilier
Reviewed-by: @DCCooper,@jingxiaolu
Signed-off-by: @jingxiaolu
2021-09-03 02:52:41 +00:00
xingweizheng
d9ba09901f Sync from upstream for:
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
2021-09-03 10:33:43 +08:00
openeuler-ci-bot
c1ab728203 !111 isula-build: sync for fix save multi-tags and tests update
From: @jingxiaolu
Reviewed-by: @DCCooper,@meilier,@duguhaotian
Signed-off-by: @duguhaotian
2021-08-31 03:19:36 +00:00
jingxiaolu
16d4ded5e2 isula-build: sync for fix save multi-tags and tests update
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>
2021-08-31 10:54:46 +08:00
openeuler-ci-bot
2b4943fa48 !105 isula-build: update documents about file mode
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-07-26 11:15:06 +00:00
DCCooper
c9a48f58c7 isula-build: update documents about file mode
Signed-off-by: DCCooper <1866858@gmail.com>
2021-07-26 19:08:08 +08:00
openeuler-ci-bot
0707df3791 !98 isula-build: change isula-build file mode
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-07-26 10:49:07 +00:00
DCCooper
422afc4cfa isula-build: change isula-build file mode
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>
2021-07-26 17:52:20 +08:00
openeuler-ci-bot
dafe8c5431 !91 isula-build: sync upstream patch
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-06-16 07:05:35 +00:00
DCCooper
08770c2029 isula-build: sync upstream patch
Signed-off-by: DCCooper <1866858@gmail.com>
2021-06-16 14:41:17 +08:00
openeuler-ci-bot
2fcfbd8fef !85 isula-build: sync patches from upstream
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-06-02 16:40:14 +08:00
DCCooper
b3c544dea6 isula-build: sync patches from upstream
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>
2021-06-02 14:45:19 +08:00
openeuler-ci-bot
9eae1d51d2 !80 isula-build:Sync upstream patches
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-03-04 09:44:06 +08:00
DCCooper
950f2f8ba2 isula-build:Sync upstream patches
Signed-off-by: DCCooper <1866858@gmail.com>
2021-03-03 19:29:30 +08:00
openeuler-ci-bot
5c7578e0d6 !75 enhancement: remove empty lines when showing image list
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-02-10 11:20:32 +08:00
DCCooper
6ab2f2f958 enhancement:remove empty lines when showing image list
Signed-off-by: DCCooper <1866858@gmail.com>
2021-02-10 10:59:29 +08:00
openeuler-ci-bot
244317b56b !69 bugfix: remove Healthcheck field when build from scratch
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-02-09 20:03:48 +08:00
DCCooper
8993fb26f9 bugfix: remove Healthcheck field when build from scratch
Signed-off-by: DCCooper <1866858@gmail.com>
2021-02-09 19:50:23 +08:00
openeuler-ci-bot
1828cadbc1 !65 [sync] PR-64: isula-build: remove go-md2man build require
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-02-09 19:27:55 +08:00
DCCooper
64811290f2 isula-build: remove go-md2man build require
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit bd5c977e25dca66719d225a06aa5ddd76c5e7a10)
2021-02-09 19:04:16 +08:00
openeuler-ci-bot
2db9fa19c4 !58 make isula-build ctr-img images display comfortably
From: @leizhongkai
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-02-04 21:04:19 +08:00
leizhongkai
f7cf3d08ea isula-build: make isula-build ctr-img images display comfortably
Signed-off-by: leizhongkai <leizhongkai@huawei.com>
2021-01-29 11:12:32 +08:00
openeuler-ci-bot
d2acc41c9b !53 isula-build: bump version to 0.9.5
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-01-27 10:54:15 +08:00
DCCooper
2342a5e3c9 isula-build: bump version to 0.9.5
Signed-off-by: DCCooper <1866858@gmail.com>
2021-01-26 15:45:32 +08:00
openeuler-ci-bot
07e05fa10b !49 hack:modify gen-version script and add changelog automatically
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2020-12-11 15:03:24 +08:00
DCCooper
dc98b0aac2 hack:modify gen-version script and add changelog automatically
Signed-off-by: DCCooper <1866858@gmail.com>
2020-12-11 14:54:01 +08:00
openeuler-ci-bot
83f48501d5 !48 isula-build: change default umask of isula-builder process
From: @jingxiaolu
Reviewed-by: @DCCooper,@caihaomin
Signed-off-by: @caihaomin
2020-12-11 14:18:46 +08:00
Lu Jingxiao
e46a9bb5bc isula-build: change default umask of isula-builder process
Signed-off-by: Lu Jingxiao <lujingxiao@huawei.com>
2020-12-11 11:29:49 +08:00
openeuler-ci-bot
90807e5013 !47 isula-build:fix printing FROM command double times to console
From: @caihaomin
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2020-12-08 22:01:30 +08:00