-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4955b69
commit 1d1089e
Showing
9 changed files
with
69 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions
28
src/routes/(pages)/log/posts/2024-09-18-tracing-i-nais-deploy.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
title: "Tracing i Nais deploy" | ||
date: 2024-09-18T12:55:13+02:00 | ||
author: Kim Tore Jensen | ||
tags: [tracing, lgtm, grafana, deploy] | ||
layout: log | ||
--- | ||
|
||
:otel: Tracing i NAIS deploy :nais: | ||
|
||
Vi har lagt inn støtte for tracing i NAIS deploy samt docker-build-push, så nå framover vil du ha tilgang på nøyaktig hvor lang tid ting tar i pipelinen din, og besvare følgende: | ||
- Hvor lang tid tok det før committen kom i produksjon? | ||
- Hvor lang tid tar det å bygge Docker-imaget? | ||
- Hvor lang tid tar SLSA SBOM sign & attest? | ||
- Hvor lang tid må jeg vente på at min applikasjon rulles ut i clusteret? | ||
|
||
Ut av boksen får man kun svar på det siste punktet, men hvis du følger vår enkle guide til integrering av telemetry så får du all data som er tilgjengelig! :rocket: | ||
|
||
Link til tracing-dashboard dukker opp som et GitHub step summary når deploy-jobben er fullført. | ||
|
||
Kom gjerne med tilbakemeldinger på om dette er nyttig for deg eller hva som kunne gjort det bedre :smile: | ||
<span style="display: table;"> | ||
<img src="./2024-09-18-tracing-i-nais-deploy-1.png" style="float:left; width:50%; padding-right:10px;"/> | ||
|
||
<img src="./2024-09-18-tracing-i-nais-deploy-2.png" style="float:left; width:50%; padding-left:5px"/> | ||
</span> | ||
|
||
|
23 changes: 23 additions & 0 deletions
23
src/routes/(pages)/log/posts/2024-10-08-endringer-i-github-actions.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
title: "Endringer i GitHub Actions" | ||
date: 2024-10-08T12:55:13+02:00 | ||
author: Tommy Trøen | ||
tags: [github, actions, docker, cache] | ||
layout: log | ||
--- | ||
|
||
:rocket: :salsa: :lock: Endringer i Github Action - nais/docker-build-push | ||
|
||
Vi har gjort noen endringer så nais/docker-build-push er mer robust ifm med rate-limiting ( TOO_MANY_REQUESTS ) ved generering av SBOM. | ||
Dette betyr forhåpentligvis at dette steget ikke skal feile lenger (som rapportert fra flere i #nais kanalen). | ||
|
||
I tillegg har vi gjort endringer som skal gjøre dette steget en god del raskere enn før! :tada: | ||
|
||
**Hva må dere gjøre?** Ingenting, bare deploye som før! | ||
|
||
**For de som lurer på hva vi har gjort:** | ||
- Innført github cache i nais/attest-sign for det Trivy kaller trivy-java-db - alle kjøringer etter at cachen er satt bør bli en del raskere! | ||
- Støtter fallback i Trivy for flere repositories for trivy-java-db , skal da sørge for at bygget ikke feiler om du blir rate limita på første forsøk | ||
- Satt opp en “passthrough cache” i GAR (google) som speiler/cacher Trivy sitt github repo (som også bør hjelpe på rate limiting) | ||
|
||
Si gjerne ifra om ting ikke fungerer som forventet! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters