Skip to content

Commit bf3df41

Browse files
committed
azure-pipelines-rpi: add upload to Cloudsmith support
Implement upload to Cloudsmith step in the rpi ci infrastructure. Signed-off-by: Andreea Andrisan <Andreea.Andrisan@analog.com>
1 parent 78327b7 commit bf3df41

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

azure-pipelines-rpi.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ pr:
99
- rpi-6.6.y
1010
- rpi-6.12.y
1111

12+
resources:
13+
repositories:
14+
- repository: wiki-scripts
15+
type: github
16+
name: analogdevicesinc/wiki-scripts
17+
endpoint: analogdevicesinc
18+
1219
stages:
1320
- stage: Builds
1421
jobs:
@@ -119,3 +126,24 @@ stages:
119126
ARTIFACTORY_PATH: $(PATH)
120127
ARTIFACTORY_TOKEN: $(TOKEN)
121128
displayName: "Push to Artifactory"
129+
130+
- job: Push_to_Cloudsmith
131+
condition: succeeded()
132+
pool:
133+
name: Default
134+
demands:
135+
- agent.name -equals linux-rpi
136+
steps:
137+
- checkout: self
138+
fetchDepth: 1
139+
clean: true
140+
- checkout: wiki-scripts
141+
fetchDepth: 1
142+
clean: true
143+
- task: DownloadPipelineArtifact@2
144+
inputs:
145+
path: $(Build.SourcesDirectory)/bin
146+
- bash: $(Build.SourcesDirectory)/linux/ci/travis/prepare_artifacts_rpi.sh cloudsmith
147+
env:
148+
CLOUDSMITH_API_KEY: $(CLOUDSMITH_API_KEY)
149+
displayName: "Push to Cloudsmith"

0 commit comments

Comments
 (0)