Local workflow editor not displaying valid bitrise.yml file
asos-chrisblackmore opened this issue · 8 comments
When creating a new workflow on bitrise.io
from an empty template, the following (word for word, space for space) is added to bitrise.yml
:
workflow-test:
steps:
- script@1.1.5: {}
meta:
bitrise.io:
stack: osx-xcode-10.1.x
Notice that this includes a workflow specific stack (osx-xcode-10.1.x
) which was selected from the dropdown available under the Stack tab on bitrise.io.
However, when attempting to use this bitrise.yml
file with the local workflow editor I am presented with an empty editor - Workflow and Triggers tabs are empty:
In Terminal I receive the following:
Exception: RespondWith: Error: json: unsupported type: map[interface {}]interface {}
=> GET: /api/bitrise-yml.json - 18.434831ms ()
=> POST: /api/connection - 526ns ()
However, making a small change to the workflow in the local bitrise.yml
file - namely aligning stack
with bitrise.io
under meta
, everything seems to work:
workflow-test:
steps:
- script@1.1.5:
inputs:
- content: '# ruby ./path/to/script.rb'
meta:
bitrise.io:
stack: osx-xcode-10.1.x
I'm not entirely sure if this is an issue with the workflow editor, or that when selecting a workflow specific stack inserts incorrect information into the yml
file on bitrise.io
.
Here's the full bitrise.yml
that I'm working with:
format_version: "4"
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
project_type: ios
trigger_map:
- push_branch: develop
workflow: workflow-test
workflows:
workflow-test:
steps:
- script@1.1.5:
inputs:
- content: '# ruby ./path/to/script.rb'
meta:
bitrise.io:
stack: osx-xcode-10.1.x
Hi @asos-chrisblackmore! Thanks for your report, and sorry for the inconvenience! We started investigating the issue, will get back here with any updates we have!
Had the same issue and aligning stack
fixed it for me as well.
Hey there! Just wanted to let you know that there's no update yet, as we have tons of updates we are planning on implementing, and unfortunately at a point we have to prioritise one over the other, but rest assured that this is still in the works 🙂
Same issue -- aligning stack
also fixed
Hello @asos-chrisblackmore, @spenrose, @keima, @leotm, @jlo1 ,
Using the latest version of Bitrise CLI (1.42.0) should solve this issue. Can you please confirm that the issue no longer persists on your side? Thanks.
its not work in 1.37 but worked in 1.47. Thanks.