|
| 1 | +# Copyright Meshery Authors |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | + |
| 15 | +#----------------------------------------------------------------------------- |
| 16 | +# Global Variables |
| 17 | +#----------------------------------------------------------------------------- |
| 18 | +GIT_VERSION = $(shell git describe --tags `git rev-list --tags --max-count=1`) |
| 19 | +GIT_COMMITSHA = $(shell git rev-list -1 HEAD) |
| 20 | +GIT_STRIPPED_VERSION=$(shell git describe --tags `git rev-list --tags --max-count=1` | cut -c 2-) |
| 21 | + |
| 22 | +# Extension Point for remote provider . Add your provider here. |
| 23 | +REMOTE_PROVIDER="Layer5" |
| 24 | + |
| 25 | +LOCAL_PROVIDER="None" |
| 26 | +GOVERSION = 1.23 |
| 27 | +GOPATH = $(shell go env GOPATH) |
| 28 | +GOBIN = $(GOPATH)/bin |
| 29 | +KEYS_PATH="../../server/permissions/keys.csv" |
| 30 | + |
| 31 | +SHELL := /usr/bin/env bash -o pipefail |
| 32 | + |
| 33 | +#----------------------------------------------------------------------------- |
| 34 | +# Components |
| 35 | +#----------------------------------------------------------------------------- |
| 36 | +# All Adapters |
| 37 | +# ADAPTER_URLS := "localhost:10000 localhost:10001 localhost:10002 localhost:10004 localhost:10005 localhost:10006 localhost:10007 localhost:10009 localhost:10010 localhost:10012" |
| 38 | +# No Adapters |
| 39 | +ADAPTER_URLS := "localhost:10000 localhost:10001 localhost:10012 localhost:10013" |
| 40 | + |
| 41 | +#----------------------------------------------------------------------------- |
| 42 | +# Providers (Add your provider here. See https://docs.meshery.io/extensibility/providers) |
| 43 | +#----------------------------------------------------------------------------- |
| 44 | +REMOTE_PROVIDER_LOCAL="http://localhost:9876" |
| 45 | +EQUINIX_DEV="http://meshery.console.equinix.com" |
| 46 | +EQUINIX_DEV2="http://meshery-2.console.equinix.com" |
| 47 | +MESHERY_CLOUD_DEV="http://localhost:9876" |
| 48 | +MESHERY_CLOUD_PROD="https://cloud.layer5.io" |
| 49 | +MESHERY_CLOUD_STAGING="https://staging-cloud.layer5.io" |
| 50 | +EXOSCALE_PROD="https://sks.exoscale.com" |
| 51 | +EXOSCALE_STG="https://stg-sks.exoscale.com" |
| 52 | +EXOSCALE_DEV="https://dev-sks.exoscale.com" |
| 53 | + |
| 54 | +#----------------------------------------------------------------------------- |
| 55 | +# Server |
| 56 | +#----------------------------------------------------------------------------- |
| 57 | +MESHERY_K8S_SKIP_COMP_GEN ?= TRUE |
| 58 | +APPLICATIONCONFIGPATH="./apps.json" |
| 59 | +PORT:=9081 |
| 60 | + |
| 61 | +#----------------------------------------------------------------------------- |
| 62 | +# Build |
| 63 | +#----------------------------------------------------------------------------- |
| 64 | +RELEASE_CHANNEL="edge" |
0 commit comments