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

Enable GitHub Actions CI #60

Merged
merged 1 commit into from
Jul 19, 2021

Conversation

e0ne
Copy link
Contributor

@e0ne e0ne commented Jul 14, 2021

This patch introduces following CI jobs:

  • lint, build and unit-test run
  • publish image to GHCR on each merge
  • publish image to GHCR on each release

@e0ne
Copy link
Contributor Author

e0ne commented Jul 14, 2021

Since GitHub doesn't run actions from forks, here is example of the builds for the same commit: e0ne#1

strategy:
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x]
os: [ubuntu-latest]
Copy link
Collaborator

Choose a reason for hiding this comment

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

ubuntu 20.04?

branches:
- master
jobs:
build-and-push-image-sriov-cni:
Copy link
Collaborator

Choose a reason for hiding this comment

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

ib-sriov-cni

tags:
- v*
jobs:
build-and-push-image-sriov-cni:
Copy link
Collaborator

Choose a reason for hiding this comment

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

ib-sriov-cni

- name: Check out the repo
uses: actions/checkout@v2

- name: Set up Docker Buildx
Copy link
Collaborator

Choose a reason for hiding this comment

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

are we using buildx to support multi arch? if yes were that arch defined?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't use it right now. It's done as same as for sriov-cni and other k8snetworkplumbingwg's projects to have the same approach over the whole organization

This patch introduces following CI jobs:
* lint, build and unit-test run
* publish image to GHCR on each merge
* publish image to GHCR on each release
@moshe010 moshe010 merged commit af8a57a into k8snetworkplumbingwg:master Jul 19, 2021
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.

2 participants