Adds a 'create stack' functionality for when a board has no stack

This fixes an issue where application would become iresponsive when a board has no stack

Fixes #21

Signed-off-by: Cyrille Bollu <cyrille@bollu.be>
1 job for fix/21/error-when-board-has-no-stack in 34 seconds (queued for 8 seconds)
Status Name Job ID Coverage
  Test
failed code_quality #1440743
allowed to fail

00:00:34

 
Name Stage Failure
failed
code_quality Test
$ if ! docker info &>/dev/null; then # collapsed multi-line command
$ function propagate_env_vars() { # collapsed multi-line command
$ docker pull --quiet "$CODE_QUALITY_IMAGE"
error during connect: Post http://docker:2375/v1.40/images/create?fromImage=registry.gitlab.com%2Fgitlab-org%2Fci-cd%2Fcodequality&tag=0.85.24: dial tcp: lookup docker on 213.133.98.98:53: no such host
Uploading artifacts for failed job
Uploading artifacts...
WARNING: gl-code-quality-report.json: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1