From c819f915a8d361d9953c57fe97e60df7772a221f Mon Sep 17 00:00:00 2001 From: Olga Naidjonoka Date: Thu, 30 Nov 2023 15:33:47 +0200 Subject: [PATCH 1/2] added bk build badge and cleaned pre-exit script --- .buildkite/hooks/pre-exit | 8 -------- README.md | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.buildkite/hooks/pre-exit b/.buildkite/hooks/pre-exit index 9045f011..9404a061 100644 --- a/.buildkite/hooks/pre-exit +++ b/.buildkite/hooks/pre-exit @@ -14,13 +14,5 @@ if [[ ( "$BUILDKITE_PIPELINE_SLUG" == "golang-crossbuild" || "$BUILDKITE_PIPELIN docker logout "${DOCKER_REGISTRY}" fi -#if [[ "$BUILDKITE_PIPELINE_SLUG" == "llvm-apple" && "$BUILDKITE_STEP_KEY" =~ ^build ]]; then -# google_cloud_logout_active_account -#fi -# -#if [[ "$BUILDKITE_PIPELINE_SLUG" == "llvm-apple" && ("$BUILDKITE_STEP_KEY" =~ ^build || "$BUILDKITE_STEP_KEY" =~ ^publish) ]]; then -# docker logout "${DOCKER_REGISTRY}" -#fi - # Ensure that any temporal files created during any step are removed cleanup diff --git a/README.md b/README.md index 1852a3ea..83005da4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://beats-ci.elastic.co/buildStatus/icon?job=golang-crossbuild%2Fgolang-crossbuild-mbp%2Fmain)](https://beats-ci.elastic.co/job/golang-crossbuild/job/golang-crossbuild-mbp/job/main/) +[![Build status](https://badge.buildkite.com/a62e956ff483d20043847488a8797382db305653ea9fac86b2.svg)](https://buildkite.com/elastic/golang-crossbuild) # golang-crossbuild Docker images From bbbfa379e3859fdf73851804a876fabc904b0bde Mon Sep 17 00:00:00 2001 From: Olga Naidjonoka Date: Thu, 30 Nov 2023 16:34:17 +0200 Subject: [PATCH 2/2] added build badges for all pipelines --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 83005da4..86dad1d3 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ -[![Build status](https://badge.buildkite.com/a62e956ff483d20043847488a8797382db305653ea9fac86b2.svg)](https://buildkite.com/elastic/golang-crossbuild) +| | main | 1.20 | +|-------------------|------|-| +| golang-crossbuild |[![Build status](https://badge.buildkite.com/a62e956ff483d20043847488a8797382db305653ea9fac86b2.svg?branch=main)](https://buildkite.com/elastic/golang-crossbuild/builds?branch=main)|[![Build status](https://badge.buildkite.com/a62e956ff483d20043847488a8797382db305653ea9fac86b2.svg?branch=1.20)](https://buildkite.com/elastic/golang-crossbuild/builds?branch=1.20)| +| llvm-apple |[![Build status](https://badge.buildkite.com/608fe26d86b5da77dad646eec77944c306e5ad3a427c88dcf5.svg?branch=main)](https://buildkite.com/elastic/llvm-apple/builds?branch=main)|[![Build status](https://badge.buildkite.com/608fe26d86b5da77dad646eec77944c306e5ad3a427c88dcf5.svg?branch=1.20)](https://buildkite.com/elastic/llvm-apple/builds?branch=1.20)| +| fpm |[![Build status](https://badge.buildkite.com/86216c62729e32e235059e42d58bfb54901c20bf3394c704f3.svg?branch=main)](https://buildkite.com/elastic/fpm/builds?branch=main)|[![Build status](https://badge.buildkite.com/86216c62729e32e235059e42d58bfb54901c20bf3394c704f3.svg?branch=1.20)](https://buildkite.com/elastic/fpm/builds?branch=1.20)| + # golang-crossbuild Docker images