Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Unable to add new command/job and a test for it in the same commit #37

Open
jsab opened this issue Apr 1, 2022 · 0 comments
Open

Unable to add new command/job and a test for it in the same commit #37

jsab opened this issue Apr 1, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@jsab
Copy link

jsab commented Apr 1, 2022

Orb version:

Which orb?

What happened:

When using the Orb-Project-Template, if you create a commit for the orb you are working on that contains both a new command or job and an integration test for it, workflow execution will fail with a message similar to:

Error calling workflow: 'integration-test_deploy'Error calling job: 'integration-test-3'Cannot find a definition for command named cci-orb/test2

Expected behavior:

Being able to add a command and a test for it in the same commit.

If that is not possible to fix, clear documentation about this limitation in the readme would be appreciated.

Additional Information:

The workaround I've been using is to add another commit with the test removed from .circleci/config.yml and push it. Once that has been built and deployed you can then drop the commit, force push and finally get to where you wanted to be in the first place.

Looks like other people are also encountering the problem for example https://discuss.circleci.com/t/jobs-in-private-orbs-not-recognized-by-integration-tests/42812

@jsab jsab added the bug Something isn't working label Apr 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant