dc6079821b
Docs Tests / Check for file changes (push) Has been cancelled
Docs Tests / Test Documentation (push) Has been cancelled
Docs Tests / Documentation Linting Checks (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-performance) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-policies) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-cli) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-core-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-full-model-training) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-nlu-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-nlu-predictors) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-other-unit-tests) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-performance) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.8, test-policies) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-cli) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-core-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-full-model-training) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-nlu-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-nlu-predictors) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-other-unit-tests) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-performance) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.9, test-policies) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-cli) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-core-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-full-model-training) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-nlu-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-nlu-predictors) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-other-unit-tests) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-performance) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.10, test-policies) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-cli) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-core-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-full-model-training) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-nlu-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-nlu-predictors) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-other-unit-tests) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-performance) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.8, test-policies) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-cli) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-core-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-full-model-training) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-nlu-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-nlu-predictors) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-other-unit-tests) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-performance) (push) Has been cancelled
Continuous Integration / Run Tests (windows-2022, 3.9, test-policies) (push) Has been cancelled
Continuous Integration / Run Flaky Tests (ubuntu-24.04, 3.10) (push) Has been cancelled
Continuous Integration / Run Flaky Tests (ubuntu-24.04, 3.8) (push) Has been cancelled
Continuous Integration / Run Flaky Tests (ubuntu-24.04, 3.9) (push) Has been cancelled
Continuous Integration / Run Flaky Tests (windows-2022, 3.10) (push) Has been cancelled
Continuous Integration / Run Flaky Tests (windows-2022, 3.8) (push) Has been cancelled
Continuous Integration / Run Flaky Tests (windows-2022, 3.9) (push) Has been cancelled
Continuous Integration / Check for file changes (push) Has been cancelled
Continuous Integration / Wait for docs tests (push) Has been cancelled
Continuous Integration / Code Quality (push) Has been cancelled
Continuous Integration / Check for changelog (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-cli) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-core-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-full-model-training) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-nlu-featurizers) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-nlu-predictors) (push) Has been cancelled
Continuous Integration / Run Tests (ubuntu-24.04, 3.10, test-other-unit-tests) (push) Has been cancelled
Continuous Integration / Upload coverage reports to codeclimate (push) Has been cancelled
Continuous Integration / Run Non-Sequential Integration Tests (push) Has been cancelled
Continuous Integration / Run Broker Integration Tests (push) Has been cancelled
Continuous Integration / Run Sequential Integration Tests (push) Has been cancelled
Continuous Integration / Build Docker base images and setup environment (push) Has been cancelled
Continuous Integration / Build Docker (default) (push) Has been cancelled
Continuous Integration / Build Docker (full) (push) Has been cancelled
Continuous Integration / Build Docker (mitie-en) (push) Has been cancelled
Continuous Integration / Build Docker (spacy-de) (push) Has been cancelled
Continuous Integration / Build Docker (spacy-en) (push) Has been cancelled
Continuous Integration / Build Docker (spacy-it) (push) Has been cancelled
Continuous Integration / Deploy to PyPI (push) Has been cancelled
Continuous Integration / Notify Slack & Publish Release Notes (push) Has been cancelled
Publish Documentation / Evaluate release tag (push) Has been cancelled
Publish Documentation / Prebuild Docs (push) Has been cancelled
Publish Documentation / Preview Docs (push) Has been cancelled
Publish Documentation / Check for file changes (push) Has been cancelled
Publish Documentation / Publish Docs (push) Has been cancelled
Automatic PR Merger / mergepal (push) Has been cancelled
CI Github Actions / Run Tests (push) Has been cancelled
Semgrep / Semgrep Workflow Security Scan (push) Has been cancelled
188 lines
4.8 KiB
HCL
188 lines
4.8 KiB
HCL
variable "IMAGE_NAME" {
|
|
default = "rasa/rasa"
|
|
}
|
|
|
|
variable "IMAGE_TAG" {
|
|
default = "localdev"
|
|
}
|
|
|
|
variable "BASE_IMAGE_HASH" {
|
|
default = "localdev"
|
|
}
|
|
|
|
variable "BASE_MITIE_IMAGE_HASH" {
|
|
default = "localdev"
|
|
}
|
|
|
|
variable "BASE_BUILDER_IMAGE_HASH" {
|
|
default = "localdev"
|
|
}
|
|
|
|
# keep this in sync with the version in .github/poetry_version.txt
|
|
# the variable is set automatically for builds in CI
|
|
variable "POETRY_VERSION" {
|
|
default = "1.8.2"
|
|
}
|
|
|
|
group "base-images" {
|
|
targets = ["base", "base-poetry", "base-mitie"]
|
|
}
|
|
|
|
target "base" {
|
|
dockerfile = "docker/Dockerfile.base"
|
|
tags = ["${IMAGE_NAME}:base-${IMAGE_TAG}"]
|
|
cache-to = ["type=inline"]
|
|
}
|
|
|
|
target "base-mitie" {
|
|
dockerfile = "docker/Dockerfile.base-mitie"
|
|
tags = ["${IMAGE_NAME}:base-mitie-${IMAGE_TAG}"]
|
|
cache-to = ["type=inline"]
|
|
}
|
|
|
|
target "base-poetry" {
|
|
dockerfile = "docker/Dockerfile.base-poetry"
|
|
tags = ["${IMAGE_NAME}:base-poetry-${POETRY_VERSION}"]
|
|
|
|
args = {
|
|
IMAGE_BASE_NAME = "${IMAGE_NAME}"
|
|
BASE_IMAGE_HASH = "${BASE_IMAGE_HASH}"
|
|
POETRY_VERSION = "${POETRY_VERSION}"
|
|
}
|
|
|
|
cache-to = ["type=inline"]
|
|
|
|
cache-from = [
|
|
"type=registry,ref=${IMAGE_NAME}:base-poetry-${POETRY_VERSION}",
|
|
]
|
|
}
|
|
|
|
target "base-builder" {
|
|
dockerfile = "docker/Dockerfile.base-builder"
|
|
tags = ["${IMAGE_NAME}:base-builder-${IMAGE_TAG}"]
|
|
|
|
args = {
|
|
IMAGE_BASE_NAME = "${IMAGE_NAME}"
|
|
POETRY_VERSION = "${POETRY_VERSION}"
|
|
}
|
|
|
|
cache-to = ["type=inline"]
|
|
}
|
|
|
|
target "default" {
|
|
dockerfile = "Dockerfile"
|
|
tags = ["${IMAGE_NAME}:${IMAGE_TAG}"]
|
|
|
|
args = {
|
|
IMAGE_BASE_NAME = "${IMAGE_NAME}"
|
|
BASE_IMAGE_HASH = "${BASE_IMAGE_HASH}"
|
|
BASE_BUILDER_IMAGE_HASH = "${BASE_BUILDER_IMAGE_HASH}"
|
|
}
|
|
|
|
cache-to = ["type=inline"]
|
|
|
|
cache-from = [
|
|
"type=registry,ref=${IMAGE_NAME}:base-${BASE_IMAGE_HASH}",
|
|
"type=registry,ref=${IMAGE_NAME}:base-builder-${BASE_BUILDER_IMAGE_HASH}",
|
|
"type=registry,ref=${IMAGE_NAME}:latest",
|
|
]
|
|
}
|
|
|
|
target "full" {
|
|
dockerfile = "docker/Dockerfile.full"
|
|
tags = ["${IMAGE_NAME}:${IMAGE_TAG}-full"]
|
|
|
|
args = {
|
|
IMAGE_BASE_NAME = "${IMAGE_NAME}"
|
|
BASE_IMAGE_HASH = "${BASE_IMAGE_HASH}"
|
|
BASE_MITIE_IMAGE_HASH = "${BASE_MITIE_IMAGE_HASH}"
|
|
BASE_BUILDER_IMAGE_HASH = "${BASE_BUILDER_IMAGE_HASH}"
|
|
}
|
|
|
|
cache-to = ["type=inline"]
|
|
|
|
cache-from = [
|
|
"type=registry,ref=${IMAGE_NAME}:base-${BASE_IMAGE_HASH}",
|
|
"type=registry,ref=${IMAGE_NAME}:base-builder-${BASE_BUILDER_IMAGE_HASH}",
|
|
"type=registry,ref=${IMAGE_NAME}:latest-full",
|
|
]
|
|
}
|
|
|
|
target "mitie-en" {
|
|
dockerfile = "docker/Dockerfile.pretrained_embeddings_mitie_en"
|
|
tags = ["${IMAGE_NAME}:${IMAGE_TAG}-mitie-en"]
|
|
|
|
args = {
|
|
IMAGE_BASE_NAME = "${IMAGE_NAME}"
|
|
BASE_IMAGE_HASH = "${BASE_IMAGE_HASH}"
|
|
BASE_MITIE_IMAGE_HASH = "${BASE_MITIE_IMAGE_HASH}"
|
|
BASE_BUILDER_IMAGE_HASH = "${BASE_BUILDER_IMAGE_HASH}"
|
|
}
|
|
|
|
cache-to = ["type=inline"]
|
|
|
|
cache-from = [
|
|
"type=registry,ref=${IMAGE_NAME}:base-${BASE_IMAGE_HASH}",
|
|
"type=registry,ref=${IMAGE_NAME}:base-mitie-${BASE_MITIE_IMAGE_HASH}",
|
|
"type=registry,ref=${IMAGE_NAME}:base-builder-${BASE_BUILDER_IMAGE_HASH}",
|
|
"type=registry,ref=${IMAGE_NAME}:latest-mitie-en",
|
|
]
|
|
}
|
|
|
|
target "spacy-de" {
|
|
dockerfile = "docker/Dockerfile.pretrained_embeddings_spacy_de"
|
|
tags = ["${IMAGE_NAME}:${IMAGE_TAG}-spacy-de"]
|
|
|
|
args = {
|
|
IMAGE_BASE_NAME = "${IMAGE_NAME}"
|
|
BASE_IMAGE_HASH = "${BASE_IMAGE_HASH}"
|
|
BASE_BUILDER_IMAGE_HASH = "${BASE_BUILDER_IMAGE_HASH}"
|
|
}
|
|
|
|
cache-to = ["type=inline"]
|
|
|
|
cache-from = [
|
|
"type=registry,ref=${IMAGE_NAME}:base-${BASE_IMAGE_HASH}",
|
|
"type=registry,ref=${IMAGE_NAME}:base-builder-${BASE_BUILDER_IMAGE_HASH}",
|
|
"type=registry,ref=${IMAGE_NAME}:latest-spacy-de",
|
|
]
|
|
}
|
|
|
|
target "spacy-it" {
|
|
dockerfile = "docker/Dockerfile.pretrained_embeddings_spacy_it"
|
|
tags = ["${IMAGE_NAME}:${IMAGE_TAG}-spacy-it"]
|
|
|
|
args = {
|
|
IMAGE_BASE_NAME = "${IMAGE_NAME}"
|
|
BASE_IMAGE_HASH = "${BASE_IMAGE_HASH}"
|
|
BASE_BUILDER_IMAGE_HASH = "${BASE_BUILDER_IMAGE_HASH}"
|
|
}
|
|
|
|
cache-to = ["type=inline"]
|
|
|
|
cache-from = [
|
|
"type=registry,ref=${IMAGE_NAME}:base-${BASE_IMAGE_HASH}",
|
|
"type=registry,ref=${IMAGE_NAME}:base-builder-${BASE_BUILDER_IMAGE_HASH}",
|
|
"type=registry,ref=${IMAGE_NAME}:latest-spacy-it",
|
|
]
|
|
}
|
|
|
|
target "spacy-en" {
|
|
dockerfile = "docker/Dockerfile.pretrained_embeddings_spacy_en"
|
|
tags = ["${IMAGE_NAME}:${IMAGE_TAG}-spacy-en"]
|
|
|
|
args = {
|
|
IMAGE_BASE_NAME = "${IMAGE_NAME}"
|
|
BASE_IMAGE_HASH = "${BASE_IMAGE_HASH}"
|
|
BASE_BUILDER_IMAGE_HASH = "${BASE_BUILDER_IMAGE_HASH}"
|
|
}
|
|
|
|
cache-to = ["type=inline"]
|
|
|
|
cache-from = [
|
|
"type=registry,ref=${IMAGE_NAME}:base-${BASE_IMAGE_HASH}",
|
|
"type=registry,ref=${IMAGE_NAME}:base-builder-${BASE_BUILDER_IMAGE_HASH}",
|
|
"type=registry,ref=${IMAGE_NAME}:latest-spacy-en",
|
|
]
|
|
}
|