department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
97 stars 69 forks source link

[SPIKE] Discuss best approach for leveraging Github actions for CI #5880

Closed acrollet closed 3 years ago

acrollet commented 3 years ago

Description

As a CMS engineer, I want to minimize the maintenance overhead for CI actions, so that I may focus my development efforts on adding direct value to the CMS.

There are certain challenges with using Github Actions when an existing action does not meet the CMS' needs, see https://dsva.slack.com/archives/CT4GZBM8F/p1626365340185300 for more background.

Let's meet to discuss

Acceptance Criteria

mchelen-gov commented 3 years ago

slack convo asking about errors with current GHA used: https://dsva.slack.com/archives/CU1E4CX9U/p1626382969114700

some relevant info:

demien: php and composer are available in runner https://github.com/actions/virtual-environments/blob/ubuntu20/20210712.0/images/linux/Ubuntu2004-README.md

brett: This is on my radar for this afternoon, to work on the php-actions/composer and get that working in the context of the VA. Whether that means figuring out a way to use it as is, or contributing a modification upstream to make it more usable

acrollet commented 3 years ago

Ephemeral doc from spike: https://docs.google.com/document/d/1LKvJYgon_nMtVo4IQZqooyCDBrg-du1hDJJhbgaPcfY/edit?usp=sharing

acrollet commented 3 years ago

I've updated https://github.com/department-of-veterans-affairs/va.gov-cms/blob/master/READMES/testing.md with information based on our discussion today.

acrollet commented 3 years ago

Throwing the other participants on as assignees so someone can review my changes.

ElijahLynn commented 3 years ago

Ephemeral doc from spike:

Do we want to copy the contents into that content and delete that doc?

ElijahLynn commented 3 years ago

Left one comment on https://github.com/department-of-veterans-affairs/va.gov-cms/commit/ab02a1ee3827cc519d21ca31aa10fd534ac1d912 about how to make the forked GitHub Action public/open source.

acrollet commented 3 years ago

Meeting notes:

What are the top level goals?

What problems are we trying to solve?

What possible solutions exist?

Questions to answer