usdot-fhwa-OPS / V2X-Hub

V2X Hub is a message handler that acts as a translator and data aggregator/disseminator for infrastructure components of a connected vehicle deployment.
Apache License 2.0
123 stars 69 forks source link

New workflow for PRs #587

Closed paulbourelly999 closed 8 months ago

paulbourelly999 commented 8 months ago

PR Details

Description

This PR removes CircleCI workflow configurations for automated release and arm image builds and replaces them with github actions. We now have 5 workflows:

  1. build_php_docker_image: Builds and pushes docker image for php in arm and amd architectures. Runs on develop, master,release candidates and on pushed tags
  2. build_port_drayage_docker_image: Builds and pushed docker image for port drayage webservice in arm and amd architectures .Runs on develop, master,release candidates and on pushed tags
  3. build_v2xhub_docker_image: Builds and pushed docker image for v2xhub in arm and amd architectures .Runs on develop, master,release candidates and on pushed tags
  4. pull_request: Builds all docker images in arm and amd (no push) architectures. Runs only on pull requests
  5. sonar_scanner: Builds source code, runs unit tests and runs static analysis (sonar scanner) and pushes results. Runs on develop, master and on all open PRs.

Related Issue

VH-1278

Motivation and Context

Remove CircleCI and use platform/architecture for docker images

How Has This Been Tested?

@jwilliammartin Could you test the following on ARM devices. docker compose pull and run new images. Ensure no docker images crash on both V2X-Hub and Port Drayage web UI are accessible.

Types of changes

Checklist:

sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud