Commit graph

72 commits

Author SHA1 Message Date
Sergey Stepanov
046e272c5f
Clean old Docker images when deploying 2022-04-09 10:32:31 +03:00
sergystepanov
59c3d4a6c7
Pull all the images when deploying 2022-04-09 09:43:51 +03:00
Sergey Stepanov
242b8f0a1f
Update Go version to 1.18 for builds 2022-03-21 12:15:14 +03:00
Sergey Stepanov
2a283e24db
Remove DebugHost and Environment config params 2021-12-30 11:06:35 +03:00
sergystepanov
69ff8ae896
Update cloud data storage functionality (#349)
Add Oracle Data Storage support for cloud saves.
2021-09-20 10:17:59 +03:00
Sergey Stepanov
bdb81b9c1f
Pull the image just once 2021-08-27 22:52:36 +03:00
Sergey Stepanov
b8b6d250a2
Set log rotation by default for CD 2021-08-27 22:50:20 +03:00
Sergey Stepanov
a33b1a0ed6
Fix version script call 2021-08-26 20:19:46 +03:00
Sergey Stepanov
eea154d1bd
Disable macOS release builds 2021-08-26 19:25:31 +03:00
Sergey Stepanov
07fd41f5b1
Fix GTAG 2021-08-26 19:02:56 +03:00
Sergey Stepanov
32870a1fac
Enable Google Analytics with CD 2021-08-26 18:38:29 +03:00
Sergey Stepanov
904b0ae1bb
Set coordinator server address to :http for cloudretro 2021-08-26 14:39:17 +03:00
Sergey Stepanov
db8bc62958
Update deployment environment 2021-08-26 14:21:15 +03:00
Sergey Stepanov
7c7b0c53a9
Pull Docker images with a tag 2021-08-26 11:45:31 +03:00
Sergey Stepanov
6a289859b6
Use git labels in the Docker images 2021-08-26 11:33:54 +03:00
Sergey Stepanov
8c301f8e84
Update CD script 2021-08-25 20:51:31 +03:00
Sergey Stepanov
ba31777ba9
Use dev Docker image in CD 2021-08-25 20:29:09 +03:00
Sergey Stepanov
f511cf9dfe
Publish Docker images without git labels 2021-08-25 17:13:11 +03:00
Sergey Stepanov
9e7dac91b4
Update CD script 2021-08-25 16:11:19 +03:00
Sergey Stepanov
d7ea8690f4
Update CD script 2021-08-25 16:04:06 +03:00
Sergey Stepanov
2247725eb1
Update CD script 2021-08-25 15:58:13 +03:00
Sergey Stepanov
149486396a
Update CD script 2021-08-25 15:44:24 +03:00
Sergey Stepanov
3248ad37f2
Update CD script 2021-08-25 15:40:16 +03:00
Sergey Stepanov
766b9ae6a4
Update CD script 2021-08-25 14:16:56 +03:00
Sergey Stepanov
37d63e875c
Add ssh timeout 2021-08-25 14:15:27 +03:00
Sergey Stepanov
e770f1c77e
Add ssh user option 2021-08-25 14:09:30 +03:00
Sergey Stepanov
a7eb6cf9c3
Use Bash in CD 2021-08-25 14:00:42 +03:00
Sergey Stepanov
f4d249f11b
Use Bash in CD 2021-08-25 13:56:40 +03:00
Sergey Stepanov
c78117125f
Use Bash in CD 2021-08-25 13:50:02 +03:00
Sergey Stepanov
7773133409
Use Bash in CD 2021-08-25 11:03:11 +03:00
Sergey Stepanov
f95bf52074
Update gh deploy script 2021-08-25 10:40:19 +03:00
Sergey Stepanov
1f3e82b1c7
Set +x for deploy-app.sh 2021-08-25 10:37:21 +03:00
sergystepanov
f10dfff582
Update deploy.yml 2021-08-25 10:29:29 +03:00
sergystepanov
3426edb4c1
Add temporary Docker cleaner for cloudretro.io 2021-08-25 10:25:31 +03:00
sergystepanov
fb8ee791df
Update the prod deployment script (#341)
Test new deployment workflow.
2021-08-24 21:54:32 +03:00
sergystepanov
66a13943bc
Upgrade Go version to 1.17 (#345) 2021-08-17 11:41:14 +03:00
Sergey Stepanov
2657dfbc70
Rename manual production deployment workflow 2021-08-08 18:44:45 +03:00
Sergey Stepanov
4ec18fc34c
Enable manual production deployments 2021-08-08 18:34:16 +03:00
Sergey Stepanov
69f18d19e4
Pass version number as gh env when pushing Docker images 2021-07-16 18:32:17 +03:00
Sergey Stepanov
dc151f6a0b
Pass version when pushing Docker images 2021-07-16 18:22:52 +03:00
sergystepanov
30d104ee98
Add version info into the apps (#330)
Both worker and coordinator display version number in the console during startup. Coordinator displays its version number in the top right corner of the index.html page.
2021-07-16 18:13:20 +03:00
Sergey Stepanov
875673c661
Remove mingw-w64-x86_64-pkg-config and mingw-w64-x86_64-pkgconf conflict in MSYS2 2021-06-26 22:41:28 +03:00
giongto35
4935997c82
CD Flow to redeploy after push (#320)
* Add redeploy.sh to redeploy

* Add redeploy to workflow

* Update redeploy script

* Redeploy script

* Test

* run after checkout

* Update path

* checkout ssh

* Update build

* remove unnecesary

* Update placeholder

* Update domain

* Retrigger

* Update docker login

* Update config

* deploy with config

* Update sync config

* Redeploy

* Update redeploy.sh

* Redeploy specific

* redeploy.sh

* redeploy specific.sh

* add more server

* Update redeploy

* Update docker publish

* Redeploy

* Update port

* Update redeploy.sh

* test build

* Remove test with build.yaml

* Clean up

* Clean up
2021-05-28 03:51:25 +08:00
Sergey Stepanov
27e8a792fd
Publish Docker images from the stable/unstable code.
v-tagged push -> v-tagged stable image with stable tag also
master push -> dev tagged image
2021-05-26 22:23:47 +03:00
giongto35
eb10e203c9
Cd flow (#319)
* Add redeploy.sh to redeploy

* Add redeploy to workflow
2021-05-27 03:05:40 +08:00
giongto35
e3e05bc460
Add redeploy.sh to redeploy (#318) 2021-05-27 02:49:34 +08:00
sergystepanov
53e49c3634
Publish Docker images with the latest tag 2021-05-24 17:01:53 +03:00
Sergey Stepanov
763859283a
Use default Go file extension for builds 2021-04-09 20:59:15 +03:00
sergystepanov
65dcaf7820
Enable release builds with v-tags (#310)
Re-enable release builds push into Github releases page when new v-prefixed tags are pushed (i.e. v2.4.2).
2021-04-07 18:50:34 +03:00
sergystepanov
602b9ea47c
Make executables ready for static linking (#307)
* Disable CGO (C libs) for coordinator

Needed for static linking.

* Fix "error strings should not be capitalized (ST1005)"

* Fix SA1015

Using time.Tick leaks the underlying ticker, consider using it only in endless functions, tests and the main package, and use time.NewTicker here (SA1015)

* Fix SA9004

Only the first constant in this group has an explicit type (SA9004).

* Remove unused code in the webrtc package

* Fix S1000

Should use a simple channel send/receive instead of select with a single case (S1000).

* Force dir creation/check for core downloader

* Update Makefile release script

* Disable ASLR for worker builds

* Remove WORKER_BUILD_PARAMS flag from the CI

* Don't force recompilation in release

* Add Debian packages installer script

* Build worker app without libopusfile

* Test worker app without libopusfile

* Add opus wrapper without opusfile

* Make install.sh executable

* Add opus lib in Win builds

* Make insecure HTTPS requests when downloading libs

* Add ca-certificates for Docker build stage

go mod download works only with SSL certificates installed.

* Move libx264 wrapper into the repo

That way we can get rid of a lot of not needed external Go dependencies.

* Update the dependencies
2021-04-06 18:16:52 +03:00