-
Notifications
You must be signed in to change notification settings - Fork 203
Open
Labels
Area: @shopify/app@shopify/app package issues@shopify/app package issuesType: EnhancementNew feature or requestNew feature or request
Description
What area(s) will this request affect?
App
What type of change do you want to see?
Substantial change to existing feature
Overview
Hey there,
After the --no-build flag was introduced (#5943), I started experimenting with my CI setup, building extensions with shopify app build
and deploying them using shopify app deploy --no-build
.
Overall, I’m loving it! I have a couple of suggestions though:
- The
shopify app build
command relies on the config file, but it only usesextension_directories
from it. Could we pass directories as an argument instead of needing a config file? The goal is to build once and switch between environments without relying on the config. For now, we’ve got a workaround using ashopify.app.build.toml
file, like this:
# This file is required by Shopify CLI to run the `shopify app build` command
# ---
# The actual configuration is deployed during `shopify app deploy --no-build` command from either:
# - shopify.app.staging.toml
# - shopify.app.production.toml
client_id = ""
extension_directories = ["packages/extensions/*"]
application_url = "https://.com"
embedded = true
[webhooks]
api_version = ""
[auth]
redirect_urls = []
- The
shopify app build
command doesn’t seem to validate extension TOML files. It’s fine for now, but it’d be nicer if issues like that were caught early.
Thanks!
Motivation
Improving app CI/CD
Metadata
Metadata
Assignees
Labels
Area: @shopify/app@shopify/app package issues@shopify/app package issuesType: EnhancementNew feature or requestNew feature or request