feat: Modify layer build process
After compile-layer build, there should be a new container for distro-layer. So do flock-layer. These three layer's environemnt are different. However, the container is hard to change environment after launched. So, Three layers, three environments and three containers. The process is cp localrc-compiler localrc ./tb.sh env ./tb.sh run ./tb.sh exec cp localrc-distro localrc ./tb.sh env ./tb.sh run ./tb.sh exec docker ps | awk 'NR>1{print $12}' stx-distro-centos-builder stx-compiler-centos-builder Signed-off-by: ChantYuCN <chengde.yu@intel.com> Change-Id: Ibded97dbc9f7541b0a7f0f8c71fb90816510a8b6
This commit is contained in:
parent
233905183a
commit
9a155283f1
6
localrc-compiler
Normal file
6
localrc-compiler
Normal file
@ -0,0 +1,6 @@
|
||||
MYPROJECTNAME=starlingx
|
||||
MYUNAME=`whoami`
|
||||
PROJECT=compiler
|
||||
HOST_PREFIX=$HOME/starlingx/workspace
|
||||
HOST_MIRROR_DIR=$HOME/starlingx/mirror
|
||||
LAYER=compiler
|
6
localrc-distro
Normal file
6
localrc-distro
Normal file
@ -0,0 +1,6 @@
|
||||
MYPROJECTNAME=starlingx
|
||||
MYUNAME=`whoami`
|
||||
PROJECT=distro
|
||||
HOST_PREFIX=$HOME/starlingx/workspace
|
||||
HOST_MIRROR_DIR=$HOME/starlingx/mirror
|
||||
LAYER=distro
|
6
localrc-flock
Normal file
6
localrc-flock
Normal file
@ -0,0 +1,6 @@
|
||||
MYPROJECTNAME=starlingx
|
||||
MYUNAME=`whoami`
|
||||
PROJECT=flock
|
||||
HOST_PREFIX=$HOME/starlingx/workspace
|
||||
HOST_MIRROR_DIR=$HOME/starlingx/mirror
|
||||
LAYER=flock
|
Loading…
Reference in New Issue
Block a user