]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-13740 Run ITs on minimal GitLab version
authorJeremy Davis <jeremy.davis@sonarsource.com>
Thu, 22 Apr 2021 09:40:45 +0000 (11:40 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 22 Apr 2021 20:03:34 +0000 (20:03 +0000)
.cirrus.yml

index f9f852a466032a0604ecc4f6cc99ce4be42ef615..88463ad9184b3ac60bd176b425d36bf28635a7b2 100644 (file)
@@ -250,7 +250,9 @@ qa_gitlab_task:
     use_in_memory_disk: true
     additional_containers:
       - name: gitlab
-        image: gitlab/gitlab-ce:latest
+        matrix: 
+          - image: gitlab/gitlab-ce:latest
+          - image: gitlab/gitlab-ce:11.7.0-ce.0
         port: 8080:80
         cpu: 1
         memory: 5Gb
@@ -260,7 +262,7 @@ qa_gitlab_task:
           token = User.find_by_username('root').personal_access_tokens.create(scopes: [:api], name: 'token');
           token.set_token('token-here-456');
           token.save!;
-          token_read = User.find_by_username('root').personal_access_tokens.create(scopes: [:read_api], name: 'token_read');
+          token_read = User.find_by_username('root').personal_access_tokens.create(scopes: [:read_user], name: 'token_read');
           token_read.set_token('token-read-123');
           token_read.save!;
           user = User.find_by_username('root');