Romain GERARD
603c5c3ff6
fmt
2022-03-25 14:50:27 +01:00
Romain GERARD
2b7005c489
fmt
2022-03-25 14:43:37 +01:00
Erèbe - Romain Gerard
11f1867000
Linter ( #664 )
...
* Linter
* Linter
2022-03-25 13:37:54 +01:00
Romain GERARD
292777540b
Change wording
2022-03-24 17:27:08 +01:00
Romain GERARD
a38e0d0207
Add emoji in logs
2022-03-24 16:16:37 +01:00
Romain GERARD
b7d6b578ac
Add emoji in logs
2022-03-24 16:13:06 +01:00
Romain GERARD
1732f9916c
Add emoji in logs
2022-03-24 16:10:08 +01:00
Erèbe - Romain Gerard
31388f7367
Skip build if image already exist remotly ( #661 )
2022-03-24 15:24:22 +01:00
Erèbe - Romain Gerard
619a1e8bb8
Correctly propagate new image tag ( #660 )
2022-03-24 14:21:01 +01:00
Erèbe - Romain Gerard
38fe096477
Clean local docker builder ( #659 )
...
Proper error management
Move stuff a bit outside of build_and_push_function
security to check user avoid requesting data outside of their build context
2022-03-23 18:04:15 +01:00
Erèbe - Romain Gerard
fcf4d3a26d
Refacto to having double compute of image hash ( #654 )
...
* Refacto to having double compute of image hash
* Pre-compute registry name
2022-03-23 08:12:39 +01:00
Erèbe - Romain Gerard
2776cdd87a
Fix buildpack + cleanup for image hash ( #651 )
2022-03-18 19:48:48 +01:00
Romain GERARD
60e4865d6a
Avoid creating multiple docker handler
2022-03-18 13:43:29 +01:00
Erèbe - Romain Gerard
32c998b1b9
Allow to customize how to abort a command ( #650 )
2022-03-18 09:18:42 +01:00
Romain GERARD
84f0e79e04
Refacto to share the lambda and use it multiple time
2022-03-17 16:36:13 +01:00
Erèbe - Romain Gerard
e0a1dff4b2
build_refacto ( #643 )
...
* build_refacto
* build_refacto
2022-03-17 10:44:56 +01:00
BenjaminCh
1dca331085
feat: migrate docker to new logging ( #633 )
...
Ticket: ENG-1135
2022-03-11 13:21:21 +01:00
Melvin Zottola
041e996a6b
Add tag 'latest' for buildpack images as well ( #635 )
2022-03-09 08:24:58 +01:00
Romain GERARD
cf6060ff13
Fix compilation
2022-03-08 16:42:42 +01:00
Erèbe - Romain Gerard
8d8e9f0642
Build: Properly propagate cancel error when killed ( #634 )
2022-03-08 16:28:15 +01:00
Melvin Zottola
abab7874a3
Improve docker build time ( #629 )
...
* Create 'latest' tag when building the image
* Always pull 'latest' image before building image
* Push 'latest' tag when pushing image
2022-03-08 10:23:07 +01:00
Benjamin Chastanier
4be43c3bec
feat: migrate env logging to new method
...
Ticket: ENG-1112
2022-03-07 10:19:16 +01:00
Romain GERARD
06f9923768
Change emoji for cancel
2022-02-24 14:53:22 +01:00
Erèbe - Romain Gerard
c196565d86
Add better error message when build is canceled ( #621 )
2022-02-24 13:58:58 +01:00
Erèbe - Romain Gerard
77958d1cb9
Add task cancellation ( #618 )
2022-02-23 18:22:18 +01:00
Erèbe - Romain Gerard
317c0008f4
Put in place support to handle version in buildpacks ( #581 )
...
Co-authored-by: Benjamin <benjamin.chastanier@gmail.com >
2022-02-10 14:11:20 +01:00
Romaric Philogène
14d3e7955d
Improve deployment time ( #571 )
...
Improve deployment time using Container Registry as a distributed container layers cache.
2022-02-01 12:23:01 +01:00
Erèbe - Romain Gerard
18657dc3e6
Git Ssh: Make it bullet proof and use provided user ( #550 )
2022-01-06 17:14:22 +01:00
Romaric Philogene
a2fd236a89
chore: move src/docker.rs into src/build_platform/docker.rs
...
fix: dockerfile ARG parsing
2022-01-06 08:50:40 +01:00
Romaric Philogene
4e82bf8f71
chore: fix format
2022-01-06 08:16:48 +01:00
Romaric Philogene
e4ba3b0acb
fix: local docker build cache while not using env vars in the Dockerfile
2022-01-06 00:23:56 +01:00
Erèbe - Romain Gerard
c415a64cb8
Add support for ssh key during git submodule ( #544 )
2022-01-04 18:37:11 +01:00
Erèbe - Romain Gerard
861d781503
Refacto git operations ( #524 )
...
- Properly set login/password to repository url
They were not correctly escaped before
- Use git reset --hard to checkout because we were trying
to change (badly) the HEAD which is what reset does
- Simplify + Handle all errors instead of swallowing them
- Add some tests
2021-12-13 16:41:37 +01:00
Erèbe - Romain Gerard
11271ad59a
Helm comand refactor ( #516 )
2021-12-02 15:03:08 +01:00
Σrebe - Romain GERARD
d037abc793
Add buildpack language support
2021-09-29 15:16:21 +02:00
Romain GERARD
9842fe9ea2
Properly propagate errors to avoid unwrap()
2021-08-20 16:38:58 +02:00
Patryk Jeziorowski
eececce534
feat: buildpacks worker process fallback
2021-08-12 16:34:45 +02:00
Patryk Jeziorowski
6eb62c9548
feat: buildpacks worker process fallback
2021-08-12 08:40:10 +02:00
Patryk Jeziorowski
b7318adfae
feat: buildpacks worker process fallback
2021-08-12 08:35:37 +02:00
Patryk Jeziorowski
6d35c5853c
chore: update error message
2021-07-22 16:40:10 +02:00
Romain GERARD
581c5c78ed
Do not send buildpacks stderr as error
...
+ It can be simple warnings
2021-07-13 10:16:50 +02:00
Σrebe - Romain GERARD
3f15da2624
Change logging lvl for stderr message during docker build
...
+ Returning sterr message as error make deployments fails
+ Stderr message can only be warning (i.e: npm messages)
+ Relies of docker build output to tell if it is an error or not
2021-07-05 21:02:49 +02:00
Romain GERARD
cea0a3d80d
Add support for mono-repo with multiple build context
2021-06-09 18:41:11 +02:00
Patryk Jeziorowski
39cfc4f31d
chore: warn msg
2021-05-27 13:33:16 +02:00
Pierre Mavro
748c5d824f
fix: compilation issue from previous commit
2021-05-12 17:53:27 +02:00
Pierre Mavro
2a97670066
fix: do not return error on docker prune
...
There are still some issues, I'm removing errors on it to see if it acts better
2021-05-12 17:19:38 +02:00
Pierre Mavro
4c69da0685
feat: add clippy
2021-05-07 21:30:46 +02:00
Pierre Mavro
3ef7b0b373
fix: add new prune commands
...
In order to maximize the space gain after a docker prune, I've added volumes and containers
2021-05-06 17:07:09 +02:00
Pierre Mavro
c236312308
fix: docker purge better handling
2021-05-02 08:45:33 +02:00
Pierre Mavro
f0fea64118
fix: wrong behavior when docker disk usage = 0
2021-04-29 10:46:39 +02:00