Skip to content

Commit

Permalink
prepare for beta
Browse files Browse the repository at this point in the history
  • Loading branch information
FZambia committed Jul 12, 2021
1 parent 9a22b26 commit 056a739
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 85 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
UNIX_NOW: ${{ env.UNIX_NOW }}

- name: Release on Packagecloud
env:
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
run: misc/scripts/release_packagecloud.sh
# - name: Release on Packagecloud
# env:
# PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
# run: misc/scripts/release_packagecloud.sh
135 changes: 68 additions & 67 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,24 @@ release:
owner: centrifugal
name: centrifugo
name_template: '{{.Tag}}'
prerelease: false
prerelease: true
draft: true
extra_files:
- glob: ./PACKAGES/*.deb
- glob: ./PACKAGES/*.rpm
- glob: ./PACKAGES/*.txt
brews:
-
tap:
owner: centrifugal
name: homebrew-centrifugo
folder: Formula
description: "Real-time messaging server"
commit_author:
name: Alexander Emelin
email: [email protected]
install: bin.install "centrifugo"
homepage: "https://github.com/centrifugal/centrifugo"
#brews:
# -
# tap:
# owner: centrifugal
# name: homebrew-centrifugo
# folder: Formula
# description: "Real-time messaging server"
# commit_author:
# name: Alexander Emelin
# email: [email protected]
# install: bin.install "centrifugo"
# homepage: "https://github.com/centrifugal/centrifugo"
builds:
- goos:
- linux
Expand Down Expand Up @@ -79,57 +80,57 @@ signs:
- $artifact
signature: ${artifact}.sig
artifacts: none
dockers:
- ids:
- centrifugo
goos: linux
goarch: amd64
image_templates:
- "centrifugo/centrifugo:{{ .Tag }}-amd64"
- "centrifugo/centrifugo:v{{ .Major }}-amd64"
- "centrifugo/centrifugo:v{{ .Major }}.{{ .Minor }}-amd64"
- "centrifugo/centrifugo:latest-amd64"
use_buildx: true
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.name={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source={{.GitURL}}"
- "--platform=linux/amd64"
- ids:
- centrifugo
goos: linux
goarch: arm64
image_templates:
- "centrifugo/centrifugo:{{ .Tag }}-arm64v8"
- "centrifugo/centrifugo:v{{ .Major }}-arm64v8"
- "centrifugo/centrifugo:v{{ .Major }}.{{ .Minor }}-arm64v8"
- "centrifugo/centrifugo:latest-arm64v8"
use_buildx: true
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.name={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.source={{.GitURL}}"
- "--platform=linux/arm64/v8"
docker_manifests:
- name_template: centrifugo/centrifugo:{{ .Tag }}
image_templates:
- centrifugo/centrifugo:{{ .Tag }}-arm64v8
- centrifugo/centrifugo:{{ .Tag }}-amd64
- name_template: centrifugo/centrifugo:v{{ .Major }}
image_templates:
- centrifugo/centrifugo:{{ .Tag }}-arm64v8
- centrifugo/centrifugo:{{ .Tag }}-amd64
- name_template: centrifugo/centrifugo:v{{ .Major }}.{{ .Minor }}
image_templates:
- centrifugo/centrifugo:{{ .Tag }}-arm64v8
- centrifugo/centrifugo:{{ .Tag }}-amd64
- name_template: centrifugo/centrifugo:latest
image_templates:
- centrifugo/centrifugo:{{ .Tag }}-arm64v8
- centrifugo/centrifugo:{{ .Tag }}-amd64
#dockers:
# - ids:
# - centrifugo
# goos: linux
# goarch: amd64
# image_templates:
# - "centrifugo/centrifugo:{{ .Tag }}-amd64"
# - "centrifugo/centrifugo:v{{ .Major }}-amd64"
# - "centrifugo/centrifugo:v{{ .Major }}.{{ .Minor }}-amd64"
# - "centrifugo/centrifugo:latest-amd64"
# use_buildx: true
# build_flag_templates:
# - "--pull"
# - "--label=org.opencontainers.image.created={{.Date}}"
# - "--label=org.opencontainers.image.name={{.ProjectName}}"
# - "--label=org.opencontainers.image.revision={{.FullCommit}}"
# - "--label=org.opencontainers.image.version={{.Version}}"
# - "--label=org.opencontainers.image.source={{.GitURL}}"
# - "--platform=linux/amd64"
# - ids:
# - centrifugo
# goos: linux
# goarch: arm64
# image_templates:
# - "centrifugo/centrifugo:{{ .Tag }}-arm64v8"
# - "centrifugo/centrifugo:v{{ .Major }}-arm64v8"
# - "centrifugo/centrifugo:v{{ .Major }}.{{ .Minor }}-arm64v8"
# - "centrifugo/centrifugo:latest-arm64v8"
# use_buildx: true
# build_flag_templates:
# - "--pull"
# - "--label=org.opencontainers.image.created={{.Date}}"
# - "--label=org.opencontainers.image.name={{.ProjectName}}"
# - "--label=org.opencontainers.image.revision={{.FullCommit}}"
# - "--label=org.opencontainers.image.version={{.Version}}"
# - "--label=org.opencontainers.image.source={{.GitURL}}"
# - "--platform=linux/arm64/v8"
#docker_manifests:
# - name_template: centrifugo/centrifugo:{{ .Tag }}
# image_templates:
# - centrifugo/centrifugo:{{ .Tag }}-arm64v8
# - centrifugo/centrifugo:{{ .Tag }}-amd64
# - name_template: centrifugo/centrifugo:v{{ .Major }}
# image_templates:
# - centrifugo/centrifugo:{{ .Tag }}-arm64v8
# - centrifugo/centrifugo:{{ .Tag }}-amd64
# - name_template: centrifugo/centrifugo:v{{ .Major }}.{{ .Minor }}
# image_templates:
# - centrifugo/centrifugo:{{ .Tag }}-arm64v8
# - centrifugo/centrifugo:{{ .Tag }}-amd64
# - name_template: centrifugo/centrifugo:latest
# image_templates:
# - centrifugo/centrifugo:{{ .Tag }}-arm64v8
# - centrifugo/centrifugo:{{ .Tag }}-amd64
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/FZambia/statik v0.1.2-0.20180217151304-b9f012bb2a1b
github.com/FZambia/tarantool v0.2.2
github.com/FZambia/viper-lite v0.0.0-20171108064948-d5a31e6aa18b
github.com/centrifugal/centrifuge v0.17.1-0.20210711154750-78e89d5a5572
github.com/centrifugal/centrifuge v0.17.1-0.20210712123511-5c31812acaaf
github.com/centrifugal/protocol v0.5.1-0.20210618073555-f718422f13c0
github.com/cristalhq/jwt/v3 v3.1.0
github.com/gobwas/glob v0.2.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kB
github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ=
github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/centrifugal/centrifuge v0.17.1-0.20210711154750-78e89d5a5572 h1:wOG7FHe5kF8wMqFQzTbRyvbHRE2YDWbr3Bs1o0UQRus=
github.com/centrifugal/centrifuge v0.17.1-0.20210711154750-78e89d5a5572/go.mod h1:cXsDk9iSLfjCHmuTba/VVPb+MV1rcrutcy2FiUkrWI8=
github.com/centrifugal/centrifuge v0.17.1-0.20210712123511-5c31812acaaf h1:ZoEdVQUBMyJAvhpmKGbTou9omWEE+8A/cRe6koLJqyk=
github.com/centrifugal/centrifuge v0.17.1-0.20210712123511-5c31812acaaf/go.mod h1:cXsDk9iSLfjCHmuTba/VVPb+MV1rcrutcy2FiUkrWI8=
github.com/centrifugal/protocol v0.5.1-0.20210618073555-f718422f13c0 h1:9+sYhhzJ5Hj8N1jKFFivk4P5hZ5C0FBlsXPtK9kSv7g=
github.com/centrifugal/protocol v0.5.1-0.20210618073555-f718422f13c0/go.mod h1:FgtRYkjc1O8YN+t4JEzBBtsWn1xKQnit84bq2rjfMk4=
github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko=
Expand Down
12 changes: 1 addition & 11 deletions misc/release/notes.md
Original file line number Diff line number Diff line change
@@ -1,11 +1 @@
No backwards incompatible changes here.

Improvements:

* Possibility to modify data in publish proxy – see [#439](https://github.com/centrifugal/centrifugo/issues/439) and [updated docs for publish proxy](https://centrifugal.github.io/centrifugo/server/proxy/#publish-proxy)

Fixes:

* Use default timeouts for subscribe and publish proxy (1 second). Previously these proxy had no default timeout at all.

Centrifugo v2.8.5 based on Go 1.16.4
First beta release of Centrifugo v3.

0 comments on commit 056a739

Please sign in to comment.