Can't define resource_class and branches
See original GitHub issueHey,
According to the official docs we should be able to define the resource_class and branches keys within a job. But when trying to do it using this orb I get the following error:
# Error calling workflow: 'build'
# Error calling job: 'cypress/run'
# Unexpected argument(s): resource_class, only
#
# -------
# Warning: This configuration was auto-generated to show you the message above.
# Don't rerun this job. Rerunning will have no effect.
false
Here is the yml file:
version: 2.1
orbs:
cypress: cypress-io/cypress@1
workflows:
build:
jobs:
- cypress/run:
command: npm run e2e:ci
working_directory: client
resource_class: xlarge
branches:
only:
- feature/cypress
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
8 branches for try with resources - jacoco coverage possible?
All branches can be reached, the try-with-resources is fairly simple compiler sugar (at least compared to switch-on-string ) - if they cannot be...
Read more >Define YAML resources for Azure Pipelines - Microsoft Learn
Learn how to define YAML resources that can be consumed anywhere in your pipelines.
Read more >When C# script extends Resource class, the resource doesn't ...
I have tackled this issue and this problem is harder than I think. Currently, there exists circular dependency between resourcePreview and ...
Read more >Configuring CircleCI
A map of environment variable names and values. A map defining rules to allow/block execution of specific branches for a single job that...
Read more >Extending with Shared Libraries - Jenkins
Defining custom steps Global variables defined in Shared Libraries must be named with all lowercase or "camelCased" in order to be loaded properly...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Why has this been closed? It still does not work…
Closing as this is not implemented as possible via CircleCI orb currently.