DCCooper
e286f9f1c7
isula-build: add syscall "statx" in seccomp
...
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit 487497314612b9faf293c3eed788abb47dec9425)
2022-01-14 15:34:17 +08:00
jingxiaolu
f8f4a30d01
isula-build: refactor image separator
...
Signed-off-by: jingxiaolu <lujingxiao@huawei.com>
(cherry picked from commit 92e5c7823bba09208373f2f0211c73cbecb58785)
2022-01-11 14:49:11 +08:00
DCCooper
560304f225
isula-build: sync upstream patches
...
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit 3706fabc10e0f9241005403f25bcadda9e39bdda)
2021-12-24 09:57:50 +08:00
DCCooper
1be018d722
isula-build: sync upstream patches
...
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit e88dea05c482a2973be5b89b4db6a9ef0072d707)
2021-12-08 17:51:46 +08:00
DCCooper
02013af4da
isula-build: bump version to 0.9.6
...
Signed-off-by: DCCooper <1866858@gmail.com>
2021-11-29 10:50:42 +08:00
jingxiaolu
af40574008
isula-build: add repo to local image when output is docker
...
Signed-off-by: jingxiaolu <lujingxiao@huawei.com>
(cherry picked from commit bd20a6e1c104a7f88c03049d93d24048f87d2bde)
2021-11-19 12:13:45 +08:00
DCCooper
f0d4703b2b
isula-build: add log info for layers processing
...
Signed-off-by: DCCooper <1866858@gmail.com>
(cherry picked from commit d9fa9f3bb79eeb6f83b8bc62e78b64e52cafa503)
2021-11-10 19:31:47 +08:00
DCCooper
e44e917b95
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:12:14 +08:00
DCCooper
459e53ceda
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:56:04 +08:00
DCCooper
a954b1e168
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:56:04 +08:00
DCCooper
9ff3ebc473
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:56:04 +08:00
DCCooper
906ccc17c3
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:01:01 +08:00
DCCooper
7ad1504ec4
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:19 +08:00
xingweizheng
06a50741f5
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:59 +08:00
jingxiaolu
3d244dc9ca
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:20:01 +08: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
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
DCCooper
08770c2029
isula-build: sync upstream patch
...
Signed-off-by: DCCooper <1866858@gmail.com>
2021-06-16 14:41:17 +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
DCCooper
950f2f8ba2
isula-build:Sync upstream patches
...
Signed-off-by: DCCooper <1866858@gmail.com>
2021-03-03 19:29:30 +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
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
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
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
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
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
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
caihaomin
53ba58d5eb
isula-build:add more fuzz tests
...
Signed-off-by: caihaomin <caihaomin@huawei.com>
2020-12-08 19:46:41 +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
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
xiadanni
fe11e3e73f
isula-build: mask /proc/pin_memory
...
Signed-off-by: xiadanni <xiadanni1@huawei.com>
2020-11-20 09:58:53 +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
DCCooper
3b80d7492e
cleancode: delete patches no longer usefull
...
Signed-off-by: DCCooper <1866858@gmail.com>
2020-11-18 16:21:47 +08:00
DCCooper
71c5e594ed
bugfix: fix unsuitable filemode for isula-build(er)
...
Signed-off-by: DCCooper <1866858@gmail.com>
2020-11-17 15:56:56 +08:00
DCCooper
6a3abbbc70
bugfix:chown config root path before daemon started
...
Signed-off-by: DCCooper <1866858@gmail.com>
2020-11-12 21:06:15 +08:00
DCCooper
0384beb883
HotFix: fix panic when user knock ctrl-c in pull/push/save command
...
Signed-off-by: DCCooper <1866858@gmail.com>
2020-11-10 15:05:58 +08:00
DCCooper
4762724a94
isula-build:sync patch from upstream
...
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>
2020-09-19 15:28:16 +08:00
DCCooper
9c4dec0622
isula-build:bump version to 0.9.3
...
Signed-off-by: DCCooper <1866858@gmail.com>
2020-09-10 20:10:50 +08:00