[odrs-web/barthalion/add-tests-to-ci] test docker



commit 11a7b6bfea1e18b43fb2a66f1c6ddd753f342b92
Author: Bartłomiej Piotrowski <b bpiotrowski pl>
Date:   Wed Aug 31 22:46:26 2022 +0200

    test docker

 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6b1724b..74a3eb5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,9 @@ include:
   - project: 'Infrastructure/openshift-images/ci-templates'
     file: '/kaniko.yml'
 
+services:
+  - docker:dind
+
 stages:
   - test
   - deploy
@@ -21,6 +24,12 @@ tests:
     - ODRS_REVIEWS_SECRET=not-secret4 python odrs/tests/util_test.py
     - python odrs/tests/odrs_test.py
 
+foobar:
+  stage: test
+  image: docker
+  script:
+    - docker compose up
+
 deploy-dev:
   stage: deploy
   extends:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]