Skip to content

Commit

Permalink
Hotfix CI (#322)
Browse files Browse the repository at this point in the history
* Hotfix CI

* Update .travis.yml

* Update .travis.yml

* Update demo.sh
  • Loading branch information
alexanderM91 authored May 23, 2022
1 parent b5be97d commit c96825c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,23 @@ matrix:
- docker-sdk/sdk testing codecept run -c codeception.ci.functional.yml
before_script: skip
after_script: skip
- name: Docker / B2B Demoshop / PHP-7.4 Alpine / MariaDB / Glue
env:
- SPRYKER_PLATFORM_IMAGE=spryker/php:7.4-alpine3.15
- TRAVIS=1
- APPLICATION_ENV=ci.mysql
- SPRYKER_TESTING_ENABLED=1
- APPLICATION_STORE=DE
- PROJECT=suite
script:
- cd ../ && git clone --depth=3 --branch=master https://github.com/spryker-shop/b2b-demo-shop.git demo-shop && mv docker-sdk demo-shop && cd demo-shop
- docker-sdk/sdk boot deploy.ci.api.yml -v
- docker-sdk/sdk up -t -v
- docker-sdk/sdk testing codecept fixtures
- docker-sdk/sdk testing console queue:worker:start --stop-when-empty
- docker-sdk/sdk testing codecept run -c codeception.api.yml
before_script: skip
after_script: skip

before_script:
- chmod +x sdk
Expand Down
1 change: 1 addition & 0 deletions bin/sdk/data/demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ function Data::load() {
Compose::exec "vendor/bin/install${verboseOption} -r ${SPRYKER_PIPELINE} -s init-storages-per-store"
done

SPRYKER_CURRENT_STORE="${SPRYKER_DEFAULT_STORE}"
local demoDataSection=${1:-demodata}
Compose::exec "vendor/bin/install${verboseOption} -r ${SPRYKER_PIPELINE} -s init-storages-per-region -s ${demoDataSection}"
done
Expand Down

0 comments on commit c96825c

Please sign in to comment.