From: Jeremy Davis Date: Thu, 22 Apr 2021 09:40:45 +0000 (+0200) Subject: SONAR-13740 Run ITs on minimal GitLab version X-Git-Tag: 8.9.0.43852~77 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a0e560b1243a0cfe729970473363981a09ede451;p=sonarqube.git SONAR-13740 Run ITs on minimal GitLab version --- 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');