-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for ARM64 to lambda-promtail drone build job (#5354)
* Add support for ARM64 to lambda-promtail drone build job * update drone.yml based on tomas' changes Signed-off-by: Callum Styan <[email protected]> * Add entry to CHANGELOG.md * Change Docker image for building Promtail Lambda * reverse previous commit Signed-off-by: Callum Styan <[email protected]> * Add manifest for ECR Public images * Minor change to drone.yml for volume mounts + generate drone.jsonnet again. Signed-off-by: Callum Styan <[email protected]> * temp, test drone changes without having to push to main branch Signed-off-by: Callum Styan <[email protected]> * Fix linting issues Signed-off-by: Callum Styan <[email protected]> * temp, push the lambda-promtail images always so we can test the manifest task Signed-off-by: Callum Styan <[email protected]> * We don't build a base arm image, only arm64 Signed-off-by: Callum Styan <[email protected]> * Add volumes definition to ECR manifest pipeline * Regenerate drone.yml with Tomas' most recent commit Signed-off-by: Callum Styan <[email protected]> * Test some some drone changes. Signed-off-by: Callum Styan <[email protected]> * fix lint error in drone.jsonnet Signed-off-by: Callum Styan <[email protected]> * Drop out one of my more recent test changes. Signed-off-by: Callum Styan <[email protected]> * Regenerate drone config. Signed-off-by: Callum Styan <[email protected]> Co-authored-by: Callum Styan <[email protected]>
- Loading branch information
Showing
4 changed files
with
209 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
image: public.ecr.aws/grafana/{{config.target}}:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}{{build.branch}}-{{substr 0 7 build.commit}}{{/if}} | ||
tags: | ||
- main | ||
{{#if build.tag}} | ||
- latest | ||
{{/if}} | ||
{{#if build.tags}} | ||
{{#each build.tags}} | ||
- {{this}} | ||
{{/each}} | ||
{{/if}} | ||
manifests: | ||
- image: public.ecr.aws/grafana/{{config.target}}:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}{{build.branch}}-{{substr 0 7 build.commit}}{{/if}}-amd64 | ||
platform: | ||
architecture: amd64 | ||
os: linux | ||
- image: public.ecr.aws/grafana/{{config.target}}:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}{{build.branch}}-{{substr 0 7 build.commit}}{{/if}}-arm64 | ||
platform: | ||
architecture: arm64 | ||
os: linux | ||
variant: v8 |
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