Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Push artifacts versions to Network Operator repo #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

e0ne
Copy link
Collaborator

@e0ne e0ne commented Dec 2, 2024

No description provided.

@e0ne e0ne requested a review from maze88 December 2, 2024 20:30
Copy link

github-actions bot commented Dec 2, 2024

Thanks for your PR,
To run vendors CIs, Maintainers can use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs, Maintainers can use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@coveralls
Copy link

coveralls commented Dec 2, 2024

Pull Request Test Coverage Report for Build 12479808379

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.01%) to 47.271%

Files with Coverage Reduction New Missed Lines %
controllers/helper.go 3 68.91%
Totals Coverage Status
Change from base Build 12440249226: 0.01%
Covered Lines: 7205
Relevant Lines: 15242

💛 - Coveralls

.github/workflows/fork-ci.yaml Outdated Show resolved Hide resolved
if [ -z "${IS_BETA}" ]; then
echo "BRANCH_NAME=master" >> $GITHUB_ENV
else
echo "BRANCH_NAME="$DOCKER_TAG" >> $GITHUB_ENV
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BRANCH_NAME here will be in format 'v25.01.x'? It looks it take the tag as is

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In SR-IOV we use the format like "network-operator-24.1.0-beta.3".

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR is going to be opened on Network-Operator repo.
The branch there should be master for beta, and eg. v24.10.x for rc and GA

.github/workflows/fork-ci.yaml Show resolved Hide resolved
git config user.email [email protected]

git checkout -b feature/update-sriov-tags-to-$DOCKER_TAG
sed -Ei "s/(version: )network-operator-.+/\\1$DOCKER_TAG/g" hack/release.yaml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are more changes here needed according to existing "draft-image-builder"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed now


git checkout -b feature/update-sriov-tags-to-$DOCKER_TAG
yq -i e '.SriovNetworkOperator.repository |= "${{ env.DOCKER_REGISTRY }}"' hack/release.yaml
yq -i e '.SriovNetworkOperator.version |= "${{ env.DOCKER_TAG }}"' hack/release.yaml
Copy link
Member

@rollandf rollandf Dec 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some steps are different from current draft-image-builder.jenkinsfile

  • Need to sync the helm chart
  • When is the Network Operator image built and release.yaml updated with it?
  • When is the Chart.yaml updated?
  • All GA handling (different repositories)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants