Dirk
build pipeline. This pipeline can run on any platform that supports Docker.Installation
dagger install github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631
Entrypoint
Return Type
Dirk
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
func (m *myModule) example() *Dirk {
return dag.
Dirk()
}
@function
def example() -> dag.Dirk:
return (
dag.dirk()
)
@func()
example(): Dirk {
return dag
.dirk()
}
Types
Dirk 🔗
Dirk
buildName() 🔗
Unity Build Name
Return Type
String !
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
build-name
func (m *myModule) example(ctx context.Context) string {
return dag.
Dirk().
BuildName(ctx)
}
@function
async def example() -> str:
return await (
dag.dirk()
.build_name()
)
@func()
async example(): Promise<string> {
return dag
.dirk()
.buildName()
}
buildTarget() 🔗
Unity Build Target
Return Type
String !
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
build-target
func (m *myModule) example(ctx context.Context) string {
return dag.
Dirk().
BuildTarget(ctx)
}
@function
async def example() -> str:
return await (
dag.dirk()
.build_target()
)
@func()
async example(): Promise<string> {
return dag
.dirk()
.buildTarget()
}
gameciVersion() 🔗
GameCI Version
Return Type
String !
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
gameci-version
func (m *myModule) example(ctx context.Context) string {
return dag.
Dirk().
GameciVersion(ctx)
}
@function
async def example() -> str:
return await (
dag.dirk()
.gameci_version()
)
@func()
async example(): Promise<string> {
return dag
.dirk()
.gameciVersion()
}
junitTransform() 🔗
Junit Transform Path
Return Type
File !
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
junit-transform
func (m *myModule) example() *File {
return dag.
Dirk().
JunitTransform()
}
@function
def example() -> dagger.File:
return (
dag.dirk()
.junit_transform()
)
@func()
example(): File {
return dag
.dirk()
.junitTransform()
}
os() 🔗
GameCI base OS
Return Type
String !
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
os
func (m *myModule) example(ctx context.Context) string {
return dag.
Dirk().
Os(ctx)
}
@function
async def example() -> str:
return await (
dag.dirk()
.os()
)
@func()
async example(): Promise<string> {
return dag
.dirk()
.os()
}
pass() 🔗
Unity Account Password
Return Type
Secret !
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
pass
func (m *myModule) example() *Secret {
return dag.
Dirk().
Pass()
}
@function
def example() -> dagger.Secret:
return (
dag.dirk()
.pass_()
)
@func()
example(): Secret {
return dag
.dirk()
.pass()
}
platform() 🔗
Unity Build Target Platform
Return Type
String !
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
platform
func (m *myModule) example(ctx context.Context) string {
return dag.
Dirk().
Platform(ctx)
}
@function
async def example() -> str:
return await (
dag.dirk()
.platform()
)
@func()
async example(): Promise<string> {
return dag
.dirk()
.platform()
}
serial() 🔗
Unity Serial
Return Type
Secret !
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
serial
func (m *myModule) example() *Secret {
return dag.
Dirk().
Serial()
}
@function
def example() -> dagger.Secret:
return (
dag.dirk()
.serial()
)
@func()
example(): Secret {
return dag
.dirk()
.serial()
}
serviceConfig() 🔗
Unity Service Config for Licesning Server
Return Type
File !
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
service-config
func (m *myModule) example() *File {
return dag.
Dirk().
ServiceConfig()
}
@function
def example() -> dagger.File:
return (
dag.dirk()
.service_config()
)
@func()
example(): File {
return dag
.dirk()
.serviceConfig()
}
src() 🔗
Source directory of the Unity project
Return Type
Directory !
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
src
func (m *myModule) example() *Directory {
return dag.
Dirk().
Src()
}
@function
def example() -> dagger.Directory:
return (
dag.dirk()
.src()
)
@func()
example(): Directory {
return dag
.dirk()
.src()
}
testingingPlatform() 🔗
If should test as editor or playback
Return Type
String !
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
testinging-platform
func (m *myModule) example(ctx context.Context) string {
return dag.
Dirk().
TestingingPlatform(ctx)
}
@function
async def example() -> str:
return await (
dag.dirk()
.testinging_platform()
)
@func()
async example(): Promise<string> {
return dag
.dirk()
.testingingPlatform()
}
ulf() 🔗
Unity Personal License File
Return Type
File !
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
ulf
func (m *myModule) example() *File {
return dag.
Dirk().
Ulf()
}
@function
def example() -> dagger.File:
return (
dag.dirk()
.ulf()
)
@func()
example(): File {
return dag
.dirk()
.ulf()
}
unityVersion() 🔗
Unity Version that GameCI should use
Return Type
String !
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
unity-version
func (m *myModule) example(ctx context.Context) string {
return dag.
Dirk().
UnityVersion(ctx)
}
@function
async def example() -> str:
return await (
dag.dirk()
.unity_version()
)
@func()
async example(): Promise<string> {
return dag
.dirk()
.unityVersion()
}
user() 🔗
Unity Account Username
Return Type
String !
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
user
func (m *myModule) example(ctx context.Context) string {
return dag.
Dirk().
User(ctx)
}
@function
async def example() -> str:
return await (
dag.dirk()
.user()
)
@func()
async example(): Promise<string> {
return dag
.dirk()
.user()
}
build() 🔗
Build the things
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
gameSrc | Directory ! | - | No description provided |
buildName | String | - | No description provided |
buildTarget | String | - | No description provided |
gameciVersion | String | - | No description provided |
pass | Secret | - | No description provided |
platform | String | - | No description provided |
serial | Secret | - | No description provided |
serviceConfig | File | - | No description provided |
targetOs | String | - | No description provided |
ulf | File | - | No description provided |
unityVersion | String | - | No description provided |
user | String | - | No description provided |
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
build --game-src DIR_PATH
func (m *myModule) example(gameSrc *Directory) *Directory {
return dag.
Dirk().
Build(gameSrc)
}
@function
def example(game_src: dagger.Directory) -> dagger.Directory:
return (
dag.dirk()
.build(game_src)
)
@func()
example(gameSrc: Directory): Directory {
return dag
.dirk()
.build(gameSrc)
}
test() 🔗
Test the things
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
gameSrc | Directory ! | - | No description provided |
gameciVersion | String | - | No description provided |
junitTransform | File | - | No description provided |
targetOs | String | - | No description provided |
pass | Secret | - | No description provided |
platform | String | - | No description provided |
serial | Secret | - | No description provided |
serviceConfig | File | - | No description provided |
testingingPlatform | String | - | No description provided |
ulf | File | - | No description provided |
unityVersion | String | - | No description provided |
user | String | - | No description provided |
Example
dagger -m github.com/bardic/Dirk@add7dc790bc16ef3c336f65aefa0038691b26631 call \
test --game-src DIR_PATH
func (m *myModule) example(gameSrc *Directory) *Directory {
return dag.
Dirk().
Test(gameSrc)
}
@function
def example(game_src: dagger.Directory) -> dagger.Directory:
return (
dag.dirk()
.test(game_src)
)
@func()
example(gameSrc: Directory): Directory {
return dag
.dirk()
.test(gameSrc)
}