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

Add initial ARM support #527

Merged
merged 2 commits into from
Mar 16, 2021
Merged

Add initial ARM support #527

merged 2 commits into from
Mar 16, 2021

Conversation

palexster
Copy link
Member

@palexster palexster commented Mar 13, 2021

Description

This PR introduces first support for ARM64 architecture.

@adamjensenbot
Copy link
Collaborator

Hi @palexster. Thanks for your PR!

I am @adamjensenbot.
You can interact with me issuing a slash command in the first line of a comment.
Currently, I understand the following commands:

  • /rebase: Rebase this PR onto the master branch
  • /merge: Merge this PR into the master branch
  • /ok-to-test Enable testing for PRs with base on forks

Make sure this PR appears in the liqo changelog, adding one of the following labels:

  • kind/breaking: 💥 Breaking Change
  • kind/feature: 🚀 New Feature
  • kind/bug: 🐛 Bug Fix
  • kind/cleanup: 🧹 Code Refactoring
  • kind/docs: 📝 Documentation

@coveralls
Copy link

coveralls commented Mar 13, 2021

Pull Request Test Coverage Report for Build 655187273

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 32.728%

Totals Coverage Status
Change from base Build 651623741: 0.0%
Covered Lines: 4831
Relevant Lines: 14761

💛 - Coveralls

@palexster palexster changed the title [WIP] Add initial ARM support Add initial ARM support Mar 15, 2021
@palexster palexster added the hold Prevent bot merging label Mar 15, 2021
@palexster palexster requested a review from alacuku March 15, 2021 18:23
giorio94
giorio94 previously approved these changes Mar 15, 2021
Copy link
Member

@giorio94 giorio94 left a comment

Choose a reason for hiding this comment

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

/lgtm

.github/workflows/integration.yml Outdated Show resolved Hide resolved
@@ -3,7 +3,7 @@ ENV PATH /go/bin:/usr/local/go/bin:$PATH
ENV GOPATH /go
COPY . /go/src/github.com/liqotech/liqo
WORKDIR /go/src/github.com/liqotech/liqo
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build ./cmd/advertisement-broadcaster/
RUN CGO_ENABLED=0 GOOS=linux GOARCH=$(go env GOARCH) go build ./cmd/advertisement-broadcaster/
RUN cp advertisement-broadcaster /usr/bin/advertisement-broadcaster

FROM scratch
Copy link
Member

Choose a reason for hiding this comment

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

For the future, it may be worth to uniform the base image for the different controllers. Probably, alpine or busybox are good compromises as they allow some basic debugging with no particular effort

build/liqo-controller-manager/Dockerfile Outdated Show resolved Hide resolved
@palexster palexster removed the hold Prevent bot merging label Mar 16, 2021
@palexster
Copy link
Member Author

/merge

@adamjensenbot adamjensenbot added the merge-requested Request bot merging (automatically managed) label Mar 16, 2021
@adamjensenbot adamjensenbot merged commit baf4063 into master Mar 16, 2021
@adamjensenbot adamjensenbot deleted the apa/arm branch March 16, 2021 09:00
@adamjensenbot adamjensenbot removed the merge-requested Request bot merging (automatically managed) label Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants