Hello folks,
I’m beginner on CircleCI and I’m struggling to make an private orb work.
Were is the scenario:
I’ve my private orb with a simple command:
commands:
lambda_deploy:
description: |
This command deploys a lambda function
steps:
- run:
command: npm install
name: Install dependecies
And I’m trying to reference this orb on another repository/workflow
version: 2.1
orbs:
myorb: xxxxxx/yyyyyyy@1.0.8
# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/2.0/configuration-reference/#jobs
jobs:
build:
docker:
- image: cimg/node:current
steps:
- checkout
- myorb/build_lambda
workflows:
Pipeline:
jobs:
- build
Every run I got this error:
-
Error calling workflow: 'Pipeline'
Error calling job: 'build'
Cannot find a definition for command named myorb/build_lambda
I’ve read lots of documentation but I can’t figure out why the workflow can’t find the definition of the command of my orb.
Thanks in advance