Compare commits

...

2 Commits

Author SHA1 Message Date
4f521b41db Release 0.7.0 (#833) 2019-09-27 13:13:36 -07:00
3c6183241e Release 0.7.0-rc.1 (#811) 2019-09-18 13:33:12 -07:00
20 changed files with 49 additions and 48 deletions

View File

@ -52,7 +52,7 @@
# If you want information on how to edit this file checkout,
# http://makefiletutorial.com/
BASE_VERSION = 0.0.0-dev
BASE_VERSION = 0.7.0
SHORT_SHA = $(shell git rev-parse --short=7 HEAD | tr -d [:punct:])
BRANCH_NAME = $(shell git rev-parse --abbrev-ref HEAD | tr -d [:punct:])
VERSION = $(BASE_VERSION)-$(SHORT_SHA)
@ -884,7 +884,7 @@ ci-reap-namespaces: build/toolchain/bin/reaper$(EXE_EXTENSION)
presubmit: GOLANG_TEST_COUNT = 5
presubmit: clean update-deps third_party/ assets lint build install-toolchain test md-test terraform-test
build/release/: presubmit clean-install-yaml install/yaml/
build/release/: clean-install-yaml update-chart-deps install/yaml/
mkdir -p $(BUILD_DIR)/release/
cp $(REPOSITORY_ROOT)/install/yaml/* $(BUILD_DIR)/release/

View File

@ -163,7 +163,7 @@ artifacts:
- install/yaml/05-jaeger-chart.yaml
substitutions:
_OM_VERSION: "0.0.0-dev"
_OM_VERSION: "0.7.0"
_GCB_POST_SUBMIT: "0"
_GCB_LATEST_VERSION: "undefined"
logsBucket: 'gs://open-match-build-logs/'

View File

@ -22,25 +22,25 @@ import (
)
// multifilterProfiles generates a multiple profiles, each containing a single Pool
// that specifies multiple filters to pick a partitioned player population. Note
// that specifies multiple filters to pick a partitioned player population. Note
// that across all the profiles returned, the entire population is covered and given
// the overlapping nature of filters, multiple profiles returned by this method may
// match to the same set of players.
func multifilterProfiles(cfg config.View) []*pb.MatchProfile {
regions := cfg.GetStringSlice("testConfig.regions")
ratingFilters := makeRangeFilters(&rangeConfig{
name: "Rating",
min: cfg.GetInt("testConfig.minRating"),
max: cfg.GetInt("testConfig.maxRating"),
rangeSize: cfg.GetInt("testConfig.multifilter.rangeSize"),
name: "Rating",
min: cfg.GetInt("testConfig.minRating"),
max: cfg.GetInt("testConfig.maxRating"),
rangeSize: cfg.GetInt("testConfig.multifilter.rangeSize"),
rangeOverlap: cfg.GetInt("testConfig.multifilter.rangeOverlap"),
})
latencyFilters := makeRangeFilters(&rangeConfig{
name: "Latency",
min: 0,
max: 100,
rangeSize: 70,
name: "Latency",
min: 0,
max: 100,
rangeSize: 70,
rangeOverlap: 0,
})

View File

@ -29,18 +29,18 @@ func multipoolProfiles(cfg config.View) []*pb.MatchProfile {
characters := cfg.GetStringSlice("testConfig.characters")
regions := cfg.GetStringSlice("testConfig.regions")
ratingFilters := makeRangeFilters(&rangeConfig{
name: "Rating",
min: cfg.GetInt("testConfig.minRating"),
max: cfg.GetInt("testConfig.maxRating"),
rangeSize: cfg.GetInt("testConfig.multipool.rangeSize"),
name: "Rating",
min: cfg.GetInt("testConfig.minRating"),
max: cfg.GetInt("testConfig.maxRating"),
rangeSize: cfg.GetInt("testConfig.multipool.rangeSize"),
rangeOverlap: cfg.GetInt("testConfig.multipool.rangeOverlap"),
})
latencyFilters := makeRangeFilters(&rangeConfig{
name: "Latency",
min: 0,
max: 100,
rangeSize: 70,
name: "Latency",
min: 0,
max: 100,
rangeSize: 70,
rangeOverlap: 0,
})

View File

@ -34,7 +34,7 @@ type rangeConfig struct {
rangeOverlap int
}
// makeRosterSlots generates a roster with the specified name and with the
// makeRosterSlots generates a roster with the specified name and with the
// specified number of empty roster slots.
func makeRosterSlots(name string, count int) *pb.Roster {
roster := &pb.Roster{
@ -48,13 +48,13 @@ func makeRosterSlots(name string, count int) *pb.Roster {
return roster
}
// makeRangeFilters generates multiple filters over a given range based on
// makeRangeFilters generates multiple filters over a given range based on
// the size of the range and the overlap specified for the filters.
func makeRangeFilters(config *rangeConfig) []*rangeFilter {
var filters []*rangeFilter
r := config.min
for r <= config.max {
max := r+config.rangeSize
max := r + config.rangeSize
if max > config.max {
r = config.max
}
@ -64,9 +64,9 @@ func makeRangeFilters(config *rangeConfig) []*rangeFilter {
min: r,
max: max,
})
r = r + 1 + (config.rangeSize - config.rangeOverlap)
}
return filters
}
}

View File

@ -36,12 +36,12 @@ var (
func Ticket(cfg config.View) *pb.Ticket {
characters := cfg.GetStringSlice("testConfig.characters")
regions := cfg.GetStringSlice("testConfig.regions")
min:= cfg.GetFloat64("testConfig.minRating")
max:= cfg.GetFloat64("testConfig.maxRating")
min := cfg.GetFloat64("testConfig.minRating")
max := cfg.GetFloat64("testConfig.maxRating")
latencyMap := latency(regions)
ticket := &pb.Ticket{
Properties: structs.Struct{
"mmr.rating": structs.Number(normalDist(40, min, max, 20)),
"mmr.rating": structs.Number(normalDist(40, min, max, 20)),
// TODO: Use string attribute value for the character attribute.
characters[rand.Intn(len(characters))]: structs.Number(float64(time.Now().Unix())),
}.S(),
@ -53,7 +53,8 @@ func Ticket(cfg config.View) *pb.Ticket {
return ticket
}
// latency generates a latency mapping of each region to a latency value. It picks
// latency generates a latency mapping of each region to a latency value. It picks
// one region with latency between 0ms to 100ms and sets latencies to all other regions
// to a value between 100ms to 300ms.
func latency(regions []string) map[string]float64 {

View File

@ -13,8 +13,8 @@
# limitations under the License.
apiVersion: v1
appVersion: "0.0.0-dev"
version: 0.0.0-dev
appVersion: "0.7.0"
version: 0.7.0
name: open-match
description: Flexible, extensible, and scalable video game matchmaking.
keywords:

View File

@ -26,7 +26,7 @@ evaluator:
image:
registry: gcr.io/open-match-public-images
tag: 0.0.0-dev
tag: 0.7.0
pullPolicy: Always
configs:

View File

@ -25,7 +25,7 @@ demo:
image:
registry: gcr.io/open-match-public-images
tag: 0.0.0-dev
tag: 0.7.0
pullPolicy: Always
# TODO: Split tls configs into a separate config file. For now Open Match assumes core components share the same secure mode

View File

@ -26,7 +26,7 @@ scaleBackend:
image:
registry: gcr.io/open-match-public-images
tag: 0.0.0-dev
tag: 0.7.0
pullPolicy: Always
configs:

View File

@ -18,7 +18,7 @@
image:
registry: gcr.io/open-match-public-images
tag: 0.0.0-dev
tag: 0.7.0
pullPolicy: Always
# https://github.com/helm/charts/tree/master/stable/prometheus

View File

@ -36,5 +36,5 @@ kubernetes:
image:
registry: gcr.io/open-match-public-images
tag: 0.0.0-dev
tag: 0.7.0
pullPolicy: Always

View File

@ -74,7 +74,7 @@ data:
httpport: "{{ .Values.evaluator.httpPort }}"
synchronizer:
enabled: false
enabled: true
registrationIntervalMs: 3000ms
proposalCollectionIntervalMs: 2000ms

View File

@ -91,7 +91,7 @@ function: &function
# Specifies a unified image registry, image tag, and imagePullPolicy for all components defined above.
image:
registry: gcr.io/open-match-public-images
tag: 0.0.0-dev
tag: 0.7.0
pullPolicy: Always
# Specifies the supported customizable indices per Match

View File

@ -120,7 +120,7 @@ func TestExtractIndexFilters(t *testing.T) {
description: "range",
pool: &pb.Pool{
FloatRangeFilters: []*pb.FloatRangeFilter{
&pb.FloatRangeFilter{
{
Attribute: "foo",
Min: -1,
Max: 1,
@ -139,7 +139,7 @@ func TestExtractIndexFilters(t *testing.T) {
description: "bool false",
pool: &pb.Pool{
BoolEqualsFilters: []*pb.BoolEqualsFilter{
&pb.BoolEqualsFilter{
{
Attribute: "foo",
Value: false,
},
@ -157,7 +157,7 @@ func TestExtractIndexFilters(t *testing.T) {
description: "bool true",
pool: &pb.Pool{
BoolEqualsFilters: []*pb.BoolEqualsFilter{
&pb.BoolEqualsFilter{
{
Attribute: "foo",
Value: true,
},
@ -175,7 +175,7 @@ func TestExtractIndexFilters(t *testing.T) {
description: "string equals",
pool: &pb.Pool{
StringEqualsFilters: []*pb.StringEqualsFilter{
&pb.StringEqualsFilter{
{
Attribute: "foo",
Value: "bar",
},

View File

@ -1,10 +1,10 @@
{
"urls": [
{"name": "Frontend", "url": "https://open-match.dev/api/v0.0.0-dev/frontend.swagger.json"},
{"name": "Backend", "url": "https://open-match.dev/api/v0.0.0-dev/backend.swagger.json"},
{"name": "Mmlogic", "url": "https://open-match.dev/api/v0.0.0-dev/mmlogic.swagger.json"},
{"name": "MatchFunction", "url": "https://open-match.dev/api/v0.0.0-dev/matchfunction.swagger.json"},
{"name": "Synchronizer", "url": "https://open-match.dev/api/v0.0.0-dev/synchronizer.swagger.json"},
{"name": "Evaluator", "url": "https://open-match.dev/api/v0.0.0-dev/evaluator.swagger.json"}
{"name": "Frontend", "url": "https://open-match.dev/api/v0.7.0/frontend.swagger.json"},
{"name": "Backend", "url": "https://open-match.dev/api/v0.7.0/backend.swagger.json"},
{"name": "Mmlogic", "url": "https://open-match.dev/api/v0.7.0/mmlogic.swagger.json"},
{"name": "MatchFunction", "url": "https://open-match.dev/api/v0.7.0/matchfunction.swagger.json"},
{"name": "Synchronizer", "url": "https://open-match.dev/api/v0.7.0/synchronizer.swagger.json"},
{"name": "Evaluator", "url": "https://open-match.dev/api/v0.7.0/evaluator.swagger.json"}
]
}