From 74501755774386c33dd5722bd388182d942a103f Mon Sep 17 00:00:00 2001
From: Bo-Chun Louis Chen <louistw@uab.edu>
Date: Wed, 13 Apr 2022 17:13:09 -0500
Subject: [PATCH 1/5] Update python version used in ci

Most of our machine runs Python3.6 not 3.7
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d93cd99..a1c8d13 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: "python:3.7"
+image: "python:3.6"
 
 before_script:
   - python --version
-- 
GitLab


From e9caf23088dead0498269f5a0dff6470903a5a4d Mon Sep 17 00:00:00 2001
From: Bo-Chun Louis Chen <louistw@uab.edu>
Date: Wed, 13 Apr 2022 17:13:51 -0500
Subject: [PATCH 2/5] Update max line length to 79

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a1c8d13..37ba5aa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,4 +12,4 @@ linting:
     - lint
   stage: lint
   script:
-    - pylint --ignore=tests.py --max-line-length=120 *.py app
+    - pylint --ignore=tests.py --max-line-length=79 *.py app
-- 
GitLab


From 46aef6ac0d902c98617c3c9138fd619d220394ef Mon Sep 17 00:00:00 2001
From: Bo-Chun Louis Chen <louistw@uab.edu>
Date: Thu, 14 Apr 2022 15:32:34 -0500
Subject: [PATCH 3/5] Rename stage to linting

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 37ba5aa..5c5ad39 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,11 +5,11 @@ before_script:
   - pip install pylint
 
 stages:
-  - lint
+  - linting
 
 linting:
+  stage: linting
   tags:
     - lint
-  stage: lint
   script:
     - pylint --ignore=tests.py --max-line-length=79 *.py app
-- 
GitLab


From 035f597f26f061daec9d93a9c5bddb744ffdf514 Mon Sep 17 00:00:00 2001
From: Bo-Chun Louis Chen <louistw@uab.edu>
Date: Thu, 14 Apr 2022 15:33:02 -0500
Subject: [PATCH 4/5] Set pipeline to run only on MR

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5c5ad39..44785b6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,3 +13,5 @@ linting:
     - lint
   script:
     - pylint --ignore=tests.py --max-line-length=79 *.py app
+  only:
+    - merge_requests
-- 
GitLab


From 3cd839ac07a0c9ca608950d6138e4736d10e4057 Mon Sep 17 00:00:00 2001
From: Bo-Chun Louis Chen <louistw@uab.edu>
Date: Thu, 14 Apr 2022 16:24:45 -0500
Subject: [PATCH 5/5] Print out env

---
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 44785b6..347c193 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
 image: "python:3.6"
 
 before_script:
+  - env
   - python --version
   - pip install pylint
 
-- 
GitLab