From a0e560b1243a0cfe729970473363981a09ede451 Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Thu, 22 Apr 2021 11:40:45 +0200 Subject: [PATCH] SONAR-13740 Run ITs on minimal GitLab version --- .cirrus.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index f9f852a4660..88463ad9184 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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'); -- 2.39.5