mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
CircleCI: use tlaurion/heads-dev-env:v0.1.1 which reverts nix attempt of garbage collection inside of nix prior of making the docker
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
0b7ce534a8
commit
2b2356e87e
@ -45,7 +45,7 @@ commands:
|
|||||||
jobs:
|
jobs:
|
||||||
prep_env:
|
prep_env:
|
||||||
docker:
|
docker:
|
||||||
- image: tlaurion/heads-dev-env:v0.0.9
|
- image: tlaurion/heads-dev-env:v0.1.1
|
||||||
resource_class: large
|
resource_class: large
|
||||||
working_directory: ~/heads
|
working_directory: ~/heads
|
||||||
steps:
|
steps:
|
||||||
@ -111,7 +111,7 @@ jobs:
|
|||||||
|
|
||||||
build_and_persist:
|
build_and_persist:
|
||||||
docker:
|
docker:
|
||||||
- image: tlaurion/heads-dev-env:v0.0.9
|
- image: tlaurion/heads-dev-env:v0.1.1
|
||||||
resource_class: large
|
resource_class: large
|
||||||
working_directory: ~/heads
|
working_directory: ~/heads
|
||||||
parameters:
|
parameters:
|
||||||
@ -139,7 +139,7 @@ jobs:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
docker:
|
docker:
|
||||||
- image: tlaurion/heads-dev-env:v0.0.9
|
- image: tlaurion/heads-dev-env:v0.1.1
|
||||||
resource_class: large
|
resource_class: large
|
||||||
working_directory: ~/heads
|
working_directory: ~/heads
|
||||||
parameters:
|
parameters:
|
||||||
@ -160,7 +160,7 @@ jobs:
|
|||||||
|
|
||||||
save_cache:
|
save_cache:
|
||||||
docker:
|
docker:
|
||||||
- image: tlaurion/heads-dev-env:v0.0.9
|
- image: tlaurion/heads-dev-env:v0.1.1
|
||||||
resource_class: large
|
resource_class: large
|
||||||
working_directory: ~/heads
|
working_directory: ~/heads
|
||||||
steps:
|
steps:
|
||||||
|
@ -61,6 +61,9 @@ docker push tlaurion/heads-dev-env:v0.0.3
|
|||||||
|
|
||||||
#To create the docker image, using garbage collector didn't help and made the size of the image grow bigger?! not using it reverting to what worked
|
#To create the docker image, using garbage collector didn't help and made the size of the image grow bigger?! not using it reverting to what worked
|
||||||
# produced image without garbage collector was 990 Mb image, with it (and stripping which is already done by nix builder...) its 1006Mb. Over my head
|
# produced image without garbage collector was 990 Mb image, with it (and stripping which is already done by nix builder...) its 1006Mb. Over my head
|
||||||
|
# TODO:
|
||||||
|
# - revisit later, should not block merge of pr
|
||||||
|
# - do doc under heads's README.md and then heads-wiki
|
||||||
sh <(curl -L https://nixos.org/nix/install) --no-daemon
|
sh <(curl -L https://nixos.org/nix/install) --no-daemon
|
||||||
. /home/user/.nix-profile/etc/profile.d/nix.sh
|
. /home/user/.nix-profile/etc/profile.d/nix.sh
|
||||||
|
|
||||||
@ -73,6 +76,10 @@ docker run -e DISPLAY=$DISPLAY --network host --rm -ti -v $(pwd):$(pwd) -w $(pwd
|
|||||||
|
|
||||||
#push it
|
#push it
|
||||||
docker login
|
docker login
|
||||||
docker tag linuxboot/heads:dev-env tlaurion/heads-dev-env:v0.1.2
|
docker tag linuxboot/heads:dev-env tlaurion/heads-dev-env:v0.1.1
|
||||||
docker push tlaurion/heads-dev-env:v0.1.2
|
docker push tlaurion/heads-dev-env:v0.1.1
|
||||||
|
|
||||||
|
|
||||||
|
# For end-users, CircleCI
|
||||||
|
docker run -e DISPLAY=$DISPLAY --network host --rm -ti -v $(pwd):$(pwd) -w $(pwd) laurion/heads-dev-env:v0.1.1 -- make BOARD=qemu-coreboot-whiptail-tpm2
|
||||||
|
docker run -e DISPLAY=$DISPLAY --network host --rm -ti -v $(pwd):$(pwd) -w $(pwd) laurion/heads-dev-env:v0.1.1 -- make BOARD=qemu-coreboot-whiptail-tpm2 run
|
||||||
|
Loading…
Reference in New Issue
Block a user