From 405846efff268cc157ddf79f0ce462b2ce38a3bc Mon Sep 17 00:00:00 2001
From: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
Date: Tue, 20 Jul 2021 23:03:27 +0200
Subject: [PATCH] .gitlab-ci.yml: switch to ostc-npx-cspell for cspell

The container has all the dependencies pre-installed, making the spell
checking much faster to run.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
---
 .gitlab-ci.yml | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 786f89a..e246693 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,12 +35,8 @@ format:
 
 spell:
   stage: test
-  image: ubuntu:21.04
-  variables:
-    DEBIAN_FRONTEND: noninteractive
-  before_script:
-    # Install npm to get access to npx tool.
-    - apt-get update && apt-get install -y npm
+  image:
+    name: registry.ostc-eu.org/ostc/containers/ostc-npx-cspell:latest
   script:
     # Note that the particular options are duplicated with what's defined in
     # Makefile. To avoid this we'd have to get zmk as an installable dependency
-- 
GitLab