diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 44ea5a04c5dac1b4b9e1ba533e337ae1752e85b5..7027ee11508bd9f257bd383cf34e085ef9551fdd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,12 @@ default:
 smoke-test:
   stage: test
   script:
+  - |
+    cat << EOF > ~/.oscrc
+    [https://api.opensuse.org]
+    user = user
+    pass = pass
+    EOF
   - apt-get install -yq python3 python3-pip osc
   - pip3 install .
   - osc clone --help