- Issue created by @drumm
- Status changed to RTBC
over 1 year ago 8:14pm 1 June 2023 - πΊπΈUnited States drumm NY, US
This is now deployed. Bulk updating existing projects is
$client = versioncontrol_gitlab_get_client()->getHttpClient(); $result = (new EntityFieldQuery())->entityCondition('entity_type', 'node') ->entityCondition('bundle', project_project_node_types()) ->fieldCondition('field_project_type', 'value', 'full') ->execute(); foreach (array_keys($result['node']) as $nid) { $repository = versioncontrol_project_repository_load($nid); print $repository->name . PHP_EOL; $client->put('projects/' . $repository->gitlab_project_id, ['Content-type' => 'application/x-www-form-urlencoded'], drupal_http_build_query([ 'jobs_enabled' => 'true', 'shared_runners_enabled' => 'true', 'snippets_enabled' => 'true', 'wiki_enabled' => 'true', ])); }
- Status changed to Fixed
over 1 year ago 1:03pm 2 June 2023 - πΊπΈUnited States drumm NY, US
All projects except one with a missing
field_project_type
value now have GitLab CI enabled. Automatically closed - issue fixed for 2 weeks with no activity.