Skip to content

Commit

Permalink
Merge branch 'master' into w/fix-global-config
Browse files Browse the repository at this point in the history
  • Loading branch information
nkubala authored Aug 13, 2019
2 parents 28c4553 + 90d92e5 commit 505f37e
Show file tree
Hide file tree
Showing 2,373 changed files with 284,718 additions and 151,417 deletions.
24 changes: 14 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,46 @@ dist: xenial

language: go
go: "1.12.x"
go_import_path: /skaffold

git:
submodules: false

go_import_path: github.com/GoogleContainerTools/skaffold
branches:
only:
- master

jobs:
include:
- os: linux
env:
- TEST_TYPE=unit # this is not used, just purely for nice UI distinction on Travis
name: "Linux unit + checks"
script:
- make
- make test
after_success:
- bash <(curl -s https://codecov.io/bash)
- os: osx
name: "OSX unit"
env:
- TEST_TYPE=unit # this is not used, just purely for nice UI distinction on Travis
- GO111MODULE=on
- GOFLAGS="-mod=vendor"
script:
- make
- make test
- go build -o out/skaffold cmd/skaffold/skaffold.go
- go test -short -timeout 60s ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
- os: windows
name: "Windows unit"
env:
- TEST_TYPE=unit # this is not used, just purely for nice UI distinction on Travis
- GO111MODULE=on
- GOFLAGS="-mod=vendor"
script:
- go build -o out/skaffold.exe cmd/skaffold/skaffold.go
- go test -short -timeout 60s ./...
- os: linux
env:
- TEST_TYPE=integration # this is not used, just purely for nice UI distinction on Travis
name: "integration"
before_install:
- curl -Lo ${HOME}/bin/kind https://github.com/kubernetes-sigs/kind/releases/download/v0.4.0/kind-linux-amd64
- chmod +x ${HOME}/bin/kind
script:
- df -h
- make integration-in-kind
43 changes: 42 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,50 @@
# v0.XX.X Release - MM/DD/YYYY
# v0.35.0 Release - 08/02/2019

*Note for Jib users*: The Jib binding has changed and projects are now required to use
Jib v1.4.0 or later. Maven multi-module projects no longer require
binding `jib:build` or `jib:dockerBuild` to the _package_ phase and should be removed.

New Features:

* Add Jib detection to skaffold init [#2276](https://github.com/GoogleContainerTools/skaffold/pull/2276)
* Add ability to pass an explicit registry value to Helm charts [#2188](https://github.com/GoogleContainerTools/skaffold/pull/2188)

Bug Fixes:

* Make sure we mute/unmute logs at the correct times [#2592](https://github.com/GoogleContainerTools/skaffold/pull/2592)
* Fix handling of whitelisted directories in dockerignore [#2589](https://github.com/GoogleContainerTools/skaffold/pull/2589)
* Cleaner kubectl `port-forward` retry logic [#2593](https://github.com/GoogleContainerTools/skaffold/pull/2593)
* Negotiate docker API version when creating minikube docker client [#2577](https://github.com/GoogleContainerTools/skaffold/pull/2577)
* Retry port forwarding when we see forwarding-related errors from kubectl [#2566](https://github.com/GoogleContainerTools/skaffold/pull/2566)

Updates & Refactors:

* Refactor: Use new `kubectl.CLI` util to shell out to `kubectl` [#2509](https://github.com/GoogleContainerTools/skaffold/pull/2509)
* Remove duplication around Go modules settings [#2580](https://github.com/GoogleContainerTools/skaffold/pull/2580)
* Faster tests [#2570](https://github.com/GoogleContainerTools/skaffold/pull/2570)
* [linters] Use vendored dependencies. Don’t download them. [#2579](https://github.com/GoogleContainerTools/skaffold/pull/2579)
* Improve Jib support on gcb [#2548](https://github.com/GoogleContainerTools/skaffold/pull/2548)
* Bring back applying labels to services deployed with helm [#2568](https://github.com/GoogleContainerTools/skaffold/pull/2568)
* Fix linter deadline [#2572](https://github.com/GoogleContainerTools/skaffold/pull/2572)
* Go Modules [#2541](https://github.com/GoogleContainerTools/skaffold/pull/2541)
* Make all embedded fields on runner private [#2565](https://github.com/GoogleContainerTools/skaffold/pull/2565)
* Simplify FakeAPIClient [#2563](https://github.com/GoogleContainerTools/skaffold/pull/2563)
* Minor changes to kubectl and kustomize deployers [#2537](https://github.com/GoogleContainerTools/skaffold/pull/2537)
* Simplify Sync code [#2564](https://github.com/GoogleContainerTools/skaffold/pull/2564)
* Starting a refactoring around RunContext and Docker local/remote Api [#2497](https://github.com/GoogleContainerTools/skaffold/pull/2497)

Huge thanks goes out to all of our contributors for this release:

- Balint Pato
- Cornelius Weig
- David Gageot
- Michael Beaumont
- Nick Kubala
- Priya Wadhwa
- Tad Cordle
- Tejal Desai



# v0.34.1 Release - 07/25/2019
This minor release addresses [#2523](https://github.com/GoogleContainerTools/skaffold/issues/2523), a
Expand Down
27 changes: 5 additions & 22 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ You must install these tools:
1. [`go`](https://golang.org/doc/install): The language skaffold is
built in (version >= go 1.12)
1. [`git`](https://help.github.com/articles/set-up-git/): For source control
1. [`dep`](https://github.com/golang/dep): For managing external Go
dependencies. - Please Install dep v0.5.0 or greater.
1. [`make`](https://www.gnu.org/software/make/): For building skaffold.
1. [`golangci-lint`](https://github.com/golangci/golangci-lint): You can use the
helper [script](./hack/install_golint.sh) to get golangci-lint.
Expand Down Expand Up @@ -43,19 +41,12 @@ You may also be interested in [contributing to the docs](#contributing-to-skaffo
## Checkout your fork
The Go tools require that you clone the repository to the `src/github.com/GoogleContainerTools/skaffold` directory
in your [`GOPATH`](https://github.com/golang/go/wiki/SettingGOPATH).
To make local changes to skaffold and eventually submit a pull request to the repo,
we recommend [creating your own fork](https://help.github.com/articles/fork-a-repo/).
To check out this repository:
1. Create your own [fork of this
repo](https://help.github.com/articles/fork-a-repo/)
1. Clone it to your machine:
Once you've done this, clone your fork to your local machine:

```shell
mkdir -p ${GOPATH}/src/github.com/GoogleContainerTools
cd ${GOPATH}/src/github.com/GoogleContainerTools
git clone [email protected]:${YOUR_GITHUB_USERNAME}/skaffold.git
cd skaffold
git remote add upstream [email protected]:GoogleContainerTools/skaffold.git
Expand Down Expand Up @@ -116,7 +107,7 @@ To build with your local changes you have two options:
```
This will install skaffold via `go install` (note that if you have [manually downloaded
and installed skaffold to `/usr/local/bin`](README.md#install), this is will probably
and installed skaffold to `/usr/local/bin`](README.md#install), this will probably
take precedence in your path over your `$GOPATH/bin`).
_If you are unsure if you are running a released or locally built version of skaffold, you
Expand All @@ -142,8 +133,6 @@ The unit tests live with the code they test and can be run with:
make test
```
_These tests will not run correctly unless you have [checked out your fork into your `$GOPATH`](#checkout-your-fork)._
In case you see a linter error such as:
```shell
Expand All @@ -168,7 +157,7 @@ used by every Builder and Deployer, such as kubectl, bazel, java, kustomize..._
A way to run the integration tests without installing those tools
and without depending on a Kubernetes cluster is to install
[kind](https://github.com/kubernetes-sigs/kind#installation-and-usage)
ane run:
and run:
```shell
make integration-in-kind
Expand Down Expand Up @@ -236,12 +225,6 @@ To test a release on your own project:
gcloud builds submit --config deploy/cloudbuild-release.yaml --substitutions=_RELEASE_BUCKET=<personal-bucket>,TAG_NAME=testrelease_v1234 --project <personalproject>
```
Note: if gcloud submit fails with something similar to the error message below, run `dep ensure && dep prune` to remove the broken symlinks
```
ERROR: gcloud crashed (OSError): [Errno 2] No such file or directory: './vendor/github.com/karrick/godirwalk/testdata/symlinks/file-symlink'
```
To just run a release without Google Cloud Build only using your local Docker daemon, you can run:
```
Expand Down
Loading

0 comments on commit 505f37e

Please sign in to comment.