[extensions-web] ci: initial CI configuration
- From: Yuri Konotopov <ykonotopov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] ci: initial CI configuration
- Date: Sat, 6 Apr 2019 17:28:15 +0000 (UTC)
commit a4ef37a26afbc965efb2b329848723904098ed6b
Author: Yuri Konotopov <ykonotopov gnome org>
Date: Sat Apr 6 17:31:27 2019 +0400
ci: initial CI configuration
.gitlab-ci.yml | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..6fe82e5
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,18 @@
+image: docker:stable
+
+variables:
+ DOCKER_HOST: tcp://docker:2375/
+ DOCKER_DRIVER: overlay2
+
+services:
+ - docker:dind
+
+before_script:
+ - docker info
+
+test:
+ stage: test
+ script:
+ - docker build -f openshift/docker/Dockerfile -t extensions-web .
+ - docker run -e EGO_SECRET_KEY=. -e EGO_DEBUG=1 extensions-web python manage.py test
+ - docker run extensions-web bash -c 'pip install safety && safety check -r requirements.txt && safety
check -r requirements.ego.txt'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]