87 Commits

Author SHA1 Message Date
openeuler-ci-bot
6fd176b4d2
!208 [sync] PR-206: isula-build: refactor image separator
Merge pull request !208 from openeuler-sync-bot/sync-pr206-2003sp1-to-openEuler-20.03-LTS-SP3
2022-01-14 07:32:42 +00:00
Lu Jingxiao
c1efcf7410 isula-build: fix apply patch failing before compiling
Patch apply failed because in patch 0088, the pkgs
sorting in daemon/load.go is not ordered by
lexicographical, so patch 0102 apply failed.

Signed-off-by: Lu Jingxiao <lujingxiao@huawei.com>
(cherry picked from commit ab776685a6be7c92e852c148fedda206b3375d78)
2022-01-12 16:33:44 +08:00
jingxiaolu
57d824f19f isula-build: refactor image separator
Signed-off-by: jingxiaolu <lujingxiao@huawei.com>
(cherry picked from commit 3f161b153340f8dfa2da567e74a756b021c12984)
2022-01-12 16:33:44 +08:00
openeuler-ci-bot
be2e2955ab !190 [sync] PR-187: isula-build:sync upstream patches
Merge pull request !190 from openeuler-sync-bot/sync-pr187-openEuler-20.03-LTS-Next-to-openEuler-20.03-LTS-SP3
2021-12-24 01:51:02 +00:00
DCCooper
2e0cfa63e8 isula-build:sync upstream patches
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit 053b45ee651299c2ef7e3bbe62e60b5452d2ac18)
2021-12-24 09:28:39 +08:00
openeuler-ci-bot
eb7e61bfb9 !183 [sync] PR-180: isula-build: sync upstream patches
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-12-10 06:21:33 +00:00
DCCooper
f0037c1207 isula-build: sync upstream patches
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit 4e509c26e0bace00e01cde6a8a6eb50e418a4e77)
2021-12-09 16:04:07 +08:00
openeuler-ci-bot
7e3735aaf9 !176 [sync] PR-167: isula-build: add repo to local image when output transporter is docker://
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-12-03 07:13:49 +00:00
jingxiaolu
4cf9610f9f isula-build: add repo to local image when output is docker
Signed-off-by: jingxiaolu <lujingxiao@huawei.com>
(cherry picked from commit bd20a6e1c104a7f88c03049d93d24048f87d2bde)
2021-12-03 15:10:50 +08:00
openeuler-ci-bot
82e208ec68 !175 [sync] PR-160: isula-build: add log info for layers processing
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-12-03 07:09:26 +00:00
DCCooper
10b53f7844 isula-build: add log info for layers processing
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit d9fa9f3bb79eeb6f83b8bc62e78b64e52cafa503)
2021-11-29 10:59:18 +08:00
openeuler-ci-bot
b3ddfd823d !154 [sync] PR-153: isula-build: sync upstream to fix panic when using image ID to save separated image
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-11-08 09:33:22 +00:00
DCCooper
4e4c2c0536 isula-build: sync upstream to fix panic when using image ID to save separated image
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit f3f4360f9a2237dc72f7200e3048368f9f180e71)
2021-11-04 21:10:06 +08:00
openeuler-ci-bot
3b85055b18 !147 [sync] PR-146: isula-build: sync upstream bugfixes
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-11-04 06:44:19 +00:00
DCCooper
8e0b3e6bfd isula-build: sync upstream to fix loaded images cover existing images name and tag
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit 69a110a5d4162290bfee7e3e93ca46670b51fdfb)
2021-11-04 11:55:51 +08:00
DCCooper
74c7c86f5f isula-build: sync upstream to fix inaccurate error output from client
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit 2cfdf996dd27da58026930ea77856a30961808cc)
2021-11-04 11:55:51 +08:00
DCCooper
9df91ab3b3 isula-build:sync upstream to fix random sequence for saving separated image tarball
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit 030edc55baa198b24e87d45b9e729e4894bea855)
2021-11-04 11:55:51 +08:00
openeuler-ci-bot
5a33dfb39d !140 [sync] PR-139: isula-build:support save/load separated image
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-11-04 03:49:35 +00:00
DCCooper
bb7c93042c 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>
(cherry picked from commit 3d943142b37cdfa3173314ec5265e1eb39233756)
2021-11-03 12:00:45 +08:00
openeuler-ci-bot
e3ac882740 !133 [sync] PR-132: isula-build:Sync patch from upstream
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-10-25 12:24:08 +00:00
DCCooper
6913f5314a 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>
(cherry picked from commit 36a8e66c746da7d659d84a3fb87f91fb494352e4)
2021-10-25 18:09:06 +08:00
openeuler-ci-bot
f87961a5a0 !126 [sync] PR-125: isula-build:use pre instead of pretrans for groupadd
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-10-19 02:47:07 +00:00
DCCooper
38eb906589 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>
(cherry picked from commit 95e1d9b62cd296756fbff398756ea06f7fac0fe8)
2021-10-14 10:53:15 +08:00
openeuler-ci-bot
8522bd32cf !119 [sync] PR-118: fix for save single image with multiple tags when id first
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-09-14 01:49:54 +00:00
xingweizheng
bfe6e08079 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
(cherry picked from commit d9ba09901fc03f814e44f5c84e98f33641808ed6)
2021-09-03 10:52:44 +08:00
openeuler-ci-bot
8ea97a1879 !112 [sync] PR-111: isula-build: sync for fix save multi-tags and tests update
From: @openeuler-sync-bot
Reviewed-by: @duguhaotian
Signed-off-by: @duguhaotian
2021-08-31 03:27:05 +00:00
jingxiaolu
a1eda1c9cb 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>
(cherry picked from commit 16d4ded5e2a8e825013d2b765909f142306746c5)
2021-08-31 11:19:38 +08:00
openeuler-ci-bot
dab53027d1 !106 [sync] PR-105: isula-build: update documents about file mode
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-07-26 11:38:41 +00:00
DCCooper
976fe3888f isula-build: update documents about file mode
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit c9a48f58c73085c8c8b4f31ce54326fd42b0c711)
2021-07-26 19:30:49 +08:00
openeuler-ci-bot
0ba3a64065 !99 [sync] PR-98: isula-build: change isula-build file mode
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-07-26 11:07:56 +00:00
DCCooper
b3d5e6c374 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>
(cherry picked from commit 422afc4cfac3ccb52a9942edc364b210778c5e86)
2021-07-26 18:49:12 +08:00
openeuler-ci-bot
69aa6b99f0 !92 [sync] PR-91: isula-build: sync upstream patch
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-06-16 08:02:18 +00:00
DCCooper
b50906fdb8 isula-build: sync upstream patch
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit 08770c20299f096141bdc0eeb73fdfd20d4a0901)
2021-06-16 15:05:41 +08:00
openeuler-ci-bot
17201f0661 !86 [sync] PR-85: isula-build: sync patches from upstream
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-06-02 17:25:36 +08:00
DCCooper
9999bacc7b 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>
(cherry picked from commit b3c544dea6932318c0adc422e0441dc48c03d8bb)
2021-06-02 16:40:19 +08:00
openeuler-ci-bot
b35f5748e2 !81 [sync] PR-80: isula-build:Sync upstream patches
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-03-04 14:48:35 +08:00
DCCooper
09a4f54f32 isula-build:Sync upstream patches
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit 950f2f8ba22dfe373c523fbdf94e53ca61363217)
2021-03-04 09:44:10 +08:00
openeuler-ci-bot
a56b4264fc !76 [sync] PR-75: enhancement: remove empty lines when showing image list
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-02-10 11:35:35 +08:00
DCCooper
81ed30cf28 enhancement:remove empty lines when showing image list
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit 6ab2f2f958d2350d09654f8d06dfee915432b337)
2021-02-10 11:20:36 +08:00
openeuler-ci-bot
86bf06819c !74 [sync] PR-69: bugfix: remove Healthcheck field when build from scratch
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-02-09 20:36:37 +08:00
DCCooper
3d10539710 bugfix: remove Healthcheck field when build from scratch
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit 8993fb26f9a00f1ea0e5a136685615042f3f9957)
2021-02-09 20:29:16 +08:00
openeuler-ci-bot
41950bf582 !64 isula-build: remove go-md2man build require
From: @DCCooper
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-02-09 19:04:11 +08:00
DCCooper
bd5c977e25 isula-build: remove go-md2man build require
Signed-off-by: DCCooper <1866858@gmail.com>
2021-02-09 16:46:51 +08:00
openeuler-ci-bot
9f45fb8782 !59 [sync] PR-58: make isula-build ctr-img images display comfortably
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu
Signed-off-by: @jingxiaolu
2021-02-04 21:32:29 +08:00
leizhongkai
fd24b788d0 isula-build: make isula-build ctr-img images display comfortably
Signed-off-by: leizhongkai <leizhongkai@huawei.com>
(cherry picked from commit f7cf3d08ea28bf08ae7e9f828a17b19a3d5601d9)
2021-02-04 21:04:38 +08:00
openeuler-ci-bot
5d1de701f0 !54 [sync] PR-53: isula-build: bump version to 0.9.5
From: @openeuler-sync-bot
Reviewed-by: @jingxiaolu,@jingxiaolu
Signed-off-by: @jingxiaolu,@jingxiaolu
2021-01-29 10:44:54 +08:00
DCCooper
d64c5aa437 isula-build: bump version to 0.9.5
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit 2342a5e3c9cb205337e13bbc704255f5449d2c56)
2021-01-27 10:54:25 +08:00
openeuler-ci-bot
858fbbf4c8 !50 isula-build: sync patches from master to 20.03-LTS-Next
From: @jingxiaolu
Reviewed-by: @DCCooper,@lifeng2221dd1
Signed-off-by: @lifeng2221dd1
2020-12-14 10:47:21 +08:00
DCCooper
c0b6761748 hack:modify gen-version script and add changelog automatically
Signed-off-by: DCCooper <1866858@gmail.com>
2020-12-11 20:59:32 +08:00
Lu Jingxiao
5bd3bdfb7d isula-build: change default umask of isula-builder process
Signed-off-by: Lu Jingxiao <lujingxiao@huawei.com>
2020-12-11 14:28:47 +08:00