Skip to content

Commit

Permalink
libcloud: drop code to upload Kubevirt
Browse files Browse the repository at this point in the history
This is going to be handled by the container pushing code in the release
job so we don't need it here.

The buildextend-kubevirt --upload pieces were also removed in
coreos/coreos-assembler@a4cf183
so it doesn't work anyway.
  • Loading branch information
dustymabe committed Apr 19, 2023
1 parent 2068a3f commit fe24193
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions libcloud.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -259,24 +259,6 @@ def upload_to_clouds(pipecfg, basearch, buildID, stream) {
}
}
}
credentials = [file(variable: "KUBEVIRT_IMAGE_UPLOAD_CONFIG",
credentialsId: "kubevirt-image-upload-config")]
if (pipecfg.clouds?.kubevirt &&
artifacts.contains("kubevirt") &&
utils.credentialsExist(credentials)) {
def creds = credentials
uploaders["☁️ ⬆️ :kubevirt"] = {
withCredentials(creds) {
utils.syncCredentialsIfInRemoteSession(["KUBEVIRT_IMAGE_UPLOAD_CONFIG"])
def c = pipecfg.clouds.kubevirt
shwrap("""coreos-assembler buildextend-kubevirt \
--upload \
--name ${c.name} \
--repository ${c.repository}
""")
}
}
}
credentials = [file(variable: "POWERVS_IMAGE_UPLOAD_CONFIG",
credentialsId: "powervs-image-upload-config")]
if (pipecfg.clouds?.powervs &&
Expand Down

0 comments on commit fe24193

Please sign in to comment.