From ea449d14cc565e949febd9d48645acd620869d15 Mon Sep 17 00:00:00 2001 From: Lasse Alm Date: Tue, 8 Oct 2024 12:37:00 +0200 Subject: [PATCH] cleanup chain prometheus exporter --- .../chain-prometheus-exporter.Jenkinsfile | 33 ------------------- 1 file changed, 33 deletions(-) delete mode 100644 chain-prometheus-exporter/scripts/chain-prometheus-exporter.Jenkinsfile diff --git a/chain-prometheus-exporter/scripts/chain-prometheus-exporter.Jenkinsfile b/chain-prometheus-exporter/scripts/chain-prometheus-exporter.Jenkinsfile deleted file mode 100644 index 2d8a31a4..00000000 --- a/chain-prometheus-exporter/scripts/chain-prometheus-exporter.Jenkinsfile +++ /dev/null @@ -1,33 +0,0 @@ -@Library('concordium-pipelines') _ -pipeline { - agent any - environment { - ecr_repo_domain = '192549843005.dkr.ecr.eu-west-1.amazonaws.com' - } - stages { - stage('ecr-login') { - steps { - ecrLogin(env.ecr_repo_domain, 'eu-west-1') - } - } - stage('build') { - environment { - image_repo = "${ecr_repo_domain}/concordium/chain-prometheus-exporter" - image_name = "${image_repo}:${image_tag}" - } - steps { - sh '''\ - docker build \ - --build-arg build_image=rust:${rust_version}-buster\ - --build-arg base_image=debian:buster\ - --label rust_version="${rust_version}" \ - -f chain-prometheus-exporter/scripts/build.Dockerfile\ - -t "${image_name}"\ - --no-cache\ - . - docker push "${image_name}" - '''.stripIndent() - } - } - } -}