ministryofjustice / operations-engineering

This repository is home to the Operations Engineering's tools and utilities for managing, monitoring, and optimising software development processes at the Ministry of Justice. • This repository is defined and managed in Terraform
https://user-guide.operations-engineering.service.justice.gov.uk/
MIT License
12 stars 5 forks source link

FIREBREAK: Investigate Automatic Conversion from CircleCI -> GitHub Actions #4627

Closed PepperMoJ closed 1 month ago

PepperMoJ commented 2 months ago

Background

We are currently using a large amount of credits across our CircleCI projects. This ticket is to investigate

Questions / Assumptions

Tasklist

What hypothesis do we want to test?/What do we want to learn?

Can we automate the conversion of CircleCI workflows to GitHub Actions?

Definition of done

PepperMoJ commented 1 month ago

The GitHub Actions Importer seems to be the most promising way of analysing, forecasting and automating the conversion of our CircleCI pipelines.

PepperMoJ commented 1 month ago

A report from the GitHub Actions Importer tool with an audit of our migration potential:

Audit summary

Summary for CircleCI instance

Pipelines

Total: 505

Job types

Supported: 412 (81%)

Unsupported: 93 (18%)

Build steps

Total: 18938

Known: 15308 (80%)

Unknown: 3154 (16%)

Unsupported: 476 (2%)

Actions: 17497

Triggers

Total: 1934

Known: 1446 (74%)

Unsupported: 488 (25%)

Actions: 1446

Environment

Total: 0

Actions: 10675

Other

Total: 328

Known: 315 (96%)

Unsupported: 13 (3%)

Actions: 30373

Manual tasks

Total: 1230

Secrets: 1230

PepperMoJ commented 1 month ago

Here's the output for the moj-analytical-services organisation on CircleCI:

Audit summary

Summary for CircleCI instance

Pipelines

Total: 68

Job types

Supported: 1 (1%)

Unsupported: 67 (98%)

Build steps

Total: 4

Known: 4 (100%)

Actions: 4

Triggers

Total: 1

Known: 1 (100%)

Actions: 1

Environment

Total: 0

Other

Total: 1

Known: 1 (100%)

Actions: 1

PepperMoJ commented 1 month ago

Most computationally intensive projects can be seen on the usage overview.

PepperMoJ commented 1 month ago

Finished report can be found here.