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

Publish binaries and multi-arch docker images #56

Closed

Conversation

LucasRoesler
Copy link
Member

@LucasRoesler LucasRoesler commented May 24, 2020

What

  • Create a multiarch docker image that pre-compiles the certifier tests so that
    the tests are more portable
  • Update vendor folder to use latest openfaas projects
  • Add Github Actions workflow to publish Docker images and
    binaries on tags
  • reorganize CI scripts

Requires #58
Relates to #54
Relates to openfaas/faas#1585

Signed-off-by: Lucas Roesler [email protected]

@LucasRoesler
Copy link
Member Author

@alexellis i don't think this is ready until we update the README with instructions on how to use the docker image, but i always get confused about the networking. Perhaps you have a suggestion on the right way to run it.

For example, with docker swarm on your local machine, you can do

docker run --network=func_functions openfaas/certifier:latest -gateway=http://func_gateway:8080

But this presents an issue when running with auth, because you can just mount the local faas-cli config into the container because the gateway host names will be different, specifically, this doesn't work

docker run -v $HOME/.openfaas:/home/default/.openfaas --network=func_functions openfaas/certifier:latest -gateway=http://func_gateway:8080

@alexellis
Copy link
Member

alexellis commented May 24, 2020

I can see a binary distribution being useful, what are the pros of having a Docker image along with that?

@LucasRoesler LucasRoesler force-pushed the dockerize-certifier branch 2 times, most recently from f308a6b to cd34ffe Compare November 22, 2020 12:51
@LucasRoesler LucasRoesler changed the title Bundle certifier into docker image Publish binaries and multi-arch docker images Nov 22, 2020
@LucasRoesler LucasRoesler marked this pull request as ready for review November 22, 2020 13:14
**What**
- Create a multiarch docker image that pre-compiles the certifier tests so that
  the tests are more portable
- Update vendor folder to use latest openfaas projects
- Add Github Actions workflow to publish Docker images and
  binaries on tags
- reorganize CI scripts

Signed-off-by: Lucas Roesler <[email protected]>
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.

None yet

2 participants