Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OneBranch.body.yml: publish the blob-csi-driver chart #45

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions pipelines/OneBranch.body.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,22 @@
# call of this template.
parameters:
- name: acr
displayName: ACR for container image publish
displayName: ACR for container image and chart publish
type: string
- name: architectures
displayName: Architectures to build
type: object
- name: helmPath
displayName: Path to the Helm chart to package; latest will build version from BLOB_CSI_VERSION
type: string
default: "latest"
- name: buildType
displayName: The type of build.
type: string
values:
- official
- buddy


stages:
- stage: setup
jobs:
Expand Down Expand Up @@ -176,6 +179,7 @@ stages:
variables:
ob_outputDirectory: "$(Build.SourcesDirectory)/out"
steps:
- checkout: self
- checkout: Hydra
- template: pipelines/templates/job_start.yml@Hydra
parameters:
Expand Down Expand Up @@ -227,7 +231,16 @@ stages:
images:
- $(BlobImageRepo)

- template: pipelines/templates/package_and_push_helm_chart.yml@Hydra
parameters:
displayName: "Package and push blob-csi-driver Helm chart"
${{ if eq(parameters.helmPath, 'latest') }}:
chartPath: Hydra-blob-csi-driver/charts/$(blobCsiVersion)/blob-csi-driver
${{ else }}:
chartPath: ${{ parameters.helmPath }}
chartVer: "$(blobCsiVersion)"
acr: ${{ parameters.acr }}

- task: ComponentGovernanceComponentDetection@0
inputs:
ignoreDirectories: s # Hydra is checked out to "s"

Loading