Spryker Harness for Workspace
To use this harness:
- Install Workspace
- Run
ws create <projectName> inviqa/spryker:v1.5.1
- Fill in project-specific AWS and Github credentials, set as blank if you don't need them
- Change to the directory:
cd <projectName>
- Create an initial commit, ensuring that
workspace.override.yml
is not added to git:
git init
git add .
git commit -m "Initial commit"
- 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
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.