From 7020551b400b93af46ad149df06d4b7c1b610926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Costa=20Silva?= <1574795+joaocsilva@users.noreply.github.com> Date: Thu, 15 Sep 2022 11:30:24 +0200 Subject: [PATCH] DQA-0: Toolkit requirements use new Gitlab url. --- src/TaskRunner/Commands/ToolCommands.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/TaskRunner/Commands/ToolCommands.php b/src/TaskRunner/Commands/ToolCommands.php index 63ca071e4..019331f65 100644 --- a/src/TaskRunner/Commands/ToolCommands.php +++ b/src/TaskRunner/Commands/ToolCommands.php @@ -1081,7 +1081,7 @@ public function toolkitRequirements(array $options = [ $gitlab_check = 'FAIL (Missing environment variable: GITLAB_API_TOKEN)'; } else { $curl = curl_init(); - curl_setopt($curl, CURLOPT_URL, 'https://git.fpfis.eu/api/v4/users?username=qa-dashboard-api'); + curl_setopt($curl, CURLOPT_URL, 'https://git.fpfis.tech.ec.europa.eu/api/v4/users?username=qa-dashboard-api'); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_HTTPHEADER, ["PRIVATE-TOKEN: $token"]); curl_setopt($curl, CURLOPT_USERAGENT, 'Quality Assurance'); @@ -1123,8 +1123,8 @@ public function toolkitRequirements(array $options = [ $this->io()->title('Checking connections:'); $this->io()->definitionList( ['QA Endpoint access' => $endpoint_check], - ['github.com oauth access' => $github_check], - ['git.fpfis.eu oauth access' => $gitlab_check], + ['GitHub oauth access' => $github_check], + ['GitLab oauth access' => $gitlab_check], ['ASDA configuration' => $asda_check], ['NEXTCLOUD configuration' => $nextcloud_check], );