Skip to content

teufelaudio/harness-spryker

Repository files navigation

Spryker Harness for Workspace

To use this harness:

  1. Install Workspace
  2. Run ws create <projectName> inviqa/spryker:v1.5.1
  3. Fill in project-specific AWS and Github credentials, set as blank if you don't need them
  4. Change to the directory: cd <projectName>
  5. Create an initial commit, ensuring that workspace.override.yml is not added to git:
git init
git add .
git commit -m "Initial commit"
  1. Store the workspace.override.yml contents in a suitable location (such as LastPass).

To generate and encrypt secrets for pipeline environments: https://github.com/inviqa/k8s-project-cluster/blob/0.1.x-dev/docs/cluster-management/sealed-secrets/README.md

How to test?

There are two modes of this harness: static (for CI environment) and dynamic (for local environment). Static mode is a fixed file system, and dynamic uses mutagen to sync file changes with the console and php-fpm containers.

You can test both of them using below command:

.ci/test static
.ci/test dynamic

It will create a new directory at .ci/tmp-test that will compile the harness and find any twig compilation errors.