Skip to content

Commit

Permalink
release/ci: Fix artefact publishing (#31837)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <[email protected]>

Signed-off-by: phlax <[email protected]>
  • Loading branch information
phlax committed Feb 9, 2024
1 parent 29ad926 commit 96d2db4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .azure-pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ parameters:
displayName: "CI target"
type: string
default: release
- name: artifactName
displayName: "Artifact name"
type: string
default: ""
- name: artifactSuffix
displayName: "Suffix of artifact"
type: string
Expand Down Expand Up @@ -338,6 +342,9 @@ steps:
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: "$(Build.StagingDirectory)/envoy"
artifactName: ${{ parameters.ciTarget }}
${{ if eq(parameters.artifactName, '') }}:
artifactName: ${{ parameters.ciTarget }}
${{ if ne(parameters.artifactName, '') }}:
artifactName: ${{ parameters.artifactName }}
timeoutInMinutes: 10
condition: eq(${{ parameters.publishEnvoy }}, 'true')
1 change: 1 addition & 0 deletions .azure-pipelines/stage/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
name: target
- template: ../ci.yml
parameters:
artifactName: release
managedAgent: ${{ parameters.managedAgent }}
ciTarget: $(target.value)
cacheName: "release"
Expand Down
2 changes: 2 additions & 0 deletions .github/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ run:
- examples/**/*
- source/**/*
- tools/**/*
- VERSION.txt
verify:
paths:
- .bazelrc
Expand All @@ -149,6 +150,7 @@ run:
- examples/**/*
- source/**/*
- tools/**/*
- VERSION.txt
push: paths

tables:
Expand Down

0 comments on commit 96d2db4

Please sign in to comment.