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

Travis k8s integration test #1124

Merged
merged 2 commits into from
Mar 16, 2020

Conversation

samos123
Copy link
Contributor

@samos123 samos123 commented Mar 11, 2020

Description

  • Use minikube for deploying a lightweight K8s on Travis CI
  • Build and push Kaniko image to local docker registry
  • Build dockerfiles with context on both docker and K8s and check
    the diff between the 2.

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes unit tests
  • Adds integration tests if needed.

See the contribution guide for more details.

Reviewer Notes

  • The code flow looks good.
  • Unit tests and or integration tests added.

Since we recently started adding more scripts it makes sense to move to
a separate directory. This aligns with a common practice across golang
projects: https://github.com/golang-standards/project-layout
- Use minikube for deploying a lightweight K8s on Travis CI
- Build and push Kaniko image to local docker registry
- Build dockerfiles with context on both docker and K8s and check
  the diff between the 2.
@googlebot googlebot added the cla: yes CLA signed by all commit authors label Mar 11, 2020
@samos123 samos123 requested review from cvgw and tejal29 March 11, 2020 22:39
Copy link
Member

@tejal29 tejal29 left a comment

Choose a reason for hiding this comment

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

Looks Good to me!

@samos123 samos123 merged commit 23e3fe7 into GoogleContainerTools:master Mar 16, 2020
sudo apt-get update
sudo apt-get install -y liblz4-tool

sudo minikube start --vm-driver=none
Copy link
Member

Choose a reason for hiding this comment

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

looks good to me, you could also use docker driver which doesnt need sudo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes CLA signed by all commit authors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants