Skip to content

Commit

Permalink
Introduce decidim-cdtb
Browse files Browse the repository at this point in the history
  • Loading branch information
tramuntanal committed Jun 30, 2023
1 parent c6fc605 commit 54913e4
Show file tree
Hide file tree
Showing 3 changed files with 120 additions and 56 deletions.
52 changes: 52 additions & 0 deletions .github/workflows/validate_migrations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: "[CI] Validate migrations"

on:
push:
branches:
- master
- release/*
- "*-stable"
pull_request:

env:
DB_DATABASE: app
DB_USERNAME: postgres
DB_PASSWORD: postgres
RUBY_VERSION: 3.1.3

jobs:
test:
runs-on: ubuntu-latest
env:
SECRET_KEY_BASE: "secret_key_base"

steps:
- uses: actions/checkout@v2.0.0
with:
fetch-depth: 1
- uses: ruby/setup-ruby@master
with:
ruby-version: ${{ env.RUBY_VERSION }}
bundler-cache: true
- name: Recover Ruby dependency cache
uses: actions/cache@v1
with:
path: ./vendor/bundle
key: ${{ runner.OS }}-app-rubydeps-${{ hashFiles('Gemfile.lock') }}
restore-keys: |
${{ runner.OS }}-app-rubydeps-${{ env.cache-name }}-
${{ runner.OS }}-app-rubydeps-
- name: Set bundle local config vendor/bundle path
run: bundle config set --local path 'vendor/bundle'

- name: Install Ruby deps
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
retry_on: error
command: bundle install --jobs 4 --retry 3

- name: Run specs
run: bin/rails cdtb:upgrades:validate_migrations
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ gem "decidim-consultations", DECIDIM_VERSION
gem "decidim-verifications", DECIDIM_VERSION

gem "decidim-action_delegator", git: "https://github.com/CodiTramuntana/decidim-module-action_delegator", branch: "release/0.27-legacy"
gem "decidim-cdtb", git: "https://github.com/CodiTramuntana/decidim-module-cdtb.git", branch: "feat/upgrade-migrations"
gem "decidim-term_customizer", git: "https://github.com/CodiTramuntana/decidim-module-term_customizer.git", branch: "fix/translation_set_query_consultations_question"
gem "decidim-verifications-csv_email", git: "https://github.com/CodiTramuntana/decidim-verifications-csv_emails.git", tag: "v0.1.1"
gem "decidim-verifications-members_picker", git: "https://github.com/gencat/decidim-verifications-members_picker.git", tag: "0.0.5"
Expand Down
123 changes: 67 additions & 56 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ GIT
savon
twilio-ruby

GIT
remote: https://github.com/CodiTramuntana/decidim-module-cdtb.git
revision: 256f2033bde496e8c3ad59e24abd972b751bbf6b
branch: feat/upgrade-migrations
specs:
decidim-cdtb (0.1.3)
decidim (>= 0.26.2)
rails (>= 6)
ruby-progressbar

GIT
remote: https://github.com/CodiTramuntana/decidim-module-term_customizer.git
revision: a8c21c44672c68dd335727e899eb1cb24685431d
Expand Down Expand Up @@ -222,63 +232,63 @@ GIT
GEM
remote: https://rubygems.org/
specs:
actioncable (6.1.7.3)
actionpack (= 6.1.7.3)
activesupport (= 6.1.7.3)
actioncable (6.1.7.4)
actionpack (= 6.1.7.4)
activesupport (= 6.1.7.4)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (6.1.7.3)
actionpack (= 6.1.7.3)
activejob (= 6.1.7.3)
activerecord (= 6.1.7.3)
activestorage (= 6.1.7.3)
activesupport (= 6.1.7.3)
actionmailbox (6.1.7.4)
actionpack (= 6.1.7.4)
activejob (= 6.1.7.4)
activerecord (= 6.1.7.4)
activestorage (= 6.1.7.4)
activesupport (= 6.1.7.4)
mail (>= 2.7.1)
actionmailer (6.1.7.3)
actionpack (= 6.1.7.3)
actionview (= 6.1.7.3)
activejob (= 6.1.7.3)
activesupport (= 6.1.7.3)
actionmailer (6.1.7.4)
actionpack (= 6.1.7.4)
actionview (= 6.1.7.4)
activejob (= 6.1.7.4)
activesupport (= 6.1.7.4)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (6.1.7.3)
actionview (= 6.1.7.3)
activesupport (= 6.1.7.3)
actionpack (6.1.7.4)
actionview (= 6.1.7.4)
activesupport (= 6.1.7.4)
rack (~> 2.0, >= 2.0.9)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (6.1.7.3)
actionpack (= 6.1.7.3)
activerecord (= 6.1.7.3)
activestorage (= 6.1.7.3)
activesupport (= 6.1.7.3)
actiontext (6.1.7.4)
actionpack (= 6.1.7.4)
activerecord (= 6.1.7.4)
activestorage (= 6.1.7.4)
activesupport (= 6.1.7.4)
nokogiri (>= 1.8.5)
actionview (6.1.7.3)
activesupport (= 6.1.7.3)
actionview (6.1.7.4)
activesupport (= 6.1.7.4)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
active_link_to (1.0.5)
actionpack
addressable
activejob (6.1.7.3)
activesupport (= 6.1.7.3)
activejob (6.1.7.4)
activesupport (= 6.1.7.4)
globalid (>= 0.3.6)
activemodel (6.1.7.3)
activesupport (= 6.1.7.3)
activerecord (6.1.7.3)
activemodel (= 6.1.7.3)
activesupport (= 6.1.7.3)
activestorage (6.1.7.3)
actionpack (= 6.1.7.3)
activejob (= 6.1.7.3)
activerecord (= 6.1.7.3)
activesupport (= 6.1.7.3)
activemodel (6.1.7.4)
activesupport (= 6.1.7.4)
activerecord (6.1.7.4)
activemodel (= 6.1.7.4)
activesupport (= 6.1.7.4)
activestorage (6.1.7.4)
actionpack (= 6.1.7.4)
activejob (= 6.1.7.4)
activerecord (= 6.1.7.4)
activesupport (= 6.1.7.4)
marcel (~> 1.0)
mini_mime (>= 1.1.0)
activesupport (6.1.7.3)
activesupport (6.1.7.4)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
Expand All @@ -304,7 +314,7 @@ GEM
ice_nine (~> 0.11.0)
thread_safe (~> 0.3, >= 0.3.1)
batch-loader (1.5.0)
bcrypt (3.1.18)
bcrypt (3.1.19)
better_errors (2.9.1)
coderay (>= 1.0.0)
erubi (>= 1.0.0)
Expand Down Expand Up @@ -445,7 +455,7 @@ GEM
railties (>= 3.0.0)
faker (3.2.0)
i18n (>= 1.8.11, < 2)
faraday (2.7.7)
faraday (2.7.9)
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-net_http (3.0.2)
Expand Down Expand Up @@ -667,20 +677,20 @@ GEM
rack
rack-test (2.1.0)
rack (>= 1.3)
rails (6.1.7.3)
actioncable (= 6.1.7.3)
actionmailbox (= 6.1.7.3)
actionmailer (= 6.1.7.3)
actionpack (= 6.1.7.3)
actiontext (= 6.1.7.3)
actionview (= 6.1.7.3)
activejob (= 6.1.7.3)
activemodel (= 6.1.7.3)
activerecord (= 6.1.7.3)
activestorage (= 6.1.7.3)
activesupport (= 6.1.7.3)
rails (6.1.7.4)
actioncable (= 6.1.7.4)
actionmailbox (= 6.1.7.4)
actionmailer (= 6.1.7.4)
actionpack (= 6.1.7.4)
actiontext (= 6.1.7.4)
actionview (= 6.1.7.4)
activejob (= 6.1.7.4)
activemodel (= 6.1.7.4)
activerecord (= 6.1.7.4)
activestorage (= 6.1.7.4)
activesupport (= 6.1.7.4)
bundler (>= 1.15.0)
railties (= 6.1.7.3)
railties (= 6.1.7.4)
sprockets-rails (>= 2.0.0)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
Expand All @@ -694,9 +704,9 @@ GEM
rails-i18n (6.0.0)
i18n (>= 0.7, < 2)
railties (>= 6.0.0, < 7)
railties (6.1.7.3)
actionpack (= 6.1.7.3)
activesupport (= 6.1.7.3)
railties (6.1.7.4)
actionpack (= 6.1.7.4)
activesupport (= 6.1.7.4)
method_source
rake (>= 12.2)
thor (~> 1.0)
Expand Down Expand Up @@ -827,7 +837,7 @@ GEM
thor (1.2.2)
thread_safe (0.3.6)
tilt (2.2.0)
timeout (0.3.2)
timeout (0.4.0)
tomlrb (2.0.3)
twilio-ruby (6.1.0)
faraday (>= 0.9, < 3.0)
Expand Down Expand Up @@ -906,6 +916,7 @@ DEPENDENCIES
daemons
decidim!
decidim-action_delegator!
decidim-cdtb!
decidim-consultations!
decidim-dev!
decidim-term_customizer!
Expand Down

0 comments on commit 54913e4

Please sign in to comment.