chore: import upstream snapshot with attribution
CodeQL / Analyze (python) (push) Has been cancelled
Update Platform Components Table / update (push) Has been cancelled
Docker image release / Build base image (push) Has been cancelled
Sync docs with Docusaurus / sync (push) Has been cancelled
Tests / Check if changed (push) Has been cancelled
Tests / format (push) Has been cancelled
Tests / check-imports (push) Has been cancelled
Tests / Unit / macos-latest (push) Has been cancelled
Tests / Unit / ubuntu-latest (push) Has been cancelled
Tests / Unit / windows-latest (push) Has been cancelled
Tests / mypy (push) Has been cancelled
Tests / Integration / ubuntu-latest (push) Has been cancelled
Tests / Integration / macos-latest (push) Has been cancelled
Tests / Integration / windows-latest (push) Has been cancelled
Tests / notify-slack-on-failure (push) Has been cancelled
Tests / Mark tests as completed (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Update Platform Components Table / update (push) Has been cancelled
Docker image release / Build base image (push) Has been cancelled
Sync docs with Docusaurus / sync (push) Has been cancelled
Tests / Check if changed (push) Has been cancelled
Tests / format (push) Has been cancelled
Tests / check-imports (push) Has been cancelled
Tests / Unit / macos-latest (push) Has been cancelled
Tests / Unit / ubuntu-latest (push) Has been cancelled
Tests / Unit / windows-latest (push) Has been cancelled
Tests / mypy (push) Has been cancelled
Tests / Integration / ubuntu-latest (push) Has been cancelled
Tests / Integration / macos-latest (push) Has been cancelled
Tests / Integration / windows-latest (push) Has been cancelled
Tests / notify-slack-on-failure (push) Has been cancelled
Tests / Mark tests as completed (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
variable "HAYSTACK_VERSION" {
|
||||
default = "main"
|
||||
}
|
||||
|
||||
variable "GITHUB_REF" {
|
||||
default = ""
|
||||
}
|
||||
|
||||
variable "IMAGE_NAME" {
|
||||
default = "deepset/haystack"
|
||||
}
|
||||
|
||||
variable "IMAGE_TAG_SUFFIX" {
|
||||
default = "local"
|
||||
}
|
||||
|
||||
variable "BASE_IMAGE_TAG_SUFFIX" {
|
||||
default = "local"
|
||||
}
|
||||
|
||||
variable "IS_STABLE" {
|
||||
default = "false"
|
||||
}
|
||||
|
||||
# 2.Y.Z releases are also tagged as "stable"
|
||||
# Example: 2.99.0 is tagged as base-2.99.0 and stable
|
||||
|
||||
target "base" {
|
||||
dockerfile = "Dockerfile.base"
|
||||
tags = "${compact([
|
||||
"${IMAGE_NAME}:base-${IMAGE_TAG_SUFFIX}",
|
||||
equal("${IS_STABLE}", "true") ? "${IMAGE_NAME}:stable" : ""
|
||||
])}"
|
||||
args = {
|
||||
build_image = "python:3.12-slim@sha256:090ba77e2958f6af52a5341f788b50b032dd4ca28377d2893dcf1ecbdfdfe203"
|
||||
base_image = "python:3.12-slim@sha256:090ba77e2958f6af52a5341f788b50b032dd4ca28377d2893dcf1ecbdfdfe203"
|
||||
haystack_version = "${HAYSTACK_VERSION}"
|
||||
}
|
||||
platforms = ["linux/amd64", "linux/arm64"]
|
||||
}
|
||||
Reference in New Issue
Block a user