shopware
No long description provided.
Installation
dagger install github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39
Entrypoint
Return Type
Shopware !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory | - | The shopware source code |
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
func (m *myModule) example() *Shopware {
return dag.
Shopware()
}
@function
def example() -> dag.Shopware:
return (
dag.shopware()
)
@func()
example(): Shopware {
return dag
.shopware()
}
Types
Shopware 🔗
source() 🔗
Return Type
Directory !
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
source
func (m *myModule) example() *Directory {
return dag.
Shopware().
Source()
}
@function
def example() -> dagger.Directory:
return (
dag.shopware()
.source()
)
@func()
example(): Directory {
return dag
.shopware()
.source()
}
ecs() 🔗
Return Type
String !
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
ecs
func (m *myModule) example(ctx context.Context) string {
return dag.
Shopware().
Ecs(ctx)
}
@function
async def example() -> str:
return await (
dag.shopware()
.ecs()
)
@func()
async example(): Promise<string> {
return dag
.shopware()
.ecs()
}
lintChangelog() 🔗
Return Type
String !
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
lint-changelog
func (m *myModule) example(ctx context.Context) string {
return dag.
Shopware().
LintChangelog(ctx)
}
@function
async def example() -> str:
return await (
dag.shopware()
.lint_changelog()
)
@func()
async example(): Promise<string> {
return dag
.shopware()
.lintChangelog()
}
lintSnippets() 🔗
Return Type
String !
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
lint-snippets
func (m *myModule) example(ctx context.Context) string {
return dag.
Shopware().
LintSnippets(ctx)
}
@function
async def example() -> str:
return await (
dag.shopware()
.lint_snippets()
)
@func()
async example(): Promise<string> {
return dag
.shopware()
.lintSnippets()
}
phpstan() 🔗
Return Type
String !
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
phpstan
func (m *myModule) example(ctx context.Context) string {
return dag.
Shopware().
Phpstan(ctx)
}
@function
async def example() -> str:
return await (
dag.shopware()
.phpstan()
)
@func()
async example(): Promise<string> {
return dag
.shopware()
.phpstan()
}
phpunit() 🔗
Executes a phpunit test suite
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
testsuite | String | "unit" | the name of the testsuite to run. possible values are: unit, migration |
path | String | - | a subpath the testsuite should be limited to possible values are: tests/integration/Administration, tests/integration/Core/Checkout, tests/integration/Core/Content, tests/integration/Core/Framework, tests/integration/Core/Installer, tests/integration/Core/Maintenance, tests/integration/Core/System, tests/integration/Elasticsearch, tests/integration/Storefront, . |
coverage | Boolean | false | whether to run the testsuite with coverage |
stopOnFailure | Boolean | true | whether to stop the test execution after the first failure |
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
phpunit
func (m *myModule) example() *Container {
return dag.
Shopware().
Phpunit()
}
@function
def example() -> dagger.Container:
return (
dag.shopware()
.phpunit()
)
@func()
example(): Container {
return dag
.shopware()
.phpunit()
}
phpunitUnit() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
coverage | Boolean | false | whether to run the testsuite with coverage |
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
phpunit-unit
func (m *myModule) example(ctx context.Context) string {
return dag.
Shopware().
PhpunitUnit(ctx)
}
@function
async def example() -> str:
return await (
dag.shopware()
.phpunit_unit()
)
@func()
async example(): Promise<string> {
return dag
.shopware()
.phpunitUnit()
}
phpunitMigration() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
coverage | Boolean | false | whether to run the testsuite with coverage |
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
phpunit-migration
func (m *myModule) example(ctx context.Context) string {
return dag.
Shopware().
PhpunitMigration(ctx)
}
@function
async def example() -> str:
return await (
dag.shopware()
.phpunit_migration()
)
@func()
async example(): Promise<string> {
return dag
.shopware()
.phpunitMigration()
}
phpunitIntegration() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
testsuite | String ! | - | the name of the testsuite to run possible values are: administration, checkout, content, framework, installer, maintenance, system, elasticsearch, storefront |
coverage | Boolean | false | whether to run the testsuite with coverage |
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
phpunit-integration --testsuite string
func (m *myModule) example(ctx context.Context, testsuite string) string {
return dag.
Shopware().
PhpunitIntegration(ctx, testsuite)
}
@function
async def example(testsuite: str) -> str:
return await (
dag.shopware()
.phpunit_integration(testsuite)
)
@func()
async example(testsuite: string): Promise<string> {
return dag
.shopware()
.phpunitIntegration(testsuite)
}
phpunitIntegrationAll() 🔗
Run all integration tests consecutively
Return Type
String !
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
phpunit-integration-all
func (m *myModule) example(ctx context.Context) string {
return dag.
Shopware().
PhpunitIntegrationAll(ctx)
}
@function
async def example() -> str:
return await (
dag.shopware()
.phpunit_integration_all()
)
@func()
async example(): Promise<string> {
return dag
.shopware()
.phpunitIntegrationAll()
}
phpunitIntegrationAllParallel() 🔗
!EXPERIMENTAL - Run all integration tests in parallel
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
parallel | Integer | 4 | number of parallel tests to run |
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
phpunit-integration-all-parallel
func (m *myModule) example(ctx context.Context) string {
return dag.
Shopware().
PhpunitIntegrationAllParallel(ctx)
}
@function
async def example() -> str:
return await (
dag.shopware()
.phpunit_integration_all_parallel()
)
@func()
async example(): Promise<string> {
return dag
.shopware()
.phpunitIntegrationAllParallel()
}
basicStack() 🔗
Return Type
Container !
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
basic-stack
func (m *myModule) example() *Container {
return dag.
Shopware().
BasicStack()
}
@function
def example() -> dagger.Container:
return (
dag.shopware()
.basic_stack()
)
@func()
example(): Container {
return dag
.shopware()
.basicStack()
}
devStack() 🔗
Return Type
Service !
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
dev-stack
func (m *myModule) example() *Service {
return dag.
Shopware().
DevStack()
}
@function
def example() -> dagger.Service:
return (
dag.shopware()
.dev_stack()
)
@func()
example(): Service {
return dag
.shopware()
.devStack()
}
baseContainer() 🔗
Return Type
Container !
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
base-container
func (m *myModule) example() *Container {
return dag.
Shopware().
BaseContainer()
}
@function
def example() -> dagger.Container:
return (
dag.shopware()
.base_container()
)
@func()
example(): Container {
return dag
.shopware()
.baseContainer()
}
sourceWithVendor() 🔗
Return Type
Directory !
Example
dagger -m github.com/philipreinken/daggerverse/shopware@4403a6a02cb0bf2a159321be504ce5a237f15e39 call \
source-with-vendor
func (m *myModule) example() *Directory {
return dag.
Shopware().
SourceWithVendor()
}
@function
def example() -> dagger.Directory:
return (
dag.shopware()
.source_with_vendor()
)
@func()
example(): Directory {
return dag
.shopware()
.sourceWithVendor()
}