-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade Decidim and Ruby * Webpacker install * Update secrets.yml and decidim config * Update some external modules * Compile webpacker * decidim-home: update Gemfile.lock * Review app decorators * Changes in overrided login views * Update assemblies locales * Update decidim-home and decidim-type modules * Update decidim-top_comments module * Update decidim-recaptcha module * Update decidim-process-extended module * Update decidim-regulations module * Update HOW TO UPGRADE * Upgrade decidim-verifications-members_picker with temporal branch * Upgrade Ruby version in GH workflow * Add department admin v027 and fix duplicated description * Add chromedriver workaround * Refactor decorator * Upgrade to Decidim v0.27.7 * Refactor decorators and add missing field in form * Fix process extended tests * Rubocopify * Fix main tests * WIP * Rework decorators * Remove decidim-type and decidim-admin-extended modules * Rework types filter * Remove require * Add migration to move types and fix filter * Fix tests * Update to Decidim 0.27.8 * Fix tests * Add capybara screenshots * Changes in test * Change gems versions * Bump versions and fix overrides * Recover decidim type model for migration * Comment types decorators * Rubocopify * Remove decidim_type model * Set department admin correct gem tag * Fix department admin decorator error * Upgrade department admin * Fix decorators in lib folder * Set department admin correct gem tag * Fix mailer sender * Fix filter in regulations * Fix filter by type * Add migration to change types in processes * Fix export PDFs because wicked_pdf version * Rubocopify * Fix tests * Changes in migration * Fix timezone * Add missing translation in upload file * Fix import process and bump main Decidim to 0.27.9 * Upgrade all to Decidim 0.27.9 * Rubocopify * Fix tests * Add validate migrations to CI * Refactor process serializers * Change Ruby version in validate migrations * Fix tests * Jointly notify the import of proposals and answers * Add modifications on code according to review suggestions * Modify decorators to updated version of zeitwek * Refactor importer decorator spec to avoid rubocop issue stub methods * Add schema update * Refactor decorators to avoid rubocop issue stub methods * Fix validate migrations CI * Add missing migrations * Unify syntax for proposal_creator_decorator_spec * Modify mailer sender default * Modifying mailer to on answers importer * Remove publish for every proposal import process * Add reminders task to schedule * Upgrade decidim-cdtb * Fix JS compilation --------- Co-authored-by: Oliver Valls <[email protected]> Co-authored-by: Ivan <[email protected]>
- Loading branch information
1 parent
454a2ef
commit 413e305
Showing
451 changed files
with
173,515 additions
and
32,486 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
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.0.7 | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
services: | ||
postgres: | ||
image: postgres:11 | ||
ports: ["5432:5432"] | ||
options: >- | ||
--health-cmd pg_isready | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
env: | ||
POSTGRES_PASSWORD: postgres | ||
env: | ||
DB_DATABASE: app | ||
DB_USERNAME: postgres | ||
DB_PASSWORD: postgres | ||
DB_HOST: localhost | ||
SECRET_KEY_BASE: "secret_key_base" | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.7.5 | ||
3.0.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.