Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android orb version 1 was able to digest and use matrix job parameters, now fails with The value of name must be a string #38

Open
jkzilla opened this issue Apr 20, 2022 · 1 comment
Labels
backlog Identified as a backlog item, often combined with low-priority and help-wanted labels

Comments

@jkzilla
Copy link
Contributor

jkzilla commented Apr 20, 2022

Orb version

2.0.3

What happened

android orb version 1 was able to digest and use matrix job parameters in the run ui tests step (### Expected behavior)
- android/run-ui-tests:
matrix:
parameters:
system-image:
- system-images;android-30;default;x86_64
#- system-images;android-31;default;x86_64 // Test with newest release
name: "Test Android UI: <<matrix.system-image>>"

now fails with:

circleci config validate
Error: Error calling workflow: 'build_test_deploy'
Error calling job: 'android/run-ui-tests'
Unexpected executor invocation format
The value of `name` must be a string
Examples of correct executor invocation:
  executor: string-executor-name
  executor: {name: string-executor-name}
  executor: << parameters.executor-type-parameter >>
@KyleTryon
Copy link

Hello @jkzilla

We have a current usage example showcasing how to use the matrix feature here: https://circleci.com/developer/orbs/orb/circleci/android#usage-test-matrix

The example you shared is a little misformatted in the markdown but we believe there may be an issue with this line:
name: "Test Android UI: <<matrix.system-image>>"

It may be that the : or the following space are not allowed.

If you are able, please share the CircleCI pipeline where this issue occurred or a reproducible config.

@KyleTryon KyleTryon added the backlog Identified as a backlog item, often combined with low-priority and help-wanted labels label Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Identified as a backlog item, often combined with low-priority and help-wanted labels
Projects
None yet
Development

No branches or pull requests

2 participants