Skip to content

Commit

Permalink
Fix telemetry build issues (sonic-net#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
rupesh-k authored Mar 19, 2020
1 parent 60c452e commit ff0f678
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion jenkins/common/sonic-telemetry-build-pr/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ pipeline {
refspec: '+refs/pull/*:refs/remotes/origin/pr/*']]])
}
copyArtifacts(projectName: 'vs/buildimage-vs-all', filter: '**/*.deb', target: 'buildimage', flatten: false)
copyArtifacts(projectName: 'sonic-mgmt-framework', filter: '**/*.deb', target: 'mgmt-framework', flatten: false)
}
}

Expand Down
6 changes: 6 additions & 0 deletions scripts/common/sonic-telemetry-build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ sudo sed -ri 's/^unixsocketperm .../unixsocketperm 777/' /etc/redis/redis.conf
sudo sed -ri 's/redis-server.sock/redis.sock/' /etc/redis/redis.conf
sudo service redis-server start

# Install libyang
sudo dpkg -i buildimage/target/debs/stretch/libyang*.deb

# Clone sonic-mgmt-framework repository
git clone https:/Azure/sonic-mgmt-framework

pushd sonic-telemetry

dpkg-buildpackage -rfakeroot -b -us -uc
Expand Down

0 comments on commit ff0f678

Please sign in to comment.