From 4d25b63ff824324019edd475f5a49a89309689a2 Mon Sep 17 00:00:00 2001
From: Paolo Brasolin <paolo.brasolin@eurac.edu>
Date: Mon, 28 Feb 2022 12:55:40 +0100
Subject: [PATCH] feat: #be add note on flaky butler

---
 .gitlab-ci.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b68c903..afc48f9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -83,7 +83,7 @@ stages:
     - npm install
     - echo Success!
 
-fe-deploy-job:
+.fe-deploy-job:
   variables:
     GLIBC_URL: https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.34-r0/glibc-2.34-r0.apk
     BUTLER_URL: https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default
@@ -114,8 +114,9 @@ fe-deploy-job:
     - chmod +x /usr/local/bin/butler
     - rm butler.zip
     - butler -V
+    # NOTE: sometimes this fails with error `runtime/cgo: pthread_create failed: Operation not permitted` and I'm not sure why. A strict Docker's seccomp policy would explain this, but then why is it flaky?!
   script:
     - cd frontend
     - npm install
     - npm run build
-    - butler push dist paolobrasolin/oetzi:html5
\ No newline at end of file
+    - butler push dist paolobrasolin/oetzi:html5
-- 
GitLab