mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
commit
247caf6e98
13 changed files with 36 additions and 106 deletions
4
.github/workflows/continuous-integration.yml
vendored
4
.github/workflows/continuous-integration.yml
vendored
|
@ -9,6 +9,10 @@ jobs:
|
||||||
ruby: ["3.0", "3.1", "3.2", "3.3"]
|
ruby: ["3.0", "3.1", "3.2", "3.3"]
|
||||||
db: [sqlite, mysql, postgres]
|
db: [sqlite, mysql, postgres]
|
||||||
exclude:
|
exclude:
|
||||||
|
- ruby: "3.1"
|
||||||
|
db: sqlite
|
||||||
|
- ruby: "3.1"
|
||||||
|
db: postgres
|
||||||
- ruby: "3.2"
|
- ruby: "3.2"
|
||||||
db: sqlite
|
db: sqlite
|
||||||
- ruby: "3.2"
|
- ruby: "3.2"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM ruby:3.1
|
FROM ruby:3.3
|
||||||
|
|
||||||
# throw errors if Gemfile has been modified since Gemfile.lock
|
# throw errors if Gemfile has been modified since Gemfile.lock
|
||||||
RUN bundle config --global frozen 1
|
RUN bundle config --global frozen 1
|
||||||
|
@ -8,7 +8,7 @@ WORKDIR /app
|
||||||
RUN touch /etc/app-env
|
RUN touch /etc/app-env
|
||||||
|
|
||||||
COPY Gemfile* /app/
|
COPY Gemfile* /app/
|
||||||
RUN gem install bundler -v 2.4.22
|
RUN gem install bundler
|
||||||
RUN bundle install --jobs 4
|
RUN bundle install --jobs 4
|
||||||
|
|
||||||
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM ruby:3.2
|
FROM ruby:3.1
|
||||||
|
|
||||||
# throw errors if Gemfile has been modified since Gemfile.lock
|
# throw errors if Gemfile has been modified since Gemfile.lock
|
||||||
RUN bundle config --global frozen 1
|
RUN bundle config --global frozen 1
|
|
@ -1,3 +1,3 @@
|
||||||
TRACKS_VERSION='2.6.1'
|
TRACKS_VERSION='2.7'
|
||||||
TRACKS_REVISION_WITH_DATE=`git log --date=format:'%Y-%m-%d' --pretty=format:"%h @ %ad" -1`
|
TRACKS_REVISION_WITH_DATE=`git log --date=format:'%Y-%m-%d' --pretty=format:"%h @ %ad" -1`
|
||||||
TRACKS_REVISION=`git log --pretty=format:"%h" -1`
|
TRACKS_REVISION=`git log --pretty=format:"%h" -1`
|
||||||
|
|
|
@ -1,5 +1,29 @@
|
||||||
See doc/upgrading.md for the upgrade documentation!
|
See doc/upgrading.md for the upgrade documentation!
|
||||||
|
|
||||||
|
## Version 2.7
|
||||||
|
|
||||||
|
### Removed features
|
||||||
|
|
||||||
|
* Support for Ruby 2.6 and 2.7 were dropped.
|
||||||
|
* Support for inbound message handling was dropped due to API changes caused by required Ruby on Rails upgrade. If you need this, comment in the issue https://github.com/TracksApp/tracks/issues/2463
|
||||||
|
* Rubocop is no longer used in the CI due to missing support for Ruby > 2.5.
|
||||||
|
|
||||||
|
### Deprecations
|
||||||
|
|
||||||
|
* This will be the last release to support Ruby 3.0, which is already end-of-life.
|
||||||
|
|
||||||
|
### Bug fixes
|
||||||
|
|
||||||
|
* The base version for the Docker image was updated from Ruby 2.7 to Ruby 3.3.
|
||||||
|
* Lots of dependencies have been updated (including security updates).
|
||||||
|
|
||||||
|
### Updated translations
|
||||||
|
|
||||||
|
* Spanish (thanks Gallegonovato!)
|
||||||
|
* Dutch (thanks Ranforingus!)
|
||||||
|
* Russian (thanks Alexey Svistunov!)
|
||||||
|
* Turkish (thanks Burak Hüseyin Ekseli!)
|
||||||
|
|
||||||
## Version 2.6.1
|
## Version 2.6.1
|
||||||
|
|
||||||
### Deprecations
|
### Deprecations
|
||||||
|
|
|
@ -10,7 +10,7 @@ services:
|
||||||
web:
|
web:
|
||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile-3.1
|
||||||
environment:
|
environment:
|
||||||
# These are set in script/ci-build, so we need to pass-thru them.
|
# These are set in script/ci-build, so we need to pass-thru them.
|
||||||
RAILS_ENV: $RAILS_ENV
|
RAILS_ENV: $RAILS_ENV
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
version: '3'
|
|
||||||
services:
|
|
||||||
db:
|
|
||||||
image: postgres:13
|
|
||||||
environment:
|
|
||||||
POSTGRES_DB: ${DATABASE_NAME:-tracks}
|
|
||||||
POSTGRES_PASSWORD: password
|
|
||||||
volumes:
|
|
||||||
- db-data:/var/lib/postgresql/data
|
|
||||||
web:
|
|
||||||
build:
|
|
||||||
context: ..
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
environment:
|
|
||||||
# These are set in script/ci-build, so we need to pass-thru them.
|
|
||||||
RAILS_ENV: $RAILS_ENV
|
|
||||||
DATABASE_NAME: $DATABASE_NAME
|
|
||||||
DATABASE_USERNAME: postgres
|
|
||||||
DATABASE_PASSWORD: password
|
|
||||||
DATABASE_TYPE: postgresql
|
|
||||||
DATABASE_ENCODING: unicode
|
|
||||||
DATABASE_PORT: 5432
|
|
||||||
volumes:
|
|
||||||
- ${VOLUME:-..}:/app:Z
|
|
||||||
- ${VOLUME:-..}/config/database.docker.yml:/app/config/database.yml:Z
|
|
||||||
- ${VOLUME:-..}/config/site.docker.yml:/app/config/site.yml:Z
|
|
||||||
ports:
|
|
||||||
- 3000:3000
|
|
||||||
depends_on:
|
|
||||||
- db
|
|
||||||
volumes:
|
|
||||||
db-data:
|
|
|
@ -1,17 +0,0 @@
|
||||||
version: '3'
|
|
||||||
services:
|
|
||||||
web:
|
|
||||||
build:
|
|
||||||
context: ..
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
environment:
|
|
||||||
# These are set in script/ci-build, so we need to pass-thru them.
|
|
||||||
RAILS_ENV: $RAILS_ENV
|
|
||||||
DATABASE_NAME: "/app/db.sqlite"
|
|
||||||
DATABASE_TYPE: sqlite3
|
|
||||||
volumes:
|
|
||||||
- ${VOLUME:-..}:/app:Z
|
|
||||||
- ${VOLUME:-..}/config/database.docker.yml:/app/config/database.yml:Z
|
|
||||||
- ${VOLUME:-..}/config/site.docker.yml:/app/config/site.yml:Z
|
|
||||||
ports:
|
|
||||||
- 3000:3000
|
|
|
@ -1,32 +0,0 @@
|
||||||
version: '3'
|
|
||||||
services:
|
|
||||||
db:
|
|
||||||
image: postgres:13
|
|
||||||
environment:
|
|
||||||
POSTGRES_DB: ${DATABASE_NAME:-tracks}
|
|
||||||
POSTGRES_PASSWORD: password
|
|
||||||
volumes:
|
|
||||||
- db-data:/var/lib/postgresql/data
|
|
||||||
web:
|
|
||||||
build:
|
|
||||||
context: ..
|
|
||||||
dockerfile: Dockerfile-3.2
|
|
||||||
environment:
|
|
||||||
# These are set in script/ci-build, so we need to pass-thru them.
|
|
||||||
RAILS_ENV: $RAILS_ENV
|
|
||||||
DATABASE_NAME: $DATABASE_NAME
|
|
||||||
DATABASE_USERNAME: postgres
|
|
||||||
DATABASE_PASSWORD: password
|
|
||||||
DATABASE_TYPE: postgresql
|
|
||||||
DATABASE_ENCODING: unicode
|
|
||||||
DATABASE_PORT: 5432
|
|
||||||
volumes:
|
|
||||||
- ${VOLUME:-..}:/app:Z
|
|
||||||
- ${VOLUME:-..}/config/database.docker.yml:/app/config/database.yml:Z
|
|
||||||
- ${VOLUME:-..}/config/site.docker.yml:/app/config/site.yml:Z
|
|
||||||
ports:
|
|
||||||
- 3000:3000
|
|
||||||
depends_on:
|
|
||||||
- db
|
|
||||||
volumes:
|
|
||||||
db-data:
|
|
|
@ -1,17 +0,0 @@
|
||||||
version: '3'
|
|
||||||
services:
|
|
||||||
web:
|
|
||||||
build:
|
|
||||||
context: ..
|
|
||||||
dockerfile: Dockerfile-3.2
|
|
||||||
environment:
|
|
||||||
# These are set in script/ci-build, so we need to pass-thru them.
|
|
||||||
RAILS_ENV: $RAILS_ENV
|
|
||||||
DATABASE_NAME: "/app/db.sqlite"
|
|
||||||
DATABASE_TYPE: sqlite3
|
|
||||||
volumes:
|
|
||||||
- ${VOLUME:-..}:/app:Z
|
|
||||||
- ${VOLUME:-..}/config/database.docker.yml:/app/config/database.yml:Z
|
|
||||||
- ${VOLUME:-..}/config/site.docker.yml:/app/config/site.yml:Z
|
|
||||||
ports:
|
|
||||||
- 3000:3000
|
|
|
@ -10,7 +10,7 @@ services:
|
||||||
web:
|
web:
|
||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
dockerfile: Dockerfile-3.3
|
dockerfile: Dockerfile
|
||||||
environment:
|
environment:
|
||||||
# These are set in script/ci-build, so we need to pass-thru them.
|
# These are set in script/ci-build, so we need to pass-thru them.
|
||||||
RAILS_ENV: $RAILS_ENV
|
RAILS_ENV: $RAILS_ENV
|
||||||
|
|
|
@ -10,7 +10,7 @@ services:
|
||||||
web:
|
web:
|
||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
dockerfile: Dockerfile-3.3
|
dockerfile: Dockerfile
|
||||||
environment:
|
environment:
|
||||||
# These are set in script/ci-build, so we need to pass-thru them.
|
# These are set in script/ci-build, so we need to pass-thru them.
|
||||||
RAILS_ENV: $RAILS_ENV
|
RAILS_ENV: $RAILS_ENV
|
||||||
|
|
|
@ -3,7 +3,7 @@ services:
|
||||||
web:
|
web:
|
||||||
build:
|
build:
|
||||||
context: ..
|
context: ..
|
||||||
dockerfile: Dockerfile-3.3
|
dockerfile: Dockerfile
|
||||||
environment:
|
environment:
|
||||||
# These are set in script/ci-build, so we need to pass-thru them.
|
# These are set in script/ci-build, so we need to pass-thru them.
|
||||||
RAILS_ENV: $RAILS_ENV
|
RAILS_ENV: $RAILS_ENV
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue