Replies: 3 comments 1 reply
-
Hi @abdoufma, you do not need to visit the editor nor change from the UI to yaml. However, please note that |
Beta Was this translation helpful? Give feedback.
-
Edit: After a lot of digging, and some misleading SSH errors, I found a fix: when creating the app, I was passing It appears that when it encounters I experimented with other values for Note : when projectType is omitted, the server gives a very limited response (only Also note that this only happens when trying to add environment variables, starting builds for example, works fine. Here's hoping that this gets fixed soon. |
Beta Was this translation helpful? Give feedback.
-
This discussion is being closed due to no activity in the last 14 days. You can reopen the discussion at any time if needed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using the codemagic API automate most of my work , but now I want to add Environment variables to my apps (still using the API) and I'm getting the
Workflow <workflowId> does not exist
error as a response.After digging, I found out that by default, all apps created using the API have their
settingsSource
attribute set to toui
, andisConfigured
set tonull
which means that mycodemagic.yaml
configuration is simply being ignored!Sure enough, upon switching the app to use YAML configuration from the UI, the API call worked.
This, however, doesn't solve my problem; I want automate the entire process, so I cannot afford to manually visit the editor everytime.
I haven't found anything in the docs about setting
settingSource
orpreferUISettings
to make an app respect the YAML configuration by default, hence my question here.In my opinion, an App created by the API, should by default assume (or better yet, check) that a config file is present on the repo.
Is there a workaround I can use to achieve what I want here, or si that simply not possible at the moment?
Beta Was this translation helpful? Give feedback.
All reactions