everest-core
This module has been generated via dagger init and serves as a reference tobasic module structure as you get started with Dagger.
Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.
The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.
Installation
dagger install github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed
Entrypoint
Return Type
EverestCore !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
everestCiVersion | String ! | "v1.5.2" | Version of the Everest CI |
everestDevEnvironmentDockerVersion | String ! | "docker-images-v0.1.0" | Version of the Everest development environment docker images |
sourceDir | Directory | - | Source directory with the source code |
cacheDir | Directory | null | Optional cache directory for the build process |
workdirPath | String ! | "/workspace" | Working directory path for the container |
sourcePath | String ! | "source" | Source path in the container for the source code |
buildPath | String ! | "build" | Build directory path in the container |
distPath | String ! | "dist" | Dist directory path in the container |
wheelsPath | String ! | "wheels" | Path in the container to install wheel files to |
cachePath | String ! | "cache" | Cache directory path in the container |
artifactsPath | String ! | "artifacts" | CI artifacts path in the container |
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
--everest-ci-version string --everest-dev-environment-docker-version string --workdir-path string --source-path string --build-path string --dist-path string --wheels-path string --cache-path string --artifacts-path string
func (m *MyModule) Example(everestCiVersion string, everestDevEnvironmentDockerVersion string, workdirPath string, sourcePath string, buildPath string, distPath string, wheelsPath string, cachePath string, artifactsPath string) *dagger.EverestCore {
return dag.
EverestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath)
}
@function
def example(everest_ci_version: str, everest_dev_environment_docker_version: str, workdir_path: str, source_path: str, build_path: str, dist_path: str, wheels_path: str, cache_path: str, artifacts_path: str) -> dagger.EverestCore:
return (
dag.everest_core(everest_ci_version, everest_dev_environment_docker_version, workdir_path, source_path, build_path, dist_path, wheels_path, cache_path, artifacts_path)
)
@func()
example(everestCiVersion: string, everestDevEnvironmentDockerVersion: string, workdirPath: string, sourcePath: string, buildPath: string, distPath: string, wheelsPath: string, cachePath: string, artifactsPath: string): EverestCore {
return dag
.everestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath)
}
Types
EverestCoreBaseResultType 🔗
Base class for result types
container() 🔗
Container that ran the operation
Return Type
Container !
Example
Function EverestCoreBaseResultType.container is not accessible from the everest-core module
Function EverestCoreBaseResultType.container is not accessible from the everest-core module
Function EverestCoreBaseResultType.container is not accessible from the everest-core module
Function EverestCoreBaseResultType.container is not accessible from the everest-core module
exitCode() 🔗
The exit code of the operation
Return Type
Integer !
Example
Function EverestCoreBaseResultType.exitCode is not accessible from the everest-core module
Function EverestCoreBaseResultType.exitCode is not accessible from the everest-core module
Function EverestCoreBaseResultType.exitCode is not accessible from the everest-core module
Function EverestCoreBaseResultType.exitCode is not accessible from the everest-core module
EverestCoreClangFormatResult 🔗
Result of a clang-format operation
container() 🔗
Container that ran the operation
Return Type
Container !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
lint \
container
func (m *MyModule) Example() *dagger.Container {
return dag.
EverestCore().
Lint().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.everest_core()
.lint()
.container()
)
@func()
example(): Container {
return dag
.everestCore()
.lint()
.container()
}
exitCode() 🔗
The exit code of the operation
Return Type
Integer !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
lint \
exit-code
func (m *MyModule) Example(ctx context.Context) int {
return dag.
EverestCore().
Lint().
ExitCode(ctx)
}
@function
async def example() -> int:
return await (
dag.everest_core()
.lint()
.exit_code()
)
@func()
async example(): Promise<number> {
return dag
.everestCore()
.lint()
.exitCode()
}
EverestCoreBuildKitResult 🔗
Result of a build kit operation
container() 🔗
Container that ran the operation
Return Type
Container !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
build-kit \
container
func (m *MyModule) Example() *dagger.Container {
return dag.
EverestCore().
BuildKit().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.everest_core()
.build_kit()
.container()
)
@func()
example(): Container {
return dag
.everestCore()
.buildKit()
.container()
}
exitCode() 🔗
The exit code of the operation
Return Type
Integer !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
build-kit \
exit-code
func (m *MyModule) Example(ctx context.Context) int {
return dag.
EverestCore().
BuildKit().
ExitCode(ctx)
}
@function
async def example() -> int:
return await (
dag.everest_core()
.build_kit()
.exit_code()
)
@func()
async example(): Promise<number> {
return dag
.everestCore()
.buildKit()
.exitCode()
}
EverestCoreEverestCi 🔗
Functions reused across the EVerest organization for CI/CD purposes
buildKit() 🔗
Returns a container that builds the provided Directory inside the provided Container
Return Type
EverestCoreBuildKitResult !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
dockerDir | Directory | - | Directory of the build kit dockerfile |
baseImageTag | String ! | - | Base image tag to build the build-kit from |
Example
Function EverestCoreEverestCi.buildKit is not accessible from the everest-core module
Function EverestCoreEverestCi.buildKit is not accessible from the everest-core module
Function EverestCoreEverestCi.buildKit is not accessible from the everest-core module
Function EverestCoreEverestCi.buildKit is not accessible from the everest-core module
clangFormat() 🔗
Returns a container that run clang-format on the provided Directory inside the provided Container
Return Type
EverestCoreClangFormatResult !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container ! | - | Container to run clang-format in |
sourceDir | Directory | - | Directory to run clang-format on |
exclude | String ! | "cache,build,dist" | comma separated list, exclude paths matching the given glob-like pattern(s) |
extensions | String ! | "hpp,cpp" | comma separated list of file extensions |
color | Boolean ! | true | show colored diff |
recursive | Boolean ! | true | run recursively over directories |
fix | Boolean ! | false | format file instead of printing differences |
Example
Function EverestCoreEverestCi.clangFormat is not accessible from the everest-core module
Function EverestCoreEverestCi.clangFormat is not accessible from the everest-core module
Function EverestCoreEverestCi.clangFormat is not accessible from the everest-core module
Function EverestCoreEverestCi.clangFormat is not accessible from the everest-core module
EverestCoreConfigureResult 🔗
Result of the configure operation
container() 🔗
Container that ran the operation
Return Type
Container !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
configure-cmake-gcc \
container
func (m *MyModule) Example() *dagger.Container {
return dag.
EverestCore().
ConfigureCmakeGcc().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.everest_core()
.configure_cmake_gcc()
.container()
)
@func()
example(): Container {
return dag
.everestCore()
.configureCmakeGcc()
.container()
}
exitCode() 🔗
The exit code of the operation
Return Type
Integer !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
configure-cmake-gcc \
exit-code
func (m *MyModule) Example(ctx context.Context) int {
return dag.
EverestCore().
ConfigureCmakeGcc().
ExitCode(ctx)
}
@function
async def example() -> int:
return await (
dag.everest_core()
.configure_cmake_gcc()
.exit_code()
)
@func()
async example(): Promise<number> {
return dag
.everestCore()
.configureCmakeGcc()
.exitCode()
}
EverestCoreBuildResult 🔗
Result of the build. Inherits from BaseResultType to include common attributes like container and exit_code.
container() 🔗
Container that ran the operation
Return Type
Container !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
build-cmake-gcc \
container
func (m *MyModule) Example() *dagger.Container {
return dag.
EverestCore().
BuildCmakeGcc().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.everest_core()
.build_cmake_gcc()
.container()
)
@func()
example(): Container {
return dag
.everestCore()
.buildCmakeGcc()
.container()
}
exitCode() 🔗
The exit code of the operation
Return Type
Integer !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
build-cmake-gcc \
exit-code
func (m *MyModule) Example(ctx context.Context) int {
return dag.
EverestCore().
BuildCmakeGcc().
ExitCode(ctx)
}
@function
async def example() -> int:
return await (
dag.everest_core()
.build_cmake_gcc()
.exit_code()
)
@func()
async example(): Promise<number> {
return dag
.everestCore()
.buildCmakeGcc()
.exitCode()
}
EverestCoreUnitTestsResult 🔗
Result type for unit tests. This class extends `BaseResultType` and includes a field for the last test log file. Attributes ---------- last_test_log : dagger.File The file containing the last test log.
container() 🔗
Container that ran the operation
Return Type
Container !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
unit-tests \
container
func (m *MyModule) Example() *dagger.Container {
return dag.
EverestCore().
UnitTests().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.everest_core()
.unit_tests()
.container()
)
@func()
example(): Container {
return dag
.everestCore()
.unitTests()
.container()
}
exitCode() 🔗
The exit code of the operation
Return Type
Integer !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
unit-tests \
exit-code
func (m *MyModule) Example(ctx context.Context) int {
return dag.
EverestCore().
UnitTests().
ExitCode(ctx)
}
@function
async def example() -> int:
return await (
dag.everest_core()
.unit_tests()
.exit_code()
)
@func()
async example(): Promise<number> {
return dag
.everestCore()
.unitTests()
.exitCode()
}
lastTestLog() 🔗
Last test log file
Return Type
File !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
unit-tests \
last-test-log
func (m *MyModule) Example() *dagger.File {
return dag.
EverestCore().
UnitTests().
LastTestLog()
}
@function
def example() -> dagger.File:
return (
dag.everest_core()
.unit_tests()
.last_test_log()
)
@func()
example(): File {
return dag
.everestCore()
.unitTests()
.lastTestLog()
}
EverestCoreInstallResult 🔗
Result type for the install operation. Inherits from `BaseResultType`. Which contains the container and exit code. Attributes: dist_dir: The directory where the installation is in.
container() 🔗
Container that ran the operation
Return Type
Container !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
install \
container
func (m *MyModule) Example() *dagger.Container {
return dag.
EverestCore().
Install().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.everest_core()
.install()
.container()
)
@func()
example(): Container {
return dag
.everestCore()
.install()
.container()
}
exitCode() 🔗
The exit code of the operation
Return Type
Integer !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
install \
exit-code
func (m *MyModule) Example(ctx context.Context) int {
return dag.
EverestCore().
Install().
ExitCode(ctx)
}
@function
async def example() -> int:
return await (
dag.everest_core()
.install()
.exit_code()
)
@func()
async example(): Promise<number> {
return dag
.everestCore()
.install()
.exitCode()
}
distDir() 🔗
The directory where the installation is in
Return Type
Directory !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
install \
dist-dir
func (m *MyModule) Example() *dagger.Directory {
return dag.
EverestCore().
Install().
DistDir()
}
@function
def example() -> dagger.Directory:
return (
dag.everest_core()
.install()
.dist_dir()
)
@func()
example(): Directory {
return dag
.everestCore()
.install()
.distDir()
}
EverestCoreIntegrationTestsResult 🔗
Result of the integration tests based on EverestCI.BaseResultType. It contains the result of the integration tests in JUnit XML format and an HTML report. Attributes: ----------- result_xml: dagger.File File containing the result of the integration tests in JUnit XML format report_html: dagger.File File containing the report of the integration tests in HTML format
container() 🔗
Container that ran the operation
Return Type
Container !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
integration-tests \
container
func (m *MyModule) Example() *dagger.Container {
return dag.
EverestCore().
IntegrationTests().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.everest_core()
.integration_tests()
.container()
)
@func()
example(): Container {
return dag
.everestCore()
.integrationTests()
.container()
}
exitCode() 🔗
The exit code of the operation
Return Type
Integer !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
integration-tests \
exit-code
func (m *MyModule) Example(ctx context.Context) int {
return dag.
EverestCore().
IntegrationTests().
ExitCode(ctx)
}
@function
async def example() -> int:
return await (
dag.everest_core()
.integration_tests()
.exit_code()
)
@func()
async example(): Promise<number> {
return dag
.everestCore()
.integrationTests()
.exitCode()
}
resultXml() 🔗
A file.
Return Type
File !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
integration-tests \
result-xml
func (m *MyModule) Example() *dagger.File {
return dag.
EverestCore().
IntegrationTests().
ResultXml()
}
@function
def example() -> dagger.File:
return (
dag.everest_core()
.integration_tests()
.result_xml()
)
@func()
example(): File {
return dag
.everestCore()
.integrationTests()
.resultXml()
}
reportHtml() 🔗
A file.
Return Type
File !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
integration-tests \
report-html
func (m *MyModule) Example() *dagger.File {
return dag.
EverestCore().
IntegrationTests().
ReportHtml()
}
@function
def example() -> dagger.File:
return (
dag.everest_core()
.integration_tests()
.report_html()
)
@func()
example(): File {
return dag
.everestCore()
.integrationTests()
.reportHtml()
}
EverestCoreOcppTestsResult 🔗
container() 🔗
Container that ran the operation
Return Type
Container !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
ocpp-tests \
container
func (m *MyModule) Example() *dagger.Container {
return dag.
EverestCore().
OcppTests().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.everest_core()
.ocpp_tests()
.container()
)
@func()
example(): Container {
return dag
.everestCore()
.ocppTests()
.container()
}
exitCode() 🔗
The exit code of the operation
Return Type
Integer !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
ocpp-tests \
exit-code
func (m *MyModule) Example(ctx context.Context) int {
return dag.
EverestCore().
OcppTests().
ExitCode(ctx)
}
@function
async def example() -> int:
return await (
dag.everest_core()
.ocpp_tests()
.exit_code()
)
@func()
async example(): Promise<number> {
return dag
.everestCore()
.ocppTests()
.exitCode()
}
resultXml() 🔗
A file.
Return Type
File !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
ocpp-tests \
result-xml
func (m *MyModule) Example() *dagger.File {
return dag.
EverestCore().
OcppTests().
ResultXml()
}
@function
def example() -> dagger.File:
return (
dag.everest_core()
.ocpp_tests()
.result_xml()
)
@func()
example(): File {
return dag
.everestCore()
.ocppTests()
.resultXml()
}
reportHtml() 🔗
A file.
Return Type
File !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
ocpp-tests \
report-html
func (m *MyModule) Example() *dagger.File {
return dag.
EverestCore().
OcppTests().
ReportHtml()
}
@function
def example() -> dagger.File:
return (
dag.everest_core()
.ocpp_tests()
.report_html()
)
@func()
example(): File {
return dag
.everestCore()
.ocppTests()
.reportHtml()
}
EverestCoreBuildWheelsResult 🔗
Result of the build wheels
container() 🔗
Container that ran the operation
Return Type
Container !
Example
Function EverestCoreBuildWheelsResult.container is not accessible from the everest-core module
Function EverestCoreBuildWheelsResult.container is not accessible from the everest-core module
Function EverestCoreBuildWheelsResult.container is not accessible from the everest-core module
Function EverestCoreBuildWheelsResult.container is not accessible from the everest-core module
exitCode() 🔗
The exit code of the operation
Return Type
Integer !
Example
Function EverestCoreBuildWheelsResult.exitCode is not accessible from the everest-core module
Function EverestCoreBuildWheelsResult.exitCode is not accessible from the everest-core module
Function EverestCoreBuildWheelsResult.exitCode is not accessible from the everest-core module
Function EverestCoreBuildWheelsResult.exitCode is not accessible from the everest-core module
wheelsDir() 🔗
Directory containing the built wheels
Return Type
Directory !
Example
Function EverestCoreBuildWheelsResult.wheelsDir is not accessible from the everest-core module
Function EverestCoreBuildWheelsResult.wheelsDir is not accessible from the everest-core module
Function EverestCoreBuildWheelsResult.wheelsDir is not accessible from the everest-core module
Function EverestCoreBuildWheelsResult.wheelsDir is not accessible from the everest-core module
EverestCorePullRequestResult 🔗
container() 🔗
An OCI-compatible container, also known as a Docker container.
Return Type
Container !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
pull-request \
container
func (m *MyModule) Example() *dagger.Container {
return dag.
EverestCore().
PullRequest().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.everest_core()
.pull_request()
.container()
)
@func()
example(): Container {
return dag
.everestCore()
.pullRequest()
.container()
}
exitCode() 🔗
Return Type
Integer !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
pull-request \
exit-code
func (m *MyModule) Example(ctx context.Context) int {
return dag.
EverestCore().
PullRequest().
ExitCode(ctx)
}
@function
async def example() -> int:
return await (
dag.everest_core()
.pull_request()
.exit_code()
)
@func()
async example(): Promise<number> {
return dag
.everestCore()
.pullRequest()
.exitCode()
}
workspace() 🔗
A directory.
Return Type
Directory !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
pull-request \
workspace
func (m *MyModule) Example() *dagger.Directory {
return dag.
EverestCore().
PullRequest().
Workspace()
}
@function
def example() -> dagger.Directory:
return (
dag.everest_core()
.pull_request()
.workspace()
)
@func()
example(): Directory {
return dag
.everestCore()
.pullRequest()
.workspace()
}
EverestCore 🔗
Functions that compose multiple EverestCoreFunctions and EverestCI functions in workflows
buildCmakeGcc() 🔗
Returns a container that builds the provided Directory inside the provided Container
Return Type
EverestCoreBuildResult !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container | null | Container to run the build in, typically the build-kit image |
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
--everest-ci-version string --everest-dev-environment-docker-version string --workdir-path string --source-path string --build-path string --dist-path string --wheels-path string --cache-path string --artifacts-path string build-cmake-gcc
func (m *MyModule) Example(everestCiVersion string, everestDevEnvironmentDockerVersion string, workdirPath string, sourcePath string, buildPath string, distPath string, wheelsPath string, cachePath string, artifactsPath string) *dagger.EverestCoreBuildResult {
return dag.
EverestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath).
BuildCmakeGcc()
}
@function
def example(everest_ci_version: str, everest_dev_environment_docker_version: str, workdir_path: str, source_path: str, build_path: str, dist_path: str, wheels_path: str, cache_path: str, artifacts_path: str) -> dagger.EverestCoreBuildResult:
return (
dag.everest_core(everest_ci_version, everest_dev_environment_docker_version, workdir_path, source_path, build_path, dist_path, wheels_path, cache_path, artifacts_path)
.build_cmake_gcc()
)
@func()
example(everestCiVersion: string, everestDevEnvironmentDockerVersion: string, workdirPath: string, sourcePath: string, buildPath: string, distPath: string, wheelsPath: string, cachePath: string, artifactsPath: string): EverestCoreBuildResult {
return dag
.everestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath)
.buildCmakeGcc()
}
buildKit() 🔗
Build the everest-core build kit container
Return Type
EverestCoreBuildKitResult !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
--everest-ci-version string --everest-dev-environment-docker-version string --workdir-path string --source-path string --build-path string --dist-path string --wheels-path string --cache-path string --artifacts-path string build-kit
func (m *MyModule) Example(everestCiVersion string, everestDevEnvironmentDockerVersion string, workdirPath string, sourcePath string, buildPath string, distPath string, wheelsPath string, cachePath string, artifactsPath string) *dagger.EverestCoreBuildKitResult {
return dag.
EverestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath).
BuildKit()
}
@function
def example(everest_ci_version: str, everest_dev_environment_docker_version: str, workdir_path: str, source_path: str, build_path: str, dist_path: str, wheels_path: str, cache_path: str, artifacts_path: str) -> dagger.EverestCoreBuildKitResult:
return (
dag.everest_core(everest_ci_version, everest_dev_environment_docker_version, workdir_path, source_path, build_path, dist_path, wheels_path, cache_path, artifacts_path)
.build_kit()
)
@func()
example(everestCiVersion: string, everestDevEnvironmentDockerVersion: string, workdirPath: string, sourcePath: string, buildPath: string, distPath: string, wheelsPath: string, cachePath: string, artifactsPath: string): EverestCoreBuildKitResult {
return dag
.everestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath)
.buildKit()
}
configureCmakeGcc() 🔗
Configure CMake with GCC in the given container
Return Type
EverestCoreConfigureResult !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container | null | Container to run the function in |
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
--everest-ci-version string --everest-dev-environment-docker-version string --workdir-path string --source-path string --build-path string --dist-path string --wheels-path string --cache-path string --artifacts-path string configure-cmake-gcc
func (m *MyModule) Example(everestCiVersion string, everestDevEnvironmentDockerVersion string, workdirPath string, sourcePath string, buildPath string, distPath string, wheelsPath string, cachePath string, artifactsPath string) *dagger.EverestCoreConfigureResult {
return dag.
EverestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath).
ConfigureCmakeGcc()
}
@function
def example(everest_ci_version: str, everest_dev_environment_docker_version: str, workdir_path: str, source_path: str, build_path: str, dist_path: str, wheels_path: str, cache_path: str, artifacts_path: str) -> dagger.EverestCoreConfigureResult:
return (
dag.everest_core(everest_ci_version, everest_dev_environment_docker_version, workdir_path, source_path, build_path, dist_path, wheels_path, cache_path, artifacts_path)
.configure_cmake_gcc()
)
@func()
example(everestCiVersion: string, everestDevEnvironmentDockerVersion: string, workdirPath: string, sourcePath: string, buildPath: string, distPath: string, wheelsPath: string, cachePath: string, artifactsPath: string): EverestCoreConfigureResult {
return dag
.everestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath)
.configureCmakeGcc()
}
install() 🔗
Install the built artifacts into the dist directory
Return Type
EverestCoreInstallResult !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container | null | Container to run the install in, typically the build-kit image |
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
--everest-ci-version string --everest-dev-environment-docker-version string --workdir-path string --source-path string --build-path string --dist-path string --wheels-path string --cache-path string --artifacts-path string install
func (m *MyModule) Example(everestCiVersion string, everestDevEnvironmentDockerVersion string, workdirPath string, sourcePath string, buildPath string, distPath string, wheelsPath string, cachePath string, artifactsPath string) *dagger.EverestCoreInstallResult {
return dag.
EverestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath).
Install()
}
@function
def example(everest_ci_version: str, everest_dev_environment_docker_version: str, workdir_path: str, source_path: str, build_path: str, dist_path: str, wheels_path: str, cache_path: str, artifacts_path: str) -> dagger.EverestCoreInstallResult:
return (
dag.everest_core(everest_ci_version, everest_dev_environment_docker_version, workdir_path, source_path, build_path, dist_path, wheels_path, cache_path, artifacts_path)
.install()
)
@func()
example(everestCiVersion: string, everestDevEnvironmentDockerVersion: string, workdirPath: string, sourcePath: string, buildPath: string, distPath: string, wheelsPath: string, cachePath: string, artifactsPath: string): EverestCoreInstallResult {
return dag
.everestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath)
.install()
}
integrationTests() 🔗
Run the integration tests
Return Type
EverestCoreIntegrationTestsResult !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container | null | Container to run the integration tests in, typically the build-kit image |
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
--everest-ci-version string --everest-dev-environment-docker-version string --workdir-path string --source-path string --build-path string --dist-path string --wheels-path string --cache-path string --artifacts-path string integration-tests
func (m *MyModule) Example(everestCiVersion string, everestDevEnvironmentDockerVersion string, workdirPath string, sourcePath string, buildPath string, distPath string, wheelsPath string, cachePath string, artifactsPath string) *dagger.EverestCoreIntegrationTestsResult {
return dag.
EverestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath).
IntegrationTests()
}
@function
def example(everest_ci_version: str, everest_dev_environment_docker_version: str, workdir_path: str, source_path: str, build_path: str, dist_path: str, wheels_path: str, cache_path: str, artifacts_path: str) -> dagger.EverestCoreIntegrationTestsResult:
return (
dag.everest_core(everest_ci_version, everest_dev_environment_docker_version, workdir_path, source_path, build_path, dist_path, wheels_path, cache_path, artifacts_path)
.integration_tests()
)
@func()
example(everestCiVersion: string, everestDevEnvironmentDockerVersion: string, workdirPath: string, sourcePath: string, buildPath: string, distPath: string, wheelsPath: string, cachePath: string, artifactsPath: string): EverestCoreIntegrationTestsResult {
return dag
.everestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath)
.integrationTests()
}
lint() 🔗
Run the linter on the source directory
Return Type
EverestCoreClangFormatResult !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container | null | Container to run the linter in |
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
--everest-ci-version string --everest-dev-environment-docker-version string --workdir-path string --source-path string --build-path string --dist-path string --wheels-path string --cache-path string --artifacts-path string lint
func (m *MyModule) Example(everestCiVersion string, everestDevEnvironmentDockerVersion string, workdirPath string, sourcePath string, buildPath string, distPath string, wheelsPath string, cachePath string, artifactsPath string) *dagger.EverestCoreClangFormatResult {
return dag.
EverestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath).
Lint()
}
@function
def example(everest_ci_version: str, everest_dev_environment_docker_version: str, workdir_path: str, source_path: str, build_path: str, dist_path: str, wheels_path: str, cache_path: str, artifacts_path: str) -> dagger.EverestCoreClangFormatResult:
return (
dag.everest_core(everest_ci_version, everest_dev_environment_docker_version, workdir_path, source_path, build_path, dist_path, wheels_path, cache_path, artifacts_path)
.lint()
)
@func()
example(everestCiVersion: string, everestDevEnvironmentDockerVersion: string, workdirPath: string, sourcePath: string, buildPath: string, distPath: string, wheelsPath: string, cachePath: string, artifactsPath: string): EverestCoreClangFormatResult {
return dag
.everestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath)
.lint()
}
mqttServer() 🔗
Start and return mqtt server as a service
Return Type
Service !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
--everest-ci-version string --everest-dev-environment-docker-version string --workdir-path string --source-path string --build-path string --dist-path string --wheels-path string --cache-path string --artifacts-path string mqtt-server
func (m *MyModule) Example(everestCiVersion string, everestDevEnvironmentDockerVersion string, workdirPath string, sourcePath string, buildPath string, distPath string, wheelsPath string, cachePath string, artifactsPath string) *dagger.Service {
return dag.
EverestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath).
MqttServer()
}
@function
def example(everest_ci_version: str, everest_dev_environment_docker_version: str, workdir_path: str, source_path: str, build_path: str, dist_path: str, wheels_path: str, cache_path: str, artifacts_path: str) -> dagger.Service:
return (
dag.everest_core(everest_ci_version, everest_dev_environment_docker_version, workdir_path, source_path, build_path, dist_path, wheels_path, cache_path, artifacts_path)
.mqtt_server()
)
@func()
example(everestCiVersion: string, everestDevEnvironmentDockerVersion: string, workdirPath: string, sourcePath: string, buildPath: string, distPath: string, wheelsPath: string, cachePath: string, artifactsPath: string): Service {
return dag
.everestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath)
.mqttServer()
}
ocppTests() 🔗
Run the OCPP tests
Return Type
EverestCoreOcppTestsResult !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container | null | Container to run the ocpp tests in, typically the build-kit image |
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
--everest-ci-version string --everest-dev-environment-docker-version string --workdir-path string --source-path string --build-path string --dist-path string --wheels-path string --cache-path string --artifacts-path string ocpp-tests
func (m *MyModule) Example(everestCiVersion string, everestDevEnvironmentDockerVersion string, workdirPath string, sourcePath string, buildPath string, distPath string, wheelsPath string, cachePath string, artifactsPath string) *dagger.EverestCoreOcppTestsResult {
return dag.
EverestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath).
OcppTests()
}
@function
def example(everest_ci_version: str, everest_dev_environment_docker_version: str, workdir_path: str, source_path: str, build_path: str, dist_path: str, wheels_path: str, cache_path: str, artifacts_path: str) -> dagger.EverestCoreOcppTestsResult:
return (
dag.everest_core(everest_ci_version, everest_dev_environment_docker_version, workdir_path, source_path, build_path, dist_path, wheels_path, cache_path, artifacts_path)
.ocpp_tests()
)
@func()
example(everestCiVersion: string, everestDevEnvironmentDockerVersion: string, workdirPath: string, sourcePath: string, buildPath: string, distPath: string, wheelsPath: string, cachePath: string, artifactsPath: string): EverestCoreOcppTestsResult {
return dag
.everestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath)
.ocppTests()
}
pullRequest() 🔗
Return Type
EverestCorePullRequestResult !
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
--everest-ci-version string --everest-dev-environment-docker-version string --workdir-path string --source-path string --build-path string --dist-path string --wheels-path string --cache-path string --artifacts-path string pull-request
func (m *MyModule) Example(everestCiVersion string, everestDevEnvironmentDockerVersion string, workdirPath string, sourcePath string, buildPath string, distPath string, wheelsPath string, cachePath string, artifactsPath string) *dagger.EverestCorePullRequestResult {
return dag.
EverestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath).
PullRequest()
}
@function
def example(everest_ci_version: str, everest_dev_environment_docker_version: str, workdir_path: str, source_path: str, build_path: str, dist_path: str, wheels_path: str, cache_path: str, artifacts_path: str) -> dagger.EverestCorePullRequestResult:
return (
dag.everest_core(everest_ci_version, everest_dev_environment_docker_version, workdir_path, source_path, build_path, dist_path, wheels_path, cache_path, artifacts_path)
.pull_request()
)
@func()
example(everestCiVersion: string, everestDevEnvironmentDockerVersion: string, workdirPath: string, sourcePath: string, buildPath: string, distPath: string, wheelsPath: string, cachePath: string, artifactsPath: string): EverestCorePullRequestResult {
return dag
.everestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath)
.pullRequest()
}
unitTests() 🔗
Returns a container that run unit tests inside the provided Container
Return Type
EverestCoreUnitTestsResult !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
container | Container | null | Container to run the tests in, typically the build-kit image |
Example
dagger -m github.com/EVerest/everest-core@98d4f9cae0b864f9fe3c90bfd44198247a76a9ed call \
--everest-ci-version string --everest-dev-environment-docker-version string --workdir-path string --source-path string --build-path string --dist-path string --wheels-path string --cache-path string --artifacts-path string unit-tests
func (m *MyModule) Example(everestCiVersion string, everestDevEnvironmentDockerVersion string, workdirPath string, sourcePath string, buildPath string, distPath string, wheelsPath string, cachePath string, artifactsPath string) *dagger.EverestCoreUnitTestsResult {
return dag.
EverestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath).
UnitTests()
}
@function
def example(everest_ci_version: str, everest_dev_environment_docker_version: str, workdir_path: str, source_path: str, build_path: str, dist_path: str, wheels_path: str, cache_path: str, artifacts_path: str) -> dagger.EverestCoreUnitTestsResult:
return (
dag.everest_core(everest_ci_version, everest_dev_environment_docker_version, workdir_path, source_path, build_path, dist_path, wheels_path, cache_path, artifacts_path)
.unit_tests()
)
@func()
example(everestCiVersion: string, everestDevEnvironmentDockerVersion: string, workdirPath: string, sourcePath: string, buildPath: string, distPath: string, wheelsPath: string, cachePath: string, artifactsPath: string): EverestCoreUnitTestsResult {
return dag
.everestCore(everestCiVersion, everestDevEnvironmentDockerVersion, workdirPath, sourcePath, buildPath, distPath, wheelsPath, cachePath, artifactsPath)
.unitTests()
}