diff --git a/.circleci/config.yml b/.circleci/config.yml index 3cab756..7d007cf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,23 +1,19 @@ -version: 2 +version: 2.1 + +orbs: + sixrs-gke: sixriversystems/sixrs-gke@7 + jobs: build: docker: - image: circleci/node:8.12.0 steps: - checkout - - run: - name: Set Up Environment - command: | - sudo apt-get update && sudo apt-get install -y build-essential libbluetooth-dev - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config - git clone --depth 1 git@github.com:6RiverSystems/ci_scripts.git - ci_scripts/ci_tool.sh --setup_npm + - sixrs-gke/setup-private-npm - run: name: Install Dependencies command: npm ci - - run: - name: Calculate Version - command: ci_scripts/ci_tool.sh --run_release + - sixrs-gke/run-release - persist_to_workspace: root: ./ paths: @@ -29,10 +25,7 @@ jobs: steps: - attach_workspace: at: ./ - - run: - name: Run release - command: | - ci_scripts/ci_tool.sh --setup_npm + - sixrs-gke/setup-private-npm - run: name: npm publish command: npm publish