Skip to content

Commit

Permalink
fix: blt
Browse files Browse the repository at this point in the history
  • Loading branch information
dnikitop committed Oct 17, 2024
1 parent 33d3eb1 commit 1eeb8b8
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ orbs:
sixrs-gke: sixriversystems/sixrs-gke@7

jobs:
build:
blt:
docker:
- image: osrf/ros:iron-desktop
steps:
Expand All @@ -16,7 +16,7 @@ jobs:
- sixrs-gke/run-release
- run:
name: install
command: source /opt/ros/iron/setup.bash && npm ci && npm publish
command: source /opt/ros/iron/setup.bash && npm ci && && npm run build && npm run test && npm publish
- persist_to_workspace:
root: ./
paths:
Expand All @@ -35,24 +35,13 @@ jobs:
- run:
name: setup node and run tests
command: |
sudo apt update &&\
sudo apt install -q -y curl &&\
curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh -o ~/install_nvm.sh &&\
bash ~/install_nvm.sh &&\
echo "sourcing .profile" &&\
source ~/.profile &&\
echo "sourcing .bashrc" &&\
source ~/.bashrc &&\
curl -o /tmp/nodejs.deb https://deb.nodesource.com/node_20.x/pool/main/n/nodejs/nodejs_20.15.1-1nodesource1_$(dpkg --print-architecture).deb && apt-get update && apt-get install -y /tmp/nodejs.deb &&\
curl -o /tmp/nodejs.deb https://deb.nodesource.com/node_20.x/pool/main/n/nodejs/nodejs_20.15.1-1nodesource1_$(dpkg --print-architecture).deb && apt-get update && apt-get install -y /tmp/nodejs.deb && \
source /opt/ros/iron/setup.bash && \
npm run test
workflows:
version: 2
build:
jobs:
- build:
context: 6rs-circle
- test:
- blt:
context: 6rs-circle
requires:
- build

0 comments on commit 1eeb8b8

Please sign in to comment.