forked from quentin/quentin.dufour.io
Update Article “2023-04-12-un-outil-sans-daemon-pour-gérer-ses-artefacts-de-build”
This commit is contained in:
parent
02292d50ba
commit
f2b77cd200
1 changed files with 16 additions and 3 deletions
|
@ -254,7 +254,7 @@ Pour la déclinaison (_flavor_), on s'inspire du manifest multi arch de Docker :
|
|||
"flavors": [
|
||||
{
|
||||
"resources": [
|
||||
{ "path": "albatros" },
|
||||
{ "path": "albatros" }
|
||||
],
|
||||
"platform": {
|
||||
"architecture": "amd64",
|
||||
|
@ -263,7 +263,7 @@ Pour la déclinaison (_flavor_), on s'inspire du manifest multi arch de Docker :
|
|||
},
|
||||
{
|
||||
"resources": [
|
||||
{ "path": "albatros" },
|
||||
{ "path": "albatros" }
|
||||
],
|
||||
"platform": {
|
||||
"architecture": "386",
|
||||
|
@ -292,7 +292,20 @@ nix build .#packages.armv6l-linux.albatros -o df/linux/arm/albatros
|
|||
Les envoyer :
|
||||
|
||||
```bash
|
||||
aws s3 sync df/ s3://registry.deuxfleurs.org/df-dist-v1/albatros/0.9/
|
||||
aws s3 sync df/ s3://download.deuxfleurs.org/df-dist-v1/albatros/0.9/
|
||||
```
|
||||
|
||||
Envoyer le manifest préalablement écrit à la main :
|
||||
|
||||
```bash
|
||||
aws s3 cp /tmp/flavor.json s3://download.deuxfleurs.org/df-dist-v1/albatros/0.9
|
||||
```
|
||||
|
||||
Et enfin notre liste de tags :
|
||||
|
||||
```bash
|
||||
aws s3 cp /tmp/list.json s3://download.deuxfleurs.org/df-dist-v1/albatros
|
||||
curl https://download.deuxfleurs.org/df-dist-v1/albatros
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue