Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nakama
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
public-projects
Nakama
Commits
72716864
Commit
72716864
authored
6 years ago
by
Chris Molozian
Browse files
Options
Downloads
Patches
Plain Diff
Set new development version.
parent
46906234
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+3
-0
3 additions, 0 deletions
CHANGELOG.md
build/README.md
+7
-3
7 additions, 3 deletions
build/README.md
build/pluginbuilder/Dockerfile
+4
-2
4 additions, 2 deletions
build/pluginbuilder/Dockerfile
with
14 additions
and
5 deletions
CHANGELOG.md
+
3
−
0
View file @
72716864
...
@@ -3,6 +3,9 @@ All notable changes to this project are documented below.
...
@@ -3,6 +3,9 @@ All notable changes to this project are documented below.
The format is based on
[
keep a changelog
](
http://keepachangelog.com
)
and this project uses
[
semantic versioning
](
http://semver.org
)
.
The format is based on
[
keep a changelog
](
http://keepachangelog.com
)
and this project uses
[
semantic versioning
](
http://semver.org
)
.
## [Unreleased]
## [2.1.0] - 2018-10-08
## [2.1.0] - 2018-10-08
### Added
### Added
-
New Go code runtime for custom functions and authoritative match handlers.
-
New Go code runtime for custom functions and authoritative match handlers.
...
...
This diff is collapsed.
Click to expand it.
build/README.md
+
7
−
3
View file @
72716864
...
@@ -39,7 +39,7 @@ These steps are run for each new release.
...
@@ -39,7 +39,7 @@ These steps are run for each new release.
3.
Execute the cross-compiled build helper.
3.
Execute the cross-compiled build helper.
```
```
xgo --targets=darwin/amd64,linux/amd64,linux/arm64,windows/amd64 --ldflags "-s -w -X main.version=2.1.0 -X main.commitID=$(git rev-parse --short HEAD 2>/dev/null)"
--branch v2.1.0
github.com/heroiclabs/nakama
xgo --targets=darwin/amd64,linux/amd64,linux/arm64,windows/amd64 --ldflags "-s -w -X main.version=2.1.0 -X main.commitID=$(git rev-parse --short HEAD 2>/dev/null)" github.com/heroiclabs/nakama
```
```
This will build binaries for all target platforms supported officially by Heroic Labs.
This will build binaries for all target platforms supported officially by Heroic Labs.
...
@@ -60,13 +60,15 @@ With the release generated we can create the official container image.
...
@@ -60,13 +60,15 @@ With the release generated we can create the official container image.
```
```
cd build
cd build
docker build "$PWD" --file ./Dockerfile --build-arg commit="$(git rev-parse --short HEAD 2>/dev/null)" --build-arg version=
v
2.1.0 -t heroiclabs/nakama:2.1.0
docker build "$PWD" --file ./Dockerfile --build-arg commit="$(git rev-parse --short HEAD 2>/dev/null)" --build-arg version=2.1.0 -t heroiclabs/nakama:2.1.0
```
```
2.
Push the image to the container registry.
2.
Push the image to the container registry.
```
```
docker tag <CONTAINERID> heroiclabs/nakama:latest
docker push heroiclabs/nakama:2.1.0
docker push heroiclabs/nakama:2.1.0
docker push heroiclabs/nakama:latest
```
```
## Build Plugin Builder Image
## Build Plugin Builder Image
...
@@ -77,11 +79,13 @@ With the official release image generated we can create a container image to hel
...
@@ -77,11 +79,13 @@ With the official release image generated we can create a container image to hel
```
```
cd build/pluginbuilder
cd build/pluginbuilder
docker build "$PWD" --file ./Dockerfile --build-arg commit="$(git rev-parse --short HEAD 2>/dev/null)" --build-arg version=
v
2.1.0 -t heroiclabs/nakama-pluginbuilder:2.1.0
docker build "$PWD" --file ./Dockerfile --build-arg commit="$(git rev-parse --short HEAD 2>/dev/null)" --build-arg version=2.1.0 -t heroiclabs/nakama-pluginbuilder:2.1.0
```
```
2.
Push the image to the container registry.
2.
Push the image to the container registry.
```
```
docker tag <CONTAINERID> heroiclabs/nakama-pluginbuilder:latest
docker push heroiclabs/nakama-pluginbuilder:2.1.0
docker push heroiclabs/nakama-pluginbuilder:2.1.0
docker push heroiclabs/nakama-pluginbuilder:latest
```
```
This diff is collapsed.
Click to expand it.
build/pluginbuilder/Dockerfile
+
4
−
2
View file @
72716864
...
@@ -31,8 +31,10 @@ ENV CGO_ENABLED 1
...
@@ -31,8 +31,10 @@ ENV CGO_ENABLED 1
RUN
apk
--no-cache
add ca-certificates gcc musl-dev git
&&
\
RUN
apk
--no-cache
add ca-certificates gcc musl-dev git
&&
\
git config
--global
advice.detachedHead
false
&&
\
git config
--global
advice.detachedHead
false
&&
\
git clone
--quiet
--no-checkout
https://github.com/heroiclabs/nakama.git /go/src/github.com/heroiclabs/nakama
&&
\
git clone
--quiet
--no-checkout
https://github.com/heroiclabs/nakama.git /go/src/github.com/heroiclabs/nakama
git checkout
--quiet
"
$commit
"
WORKDIR
/go/src/github.com/heroiclabs/nakama
RUN
git checkout
--quiet
"
$commit
"
WORKDIR
/go/src/tempbuild/
WORKDIR
/go/src/tempbuild/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment