Skip to content

Commit

Permalink
update action
Browse files Browse the repository at this point in the history
  • Loading branch information
xuan-cao-swi committed Jul 19, 2024
1 parent 583fc5d commit 0daf430
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lambda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ set -e
if [ $SOLARWINDS_SOURCE = 'Local' ]; then
cd ../
sudo apt-get update && sudo apt-get install -y --no-install-recommends ruby ruby-dev g++ make swig bison
gem install bundler
echo 'gem: --no-document' >> ~/.gemrc
bundle install --without development --without test
bundle exec rake fetch_oboe_file["prod"]
gem build solarwinds_apm.gemspec
sudo gem install bundler
sudo echo 'gem: --no-document' >> ~/.gemrc
sudo bundle install --without development --without test
sudo bundle exec rake fetch_oboe_file["prod"]
sudo gem build solarwinds_apm.gemspec
CURRENT_GEM=$(ls | grep solarwinds_apm-*.gem)
mv $CURRENT_GEM lambda/otel/layer/
cd -
Expand Down

0 comments on commit 0daf430

Please sign in to comment.