-
Notifications
You must be signed in to change notification settings - Fork 130
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
[Bug]: app update-urls deprecation has no alternative for CI/CD #4266
Comments
Hi! Thanks for creating the issue and sorry for the late response. Wouldn't it work for you to create different TOML files for your environments and then run |
@gonzaloriestra there is no |
Sorry, I meant There's a field in the TOML called |
Apologies for my late reply, I'll have a test with the config files and see if this works. it's a bit of a bloated approach compared to the cli keeps things a lot simpler as you don't need separate config files just to run one single command in the CI/CD and you have the overhead of now managing multiple configs. Would love to know the reasoning on how this is better than the removed cli command. Could you not have kept the cli for those that don't need the whole config? |
@gonzaloriestra i had already been setting that, actually. this is my toml: client_id = "foo"
name = "bar"
application_url = "baz"
embedded = true
[build]
include_config_on_deploy = true
[access_scopes]
scopes = "write_orders, read_orders, read_products, read_discounts, write_discounts, read_product_listings, unauthenticated_read_product_listings"
[auth]
redirect_urls = [
"qux",
]
[webhooks]
api_version = "2023-01"
|
Note that if you use |
I think it's relates to the --no-release flag. I tried on a new app and new store and it worked. |
Please confirm that you have:
In which of these areas are you experiencing a problem?
App
Expected behavior
app update-urls
has no alternative for CI/CD so we are no longer able to build preview builds that can update some development apps in our partners account for testing.We have 3 apps for testing staging work, and used update-urls in our build pipeline to set the urls correctly based on the build url for that preview.
Now that this cli has been removed how can we continue to run CI/CD effectively for our apps? Not every process works well in TOML files.
Actual behavior
Does not work
Verbose output
Reproduction steps
NA
Operating System
NA
Shopify CLI version (check your project's
package.json
if you're not sure)3
Shell
No response
Node version (run
node -v
if you're not sure)No response
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: