Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chores/backport k8s #44

Merged
merged 97 commits into from
Sep 7, 2023
Merged

Chores/backport k8s #44

merged 97 commits into from
Sep 7, 2023

Conversation

armandfardeau
Copy link
Collaborator

🎩 Description

Please describe your pull request.

📌 Related Issues

Link your PR to an issue

Testing

Describe the best way to test or validate your PR.

Example:

  • Log in as admin
  • Access Backoffice
  • Go to organization settings
  • See ...

Tasks

  • Add specs
  • Add note about overrides in OVERLOADS.md

📷 Screenshots

Please add screenshots of the changes you're proposing if related to the UI

armandfardeau and others added 29 commits July 21, 2023 19:01
* Add a matrix to system tests

* Add tests for rspec runner

* Introduce include

* Introduce exclude

* Setup exclude group matrix

* Run 12 tests in parallel

* Use destructuration

* Log to stdout

* Don't run on examples

* Add assets cache (#213)

* Add assets cache

* Remove commit sha from cache key

* Generate hash for assets

* Fix offenses

* Add packages

* Use cache hash as litteral

* Use lib assets as assets pattern

* Dry up

* Fix typo

* Fix offenses

* Add tests (#214)

* Run test in parallel (#212)

* Run test in parallel

* Fix offenses

* Fix tests

* Add task test:run_all

* Fix parallel execution

* Fix tests

* Fix assets hash (#217)

* Chain commands

* Upgrade workflow version

* Remove useless cache for yarn

* Remove useless key
# Conflicts:
#	.github/workflows/tests.yml
#	Gemfile.lock
#	lib/tasks/test.rake
# Conflicts:
#	config/application.rb
#	lib/tasks/k8s.rake
#	lib/tasks/migrate.rake
#	lib/tasks/scaleway.rake
Co-authored-by: Armand Fardeau <[email protected]>

# Conflicts:
#	config/secrets.yml
#	config/storage.yml
* Add proxy and remote_ip to rack attack

* Add Rack Attack configuration

* Add unauthorized path for fail2ban

* Refactor Rack Attack configuration

* Load decidim-app config

* Fix rubocop offenses

* Allow to add proxy ip to Rack Attack and Action Dispatch safelist

* Add application.rb specs

* Update secrets.yml

* Add specs for DecidimApp config

* Add DecidimApp Rack Attack specs

* Remove spec file

* Add rack attack throttling specs

* Add specs for Fail2ban

* Revert changes in db/schema.rb

* Fix not interpreted error

* Remove trusted proxies configuration

* Remove trusted proxies configuration
# Conflicts:
#	config/initializers/decidim.rb
#	config/initializers/rack_attack.rb
#	config/locales/fr.yml
# Conflicts:
#	lib/initializers/sentry_setup.rb
#	spec/lib/sentry_setup_spec.rb
Co-authored-by: Quentin Champenois <[email protected]>
* Add upgrade task

* Add task
# Conflicts:
#	.github/workflows/ci_cd.yml
# Conflicts:
#	lib/k8s_configuration_exporter.rb
#	lib/k8s_organization_exporter.rb
#	lib/tasks/decidim_app.rake
#	lib/tasks/k8s.rake
#	spec/lib/k8s/configuration_exporter_spec.rb
#	spec/lib/k8s/organization_exporter_spec.rb
#	spec/lib/tasks/decidim_app/k8s/export_configuration_tasks_spec.rb
# Conflicts:
#	docker-compose.yml
Co-authored-by: Quentin Champenois <[email protected]>
Co-authored-by: quentinchampenois <[email protected]>

# Conflicts:
#	spec/lib/decidim/admin_creator_spec.rb
#	spec/lib/decidim/system_admin_creator_spec.rb
#	spec/lib/tasks/create_admin_task_spec.rb
#	spec/lib/tasks/create_system_admin_task_spec.rb
Co-authored-by: Quentin Champenois <[email protected]>
# Conflicts:
#	spec/system/confirmation_spec.rb
# Conflicts:
#	lib/tasks/repair_data.rake
#	lib/tasks/restore_dump.rake
# Conflicts:
#	config/environments/production.rb
@Quentinchampenois Quentinchampenois marked this pull request as ready for review July 25, 2023 13:28
Copy link
Contributor

@Quentinchampenois Quentinchampenois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some english locales are translated in french in config/locales/en.yml

paulinebessoles

This comment was marked as outdated.

@paulinebessoles paulinebessoles merged commit 8b6d753 into master Sep 7, 2023
13 checks passed
@paulinebessoles paulinebessoles deleted the chores/backport-k8s branch September 7, 2023 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants