Skip to content

Commit

Permalink
FRW-7454 added config yml files for UI scheduled CI
Browse files Browse the repository at this point in the history
FRW-7454 added config yml files for UI scheduled CI
  • Loading branch information
Nataliia-Popkova committed Feb 26, 2024
1 parent b5af882 commit 2d87b40
Show file tree
Hide file tree
Showing 2 changed files with 271 additions and 0 deletions.
132 changes: 132 additions & 0 deletions config/install/docker.ci.acceptance.dynamic-store.robot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
env:
NEW_RELIC_ENABLED: 0
SPRYKER_LOG_STDOUT: /dev/null

sections:
build:
generate-transfers:
command: 'vendor/bin/console transfer:generate'

router-cache-warmup-yves:
command: 'vendor/bin/yves router:cache:warm-up'

router-cache-warmup-backoffice:
command: 'vendor/bin/console router:cache:warm-up:backoffice'

router-cache-warmup-backend-gateway:
command: 'vendor/bin/console router:cache:warm-up:backend-gateway'

twig-cache-warmup:
command: 'vendor/bin/console twig:cache:warmer'

navigation-cache-warmup:
command: 'vendor/bin/console navigation:build-cache'

rest-request-validation-cache-warmup:
command: 'vendor/bin/console rest-api:build-request-validation-cache'

propel-copy-schema:
command: 'vendor/bin/console propel:schema:copy'

propel-build:
command: 'vendor/bin/console propel:model:build'

generate-entity-transfer:
command: 'vendor/bin/console transfer:entity:generate'

generate-page-source-map:
command: 'vendor/bin/console search:setup:source-map'

translator-generate-cache:
command: 'vendor/bin/console translator:generate-cache'

cache-class-resolver-build:
command: 'vendor/bin/console cache:class-resolver:build'

generate-scope-collection-file:
command: 'vendor/bin/console oauth:scope-collection-file:generate'

build-development:
generate-transfers:
command: 'vendor/bin/console transfer:generate'

generate-transfer-databuilders:
command: 'vendor/bin/console transfer:databuilder:generate'

rest-api-generate-documentation:
command: 'vendor/bin/console rest-api:generate:documentation'

build-static:
dependencies-install:
command: 'vendor/bin/console frontend:project:install-dependencies'

build-static-production:
excluded: true
yves-build-frontend:
command: 'vendor/bin/console frontend:yves:build -e production'

zed-build-frontend:
command: 'vendor/bin/console frontend:zed:build -e production'

date-time-product-configurator:
command: 'vendor/bin/console frontend:date-time-product-configurator:build'

build-static-development:
yves-build-frontend:
command: 'vendor/bin/console frontend:yves:build'

zed-build-frontend:
command: 'vendor/bin/console frontend:zed:build'


date-time-product-configurator:
command: 'vendor/bin/console frontend:date-time-product-configurator:build'

init-storages-per-region:
propel-copy-schema:
command: 'vendor/bin/console propel:schema:copy'

propel-postgres-compatibility:
command: 'vendor/bin/console propel:pg-sql-compat'

propel-migration-delete:
command: 'vendor/bin/console propel:migration:delete'

propel-diff:
command: 'vendor/bin/console propel:diff'

propel-migrate:
command: 'vendor/bin/console propel:migrate'

propel-migration-cleanup:
command: 'vendor/bin/console propel:migration:delete'

demodata:
queue-setup:
command: 'vendor/bin/console queue:setup'

init-database:
command: 'vendor/bin/console setup:init-db'

import-eu-region-demodata:
command: 'vendor/bin/console data:import --config=data/import/local/full_EU.yml'

apply-scheduled-prices:
command: 'vendor/bin/console price-product-schedule:apply'

setup-search-create-sources:
command: 'vendor/bin/console search:setup:sources'

update-product-labels:
command: 'vendor/bin/console product-label:relations:update'

publish-and-sync:
command: 'vendor/bin/console queue:worker:start --stop-when-empty'
timeout: 2000

setup-glue:
controller-cache-warmup:
command: 'vendor/bin/glue glue-api:controller:cache:warm-up'

api-generate-documentation:
command: 'vendor/bin/glue api:generate:documentation'
139 changes: 139 additions & 0 deletions deploy.ci.acceptance.mariadb.dynamic-store.robot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
version: '0.1'

namespace: spryker_ci
tag: '1.0'

environment: docker.ci
pipeline: docker.ci.acceptance.dynamic-store.robot
image:
tag: spryker/php:8.2
environment:
SPRYKER_PRODUCT_CONFIGURATOR_HOST: date-time-configurator-example.spryker.local
SPRYKER_PRODUCT_CONFIGURATOR_PORT: 80
SPRYKER_CONFIGURATOR_ENCRYPTION_KEY: 'change123'
SPRYKER_YVES_HOST_EU: yves.eu.spryker.local
SPRYKER_YVES_HOST_US: yves.us.spryker.local
SPRYKER_DYNAMIC_STORE_MODE: true
SPRYKER_PRODUCT_CONFIGURATOR_HEX_INITIALIZATION_VECTOR: '0c1ffefeebdab4a3d839d0e52590c9a2'
SPRYKER_PUSH_NOTIFICATION_WEB_PUSH_PHP_VAPID_PUBLIC_KEY: 'BGqNWbv0hWM5CQ1-KwAfSQBMC6TMVFyrnh3vQp37oGCNvQ6eG_HyMjxBFJRWeCPTbzDoxcjhxLJS8Ck8r1G2oFw'
SPRYKER_PUSH_NOTIFICATION_WEB_PUSH_PHP_VAPID_PRIVATE_KEY: 'UK6DywwjKITPpRHBSY9TLPIXm6BPrHX40sseIoXT9c8'
SPRYKER_PUSH_NOTIFICATION_WEB_PUSH_PHP_VAPID_SUBJECT: 'https://spryker.com'
node:
version: 18
npm: 9

composer:
mode: "--no-dev --quiet"
autoload: --classmap-authoritative

regions:
EU:
services:
mail:
sender:
name: Spryker No-Reply
email: [email protected]
database:
database: eu-docker
username: spryker
password: secret

broker:
namespace: eu-docker
key_value_store:
namespace: 1
search:
namespace: eu_search
groups:
EU:
region: EU
applications:
yves_eu:
application: yves
endpoints:
date-time-configurator-example.spryker.local:
entry-point: Configurator
yves.eu.spryker.local:
region: EU
services:
session:
namespace: 1
glue_eu:
application: glue
endpoints:
glue.eu.spryker.local:
region: EU
backoffice_eu:
application: backoffice
endpoints:
backoffice.eu.spryker.local:
region: EU
services:
session:
namespace: 3
backend_gateway_eu:
application: backend-gateway
endpoints:
backend-gateway.eu.spryker.local:
region: EU
primal: true
backend_api_eu:
application: zed
endpoints:
backend-api.eu.spryker.local:
region: EU
entry-point: BackendApi
glue_storefront_eu:
application: glue-storefront
endpoints:
glue-storefront.eu.spryker.local:
region: EU
glue_backend_eu:
application: glue-backend
endpoints:
glue-backend.eu.spryker.local:
region: EU

services:
database:
engine: mysql
version: mariadb-10.4
root:
username: 'root'
password: 'secret'
endpoints:
localhost:3306:
protocol: tcp
broker:
engine: rabbitmq
version: '3.9'
api:
username: 'spryker'
password: 'secret'
session:
engine: redis
key_value_store:
engine: redis
search:
engine: elastic
version: '7.10'
mail_catcher:
engine: mailhog

docker:
ssl:
enabled: false

debug:
enabled: false
xdebug:
enabled: false

testing:
region: EU

mount:
baked:
compose:
yamls:
- .robot/docker-compose.robot.yml

0 comments on commit 2d87b40

Please sign in to comment.