From a8253d439515bbe273f89c58eb59d9fd8b7794dd Mon Sep 17 00:00:00 2001 From: Ming Xiao Date: Tue, 5 Nov 2024 13:57:58 -0800 Subject: [PATCH] Remove deprecated build-candidate.yml task We are no longer uploading build candidates to a bucket. The release is built when needed within the respective job. Signed-off-by: Brian Upton --- ci/pipeline.yml | 2 +- ci/tasks/build-candidate.sh | 18 ------------------ ci/tasks/build-candidate.yml | 13 ------------- 3 files changed, 1 insertion(+), 32 deletions(-) delete mode 100755 ci/tasks/build-candidate.sh delete mode 100644 ci/tasks/build-candidate.yml diff --git a/ci/pipeline.yml b/ci/pipeline.yml index 7e3f662b..514d1ac8 100644 --- a/ci/pipeline.yml +++ b/ci/pipeline.yml @@ -333,7 +333,7 @@ jobs: resource_types: - name: terraform - type: docker-image + type: registry-image source: repository: ljfranklin/terraform-resource username: ((docker.username)) diff --git a/ci/tasks/build-candidate.sh b/ci/tasks/build-candidate.sh deleted file mode 100755 index 21667177..00000000 --- a/ci/tasks/build-candidate.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash - -set -e -set -x - -semver=$(cat version-semver/number) -cpi_release_name="bosh-openstack-cpi" - -echo "using bosh CLI version..." -bosh-go --version - -echo "building CPI release..." -cd bosh-openstack-cpi-release - -bosh-go -n create-release \ - --name "${cpi_release_name}" \ - --version "${semver}" \ - --tarball "../candidate/${cpi_release_name}-${semver}.tgz" diff --git a/ci/tasks/build-candidate.yml b/ci/tasks/build-candidate.yml deleted file mode 100644 index 947f30eb..00000000 --- a/ci/tasks/build-candidate.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -platform: linux -image_resource: - type: docker-image - source: - repository: boshcpi/openstack-cpi-release -inputs: - - name: bosh-openstack-cpi-release - - name: version-semver -outputs: - - name: candidate -run: - path: bosh-openstack-cpi-release/ci/tasks/build-candidate.sh