diff --git a/.git.docker b/.git.docker index e2ed293ec2..a64608c3ef 100644 --- a/.git.docker +++ b/.git.docker @@ -1 +1 @@ -b8782123c4dc89f2925161ea3421d959990dc697 +3966b3b4728e22fdf214d5830b18ad903593bfdb diff --git a/composer.lock b/composer.lock index cc151259fa..646d57e60f 100644 --- a/composer.lock +++ b/composer.lock @@ -241,16 +241,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.222.1", + "version": "3.222.3", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "632621d97180e82d3adc1245a7b272774c30dbf5" + "reference": "52b493b7b27de55e300afd26eff0be58d3689033" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/632621d97180e82d3adc1245a7b272774c30dbf5", - "reference": "632621d97180e82d3adc1245a7b272774c30dbf5", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/52b493b7b27de55e300afd26eff0be58d3689033", + "reference": "52b493b7b27de55e300afd26eff0be58d3689033", "shasum": "" }, "require": { @@ -326,9 +326,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.222.1" + "source": "https://github.com/aws/aws-sdk-php/tree/3.222.3" }, - "time": "2022-04-28T18:17:24+00:00" + "time": "2022-05-02T18:16:06+00:00" }, { "name": "brick/math", @@ -63506,12 +63506,12 @@ "source": { "type": "git", "url": "https://github.com/JetBrains/phpstorm-stubs.git", - "reference": "3495280dc50b3519c77e11a02422064312f36d71" + "reference": "004d450ed5c4bf40e89be62159e081368aa1a200" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/3495280dc50b3519c77e11a02422064312f36d71", - "reference": "3495280dc50b3519c77e11a02422064312f36d71", + "url": "https://api.github.com/repos/JetBrains/phpstorm-stubs/zipball/004d450ed5c4bf40e89be62159e081368aa1a200", + "reference": "004d450ed5c4bf40e89be62159e081368aa1a200", "shasum": "" }, "require-dev": { @@ -63547,7 +63547,7 @@ "support": { "source": "https://github.com/JetBrains/phpstorm-stubs/tree/master" }, - "time": "2022-04-28T08:53:09+00:00" + "time": "2022-05-02T16:52:47+00:00" }, { "name": "mikey179/vfsstream", @@ -64986,16 +64986,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.6.3", + "version": "1.6.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "6128620b98292e0b69ea6d799871d77163681c8e" + "reference": "e4cd0c2dd97809fcfdcd1f367ccf0be86c235168" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/6128620b98292e0b69ea6d799871d77163681c8e", - "reference": "6128620b98292e0b69ea6d799871d77163681c8e", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e4cd0c2dd97809fcfdcd1f367ccf0be86c235168", + "reference": "e4cd0c2dd97809fcfdcd1f367ccf0be86c235168", "shasum": "" }, "require": { @@ -65021,7 +65021,7 @@ "description": "PHPStan - PHP Static Analysis Tool", "support": { "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/1.6.3" + "source": "https://github.com/phpstan/phpstan/tree/1.6.4" }, "funding": [ { @@ -65041,7 +65041,7 @@ "type": "tidelift" } ], - "time": "2022-04-28T11:27:53+00:00" + "time": "2022-05-02T16:02:21+00:00" }, { "name": "phpunit/php-code-coverage", @@ -65466,16 +65466,16 @@ }, { "name": "psalm/phar", - "version": "4.22.0", + "version": "4.23.0", "source": { "type": "git", "url": "https://github.com/psalm/phar.git", - "reference": "feebed09c9782d9aaa819b794d880c2671ba0e4c" + "reference": "92700588da7c19107e4c465641ef10ac1a30e105" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/psalm/phar/zipball/feebed09c9782d9aaa819b794d880c2671ba0e4c", - "reference": "feebed09c9782d9aaa819b794d880c2671ba0e4c", + "url": "https://api.github.com/repos/psalm/phar/zipball/92700588da7c19107e4c465641ef10ac1a30e105", + "reference": "92700588da7c19107e4c465641ef10ac1a30e105", "shasum": "" }, "require": { @@ -65495,9 +65495,9 @@ "description": "Composer-based Psalm Phar", "support": { "issues": "https://github.com/psalm/phar/issues", - "source": "https://github.com/psalm/phar/tree/4.22.0" + "source": "https://github.com/psalm/phar/tree/4.23.0" }, - "time": "2022-02-27T11:01:37+00:00" + "time": "2022-05-02T02:15:17+00:00" }, { "name": "sebastian/cli-parser", diff --git a/config/Shared/config_default.php b/config/Shared/config_default.php index e555e63932..2500651234 100644 --- a/config/Shared/config_default.php +++ b/config/Shared/config_default.php @@ -467,6 +467,7 @@ ]; $config[SchedulerJenkinsConstants::JENKINS_CONFIGURATION] = [ SchedulerConfig::SCHEDULER_JENKINS => [ + SchedulerJenkinsConfig::SCHEDULER_JENKINS_CSRF_ENABLED => (bool)getenv('SPRYKER_JENKINS_CSRF_PROTECTION_ENABLED'), SchedulerJenkinsConfig::SCHEDULER_JENKINS_BASE_URL => sprintf( '%s://%s:%s/', getenv('SPRYKER_SCHEDULER_PROTOCOL') ?: 'http', diff --git a/deploy.aws-env-template.yml b/deploy.aws-env-template.yml index 91591f4366..6827dc28b8 100644 --- a/deploy.aws-env-template.yml +++ b/deploy.aws-env-template.yml @@ -187,6 +187,7 @@ services: protocol: tcp broker: engine: rabbitmq + version: '3.9' api: username: 'spryker' password: 'secret' @@ -209,6 +210,8 @@ services: protocol: tcp scheduler: engine: jenkins + version: '2.324' + csrf-protection-enabled: true endpoints: scheduler.example.cloud.spryker.toys: mail_catcher: diff --git a/deploy.ci.acceptance.mariadb.yml b/deploy.ci.acceptance.mariadb.yml index b98697f7e2..5a89150fb1 100644 --- a/deploy.ci.acceptance.mariadb.yml +++ b/deploy.ci.acceptance.mariadb.yml @@ -117,6 +117,7 @@ services: password: 'secret' broker: engine: rabbitmq + version: '3.9' api: username: 'spryker' password: 'secret' @@ -129,6 +130,8 @@ services: version: '7.10' scheduler: engine: jenkins + version: '2.324' + csrf-protection-enabled: true mail_catcher: engine: mailhog webdriver: diff --git a/deploy.ci.acceptance.yml b/deploy.ci.acceptance.yml index 6de19520cc..4d19a7f0a0 100644 --- a/deploy.ci.acceptance.yml +++ b/deploy.ci.acceptance.yml @@ -116,6 +116,7 @@ services: password: 'secret' broker: engine: rabbitmq + version: '3.9' api: username: 'spryker' password: 'secret' @@ -128,6 +129,8 @@ services: version: 7.6 scheduler: engine: jenkins + version: '2.324' + csrf-protection-enabled: true mail_catcher: engine: mailhog webdriver: diff --git a/deploy.ci.api.mariadb.yml b/deploy.ci.api.mariadb.yml index 43ddff5c6d..c4e5b6c130 100644 --- a/deploy.ci.api.mariadb.yml +++ b/deploy.ci.api.mariadb.yml @@ -122,6 +122,7 @@ services: password: 'secret' broker: engine: rabbitmq + version: '3.9' api: username: 'spryker' password: 'secret' @@ -134,6 +135,8 @@ services: version: '7.10' scheduler: engine: jenkins + version: '2.324' + csrf-protection-enabled: true mail_catcher: engine: mailhog diff --git a/deploy.ci.api.yml b/deploy.ci.api.yml index 08dfa197c0..2c417b8ab8 100644 --- a/deploy.ci.api.yml +++ b/deploy.ci.api.yml @@ -117,6 +117,7 @@ services: password: 'secret' broker: engine: rabbitmq + version: '3.9' api: username: 'spryker' password: 'secret' @@ -129,6 +130,8 @@ services: version: 7.6 scheduler: engine: jenkins + version: '2.324' + csrf-protection-enabled: true mail_catcher: engine: mailhog diff --git a/deploy.ci.functional.mariadb.yml b/deploy.ci.functional.mariadb.yml index 5bd2a54eb1..48d4e9a15a 100644 --- a/deploy.ci.functional.mariadb.yml +++ b/deploy.ci.functional.mariadb.yml @@ -119,6 +119,7 @@ services: password: 'secret' broker: engine: rabbitmq + version: '3.9' api: username: 'spryker' password: 'secret' @@ -131,6 +132,8 @@ services: version: '7.10' scheduler: engine: jenkins + version: '2.324' + csrf-protection-enabled: true mail_catcher: engine: mailhog diff --git a/deploy.ci.functional.yml b/deploy.ci.functional.yml index 9e6a75ca37..8482b549c5 100644 --- a/deploy.ci.functional.yml +++ b/deploy.ci.functional.yml @@ -118,6 +118,7 @@ services: password: 'secret' broker: engine: rabbitmq + version: '3.9' api: username: 'spryker' password: 'secret' @@ -130,6 +131,8 @@ services: version: 7.6 scheduler: engine: jenkins + version: '2.324' + csrf-protection-enabled: true mail_catcher: engine: mailhog diff --git a/deploy.ci.yml b/deploy.ci.yml index 8f3d572d90..f048321fc8 100644 --- a/deploy.ci.yml +++ b/deploy.ci.yml @@ -199,6 +199,7 @@ services: protocol: tcp broker: engine: rabbitmq + version: '3.9' api: username: 'spryker' password: 'secret' @@ -221,6 +222,8 @@ services: protocol: tcp scheduler: engine: jenkins + version: '2.324' + csrf-protection-enabled: true endpoints: scheduler.night-test.cloud.spryker.toys: mail_catcher: diff --git a/deploy.dev.yml b/deploy.dev.yml index 4b888016c1..8212dfc7b9 100644 --- a/deploy.dev.yml +++ b/deploy.dev.yml @@ -230,6 +230,7 @@ services: protocol: tcp broker: engine: rabbitmq + version: '3.9' api: username: 'spryker' password: 'secret' @@ -252,6 +253,8 @@ services: protocol: tcp scheduler: engine: jenkins + version: '2.324' + csrf-protection-enabled: true endpoints: scheduler.spryker.local: mail_catcher: diff --git a/deploy.spryker-69new.yml b/deploy.spryker-69new.yml index e381a04e87..bac4fc1289 100644 --- a/deploy.spryker-69new.yml +++ b/deploy.spryker-69new.yml @@ -227,6 +227,7 @@ services: protocol: tcp broker: engine: rabbitmq + version: '3.9' api: username: 'spryker' password: 'secret' @@ -249,6 +250,8 @@ services: protocol: tcp scheduler: engine: jenkins + version: '2.324' + csrf-protection-enabled: true endpoints: scheduler.69-new.demo-spryker.com: mail_catcher: diff --git a/deploy.spryker-sns.yml b/deploy.spryker-sns.yml index a868eadaad..5a5f402fe4 100644 --- a/deploy.spryker-sns.yml +++ b/deploy.spryker-sns.yml @@ -227,6 +227,7 @@ services: protocol: tcp broker: engine: rabbitmq + version: '3.9' api: username: 'spryker' password: 'secret' @@ -249,6 +250,8 @@ services: protocol: tcp scheduler: engine: jenkins + version: '2.324' + csrf-protection-enabled: true endpoints: scheduler.suite-nonsplit.demo-spryker.com: mail_catcher: diff --git a/deploy.spryker-staging.yml b/deploy.spryker-staging.yml index 4d9d84e417..cbf2694768 100644 --- a/deploy.spryker-staging.yml +++ b/deploy.spryker-staging.yml @@ -198,6 +198,7 @@ services: protocol: tcp broker: engine: rabbitmq + version: '3.9' api: username: 'spryker' password: 'secret' @@ -220,6 +221,8 @@ services: protocol: tcp scheduler: engine: jenkins + version: '2.324' + csrf-protection-enabled: true endpoints: scheduler.staging.cloud.spryker.toys: mail_catcher: diff --git a/deploy.yml b/deploy.yml index cc0720b24d..7fd637cc8a 100644 --- a/deploy.yml +++ b/deploy.yml @@ -228,6 +228,7 @@ services: protocol: tcp broker: engine: rabbitmq + version: '3.9' api: username: 'spryker' password: 'secret' @@ -250,6 +251,8 @@ services: protocol: tcp scheduler: engine: jenkins + version: '2.324' + csrf-protection-enabled: true endpoints: scheduler.spryker.local: mail_catcher: