# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
#

comma := ,

.EXPORT_ALL_VARIABLES:
DEBUG ?= false

DOCKER_BUILDKIT ?= 1
HUB ?= ghcr.io/apache/skywalking-showcase
TAG ?= $(shell git rev-parse --short HEAD)

BANYANDB_IMAGE ?= ghcr.io/apache/skywalking-banyandb
BANYANDB_IMAGE_TAG ?= 030c025f5b559646402fef6142151c79fd8822f8
STORAGE_CLASS ?= ""

ES_IMAGE ?= docker.elastic.co/elasticsearch/elasticsearch-oss
ES_IMAGE_TAG ?= 7.10.2

SW_OAP_IMAGE ?= ghcr.io/apache/skywalking/oap
SW_OAP_IMAGE_TAG ?= 1249bacbea4ceb5f450b8392c49da02dc588ec57

SW_UI_IMAGE ?= ghcr.io/apache/skywalking/ui
SW_UI_IMAGE_TAG ?= 1249bacbea4ceb5f450b8392c49da02dc588ec57

SW_CLI_IMAGE ?= ghcr.io/apache/skywalking-cli/skywalking-cli:bce7faaabbd57ed1f40156af8a8eb6c3eccea4ae
SW_EVENT_EXPORTER_IMAGE ?= ghcr.io/apache/skywalking-kubernetes-event-exporter/skywalking-kubernetes-event-exporter:8a012a3f968cb139f817189afb9b3748841bba22
SW_AGENT_JAVA_IMAGE ?= ghcr.io/apache/skywalking-java/skywalking-java:26ef911aea908759795bb6f5f2f6be56370d30cc-java8
SW_AGENT_GO_IMAGE ?= ghcr.io/apache/skywalking-go/skywalking-go:154de50628e82e590941585411299459e352317d-go1.19

SW_AGENT_NODEJS_BACKEND_VERSION ?= 59ef1aed6a404e2e8afffbb4b81ea849ae4f3026
SW_AGENT_NODEJS_FRONTEND_VERSION ?= dce0d5b39ab95b8062031bc74e6f7a191f08e186

SW_SATELLITE_IMAGE ?= ghcr.io/apache/skywalking-satellite/skywalking-satellite
SW_SATELLITE_IMAGE_TAG ?= v8778e3e8a4ab4962102502ffc9ba7a3c73270609

SW_ROVER_IMAGE ?= ghcr.io/apache/skywalking-rover/skywalking-rover:67622c352b98fd32782a3e7afc7d3fbd6d6ec8e3

SWCK_OPERATOR_IMAGE ?= docker.io/apache/skywalking-swck
SWCK_OPERATOR_IMAGE_TAG ?= v0.7.0

SW_GRAFANA_PLUGIN_VERSION ?= 0.1.0
GRAFANA_IMAGE ?= grafana/grafana:11.3.0

OTEL_COLLECTOR_IMAGE ?= otel/opentelemetry-collector
OTEL_COLLECTOR_IMAGE_TAG ?= 0.102.1

SW_R3_IMAGE ?= ghcr.io/skyapm/r3
SW_R3_IMAGE_TAG ?= 0.1.0

CILIUM_VERSION ?= 1.13.4
CILIUM_CLI_VERSION ?= v0.15.0

SW_PREDICTOR_IMAGE ?= ghcr.io/skyapm/skypredictor:66cd881d8316e7bd958a2172a99d2fc33f707150

# ALL variables should be listed above ^^
EXPORTED_VARS := $(filter-out <%,$(.VARIABLES))
