This pull request introduces new jobs in the GitHub Actions workflows and includes several other improvements and fixes. The most important changes include adding new jobs to the CI workflows, updating commands to use the repository owner dynamically, and modifying the Makefile to streamline the testing process.
CI Workflow Enhancements:
.github/workflows/push.yml: Added a new job (job1) to build and push images using sealos. This job includes steps for setting up Go, verifying sealos, building images, and pushing them to the repository.
.github/workflows/test.yml: Added a new job (job2) similar to job1 in push.yml, which includes steps for checking out the code, setting up Go, verifying sealos, and building images.
This pull request introduces new jobs in the GitHub Actions workflows and includes several other improvements and fixes. The most important changes include adding new jobs to the CI workflows, updating commands to use the repository owner dynamically, and modifying the
Makefile
to streamline the testing process.CI Workflow Enhancements:
.github/workflows/push.yml
: Added a new job (job1
) to build and push images usingsealos
. This job includes steps for setting up Go, verifyingsealos
, building images, and pushing them to the repository..github/workflows/test.yml
: Added a new job (job2
) similar tojob1
inpush.yml
, which includes steps for checking out the code, setting up Go, verifyingsealos
, and building images.Command Updates:
.github/workflows/update_version_config.yml
: Updated thecommand
to use the dynamic repository owner for generating and building the operator image.Makefile Improvements:
Makefile
: Simplified thetest
ande2e
targets by removing unnecessary dependencies onmanifests
andgenerate
. [1] [2]Code Fixes:
gen/gen.go
: Added a condition to handle the "latest" version by setting it to "0.0.0" to avoid issues with version replacement in theChart.yaml
file.