mirror of
https://github.com/googleforgames/open-match.git
synced 2025-03-14 10:08:44 +00:00
Resolved #996. Manually rename the file name under internal/app/mmlogic and cmd/mmlogic from mmlogic.go to query.go to keep the image name consistent with our backend and frontend naming. TODO: Rename backend and frontend API to BackendService and FrontendService instead.
This folder provides a sample Match Function for Open Match Matchmaker 101 Tutorial.
Run the below steps in this folder to set up the Match Function.
Step1: Specify your Registry URL.
REGISTRY=[YOUR_REGISTRY_URL]
Step2: Build the Match Function image.
docker build -t $REGISTRY/default-eval-tutorial-matchfunction .
Step3: Push the Match Function image to the configured Registry.
docker push $REGISTRY/default-eval-tutorial-matchfunction
Step4: Update the install yaml for your setup.
- For GKE users, run:
sed "s|REGISTRY_PLACEHOLDER|$REGISTRY|g" matchfunction.yaml | kubectl apply -f -
- For Minikube users, use local image by running the following command:
eval $(minikube docker-env) sed "s|REGISTRY_PLACEHOLDER|$REGISTRY|g" matchfunction.yaml | sed "s|Always|Never|g" | kubectl apply -f -