71 Commits

Author SHA1 Message Date
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
caihaomin
bc52d40edd isula-build:fix printing FROM command double times to console
Signed-off-by: caihaomin <caihaomin@huawei.com>
2020-12-08 21:53:29 +08:00
openeuler-ci-bot
5912b5d274 !46 isula-build:fix problems found by code review
From: @caihaomin
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2020-12-08 20:16:38 +08:00
caihaomin
f4d473efd4 isula-build:fix problems found by code review
Signed-off-by: caihaomin <caihaomin@huawei.com>
2020-12-08 19:58:12 +08:00
openeuler-ci-bot
6a7d3955d7 !45 isula-build:add more fuzz tests
From: @caihaomin
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2020-12-08 19:56:47 +08:00
caihaomin
53ba58d5eb isula-build:add more fuzz tests
Signed-off-by: caihaomin <caihaomin@huawei.com>
2020-12-08 19:46:41 +08:00
openeuler-ci-bot
5b0edc17e1 !44 isula-build:imporve daemon push and pull unit test
From: @caihaomin
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2020-12-08 19:20:51 +08:00
caihaomin
dc0ff1f10a isula-build:imporve daemon push and pull unit test
Signed-off-by: caihaomin <caihaomin@huawei.com>
2020-12-08 15:55:34 +08:00
openeuler-ci-bot
c7069472b0 !39 Hack:add compile flag ftrapv and enable debuginfo
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2020-11-27 18:19:10 +08:00
DCCooper
fce1d7eb3e Hack: add compile flag ftrapv and enable debuginfo
Signed-off-by: DCCooper <1866858@gmail.com>
2020-11-27 17:31:40 +08:00
openeuler-ci-bot
1a48dbe94a !35 isula-build: mask /proc/pin_memory
From: @Vanient
Reviewed-by: @zvier,@jingxiaolu
Signed-off-by: @jingxiaolu
2020-11-20 10:43:43 +08:00
xiadanni
fe11e3e73f isula-build: mask /proc/pin_memory
Signed-off-by: xiadanni <xiadanni1@huawei.com>
2020-11-20 09:58:53 +08:00
openeuler-ci-bot
d159397d7d !32 support build Dockerfile only have FROM command
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2020-11-19 21:53:07 +08:00
DCCooper
8db70c3871 isula-build:support build Dockerfile only have FROM command
Signed-off-by: DCCooper <1866858@gmail.com>
2020-11-19 19:43:27 +08:00