CCP
No long description provided.
Installation
dagger install github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9
Entrypoint
Return Type
Ccp !
Arguments
Name | Type | Description |
---|---|---|
root | Directory | Root source directory. |
frontend | Directory | Frontend source directory. |
Example
dagger -m github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9 call \
func (m *myModule) example() *Ccp {
return dag.
CCP()
}
@function
def example() -> dag.Ccp:
return (
dag.c_c_p()
)
@func()
example(): Ccp {
return dag
.cCP()
}
Types
Ccp 🔗
worker() 🔗
Return Type
Worker !
Example
dagger -m github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9 call \
worker
func (m *myModule) example() *CcpWorker {
return dag.
CCP().
Worker()
}
@function
def example() -> dag.CcpWorker:
return (
dag.c_c_p()
.worker()
)
@func()
example(): CcpWorker {
return dag
.cCP()
.worker()
}
generateDumps() 🔗
Return Type
Directory !
Example
dagger -m github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9 call \
generate-dumps
func (m *myModule) example() *Directory {
return dag.
CCP().
GenerateDumps()
}
@function
def example() -> dagger.Directory:
return (
dag.c_c_p()
.generate_dumps()
)
@func()
example(): Directory {
return dag
.cCP()
.generateDumps()
}
etoe() 🔗
Run the e2e tests.
This function configures
Return Type
Void !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
test | String | - | No description provided |
dbMode | Enum ! | "USE_DUMPS" | No description provided |
Example
dagger -m github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9 call \
etoe
func (m *myModule) example(ctx context.Context, dbMode ) {
return dag.
CCP().
Etoe(ctxdbMode)
}
@function
async def example(db_mode: ) -> None:
return await (
dag.c_c_p()
.etoe(db_mode)
)
@func()
async example(dbMode: ): Promise<void> {
return dag
.cCP()
.etoe(dbMode)
}
build() 🔗
Return Type
Build !
Example
dagger -m github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9 call \
build
func (m *myModule) example() *CcpBuild {
return dag.
CCP().
Build()
}
@function
def example() -> dag.CcpBuild:
return (
dag.c_c_p()
.build()
)
@func()
example(): CcpBuild {
return dag
.cCP()
.build()
}
lint() 🔗
Return Type
Lint !
Example
dagger -m github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9 call \
lint
func (m *myModule) example() *CcpLint {
return dag.
CCP().
Lint()
}
@function
def example() -> dag.CcpLint:
return (
dag.c_c_p()
.lint()
)
@func()
example(): CcpLint {
return dag
.cCP()
.lint()
}
info() 🔗
Return Type
Void !
Example
dagger -m github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9 call \
info
func (m *myModule) example(ctx context.Context) {
return dag.
CCP().
Info(ctx)
}
@function
async def example() -> None:
return await (
dag.c_c_p()
.info()
)
@func()
async example(): Promise<void> {
return dag
.cCP()
.info()
}
Worker 🔗
analyzeClientModules() 🔗
AnalyzeClientModules generates a report of all Archivematica client modules.
$ dagger call worker analyze-client-modules –dir=https://github.com/artefactual/archivematica#v1.17.0-rc.2:/src/MCPClient/lib/clientScripts
Return Type
ClientModulesReport !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
dir | Directory | - | No description provided |
Example
dagger -m github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9 call \
worker \
analyze-client-modules
func (m *myModule) example() *CcpClientModulesReport {
return dag.
CCP().
Worker().
AnalyzeClientModules()
}
@function
def example() -> dag.CcpClientModulesReport:
return (
dag.c_c_p()
.worker()
.analyze_client_modules()
)
@func()
example(): CcpClientModulesReport {
return dag
.cCP()
.worker()
.analyzeClientModules()
}
Build 🔗
workerImage() 🔗
Return Type
Container !
Example
dagger -m github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9 call \
build \
worker-image
func (m *myModule) example() *Container {
return dag.
CCP().
Build().
WorkerImage()
}
@function
def example() -> dagger.Container:
return (
dag.c_c_p()
.build()
.worker_image()
)
@func()
example(): Container {
return dag
.cCP()
.build()
.workerImage()
}
ccpimage() 🔗
Return Type
Container !
Example
dagger -m github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9 call \
build \
ccpimage
func (m *myModule) example() *Container {
return dag.
CCP().
Build().
Ccpimage()
}
@function
def example() -> dagger.Container:
return (
dag.c_c_p()
.build()
.ccpimage()
)
@func()
example(): Container {
return dag
.cCP()
.build()
.ccpimage()
}
mySqlcontainer() 🔗
Return Type
Container !
Example
dagger -m github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9 call \
build \
my-sqlcontainer
func (m *myModule) example() *Container {
return dag.
CCP().
Build().
MySqlcontainer()
}
@function
def example() -> dagger.Container:
return (
dag.c_c_p()
.build()
.my_sqlcontainer()
)
@func()
example(): Container {
return dag
.cCP()
.build()
.mySqlcontainer()
}
Lint 🔗
source() 🔗
Return Type
Directory !
Example
dagger -m github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9 call \
lint \
source
func (m *myModule) example() *Directory {
return dag.
CCP().
Lint().
Source()
}
@function
def example() -> dagger.Directory:
return (
dag.c_c_p()
.lint()
.source()
)
@func()
example(): Directory {
return dag
.cCP()
.lint()
.source()
}
go() 🔗
Return Type
Container !
Example
dagger -m github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9 call \
lint \
go
func (m *myModule) example() *Container {
return dag.
CCP().
Lint().
Go()
}
@function
def example() -> dagger.Container:
return (
dag.c_c_p()
.lint()
.go()
)
@func()
example(): Container {
return dag
.cCP()
.lint()
.go()
}
ClientModulesReport 🔗
dir() 🔗
Return Type
Directory !
Example
dagger -m github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9 call \
worker \
analyze-client-modules \
dir
func (m *myModule) example() *Directory {
return dag.
CCP().
Worker().
AnalyzeClientModules().
Dir()
}
@function
def example() -> dagger.Directory:
return (
dag.c_c_p()
.worker()
.analyze_client_modules()
.dir()
)
@func()
example(): Directory {
return dag
.cCP()
.worker()
.analyzeClientModules()
.dir()
}
review() 🔗
Return Type
Container !
Example
dagger -m github.com/artefactual-labs/ccp@c7abec7241ba3e1d9c306e4cec2f1271e6ce4aa9 call \
worker \
analyze-client-modules \
review
func (m *myModule) example() *Container {
return dag.
CCP().
Worker().
AnalyzeClientModules().
Review()
}
@function
def example() -> dagger.Container:
return (
dag.c_c_p()
.worker()
.analyze_client_modules()
.review()
)
@func()
example(): Container {
return dag
.cCP()
.worker()
.analyzeClientModules()
.review()
}