Michael Cristina
823847d90a
Add tools package, tidy go mods
2020-05-22 13:23:20 -05:00
Phillip Wittrock
259624ac07
run e2e tests in GitHub Actions CI
2020-05-06 08:59:54 -07:00
Phillip Wittrock
c9f50745ff
e2e tests for functions
2020-05-06 08:59:54 -07:00
jregan
f07cae82b0
Disable flakey git diff checks.
2020-04-25 12:37:10 -07:00
jregan
efeb26c634
Fix broken Makefiles.
2020-04-22 13:30:39 -07:00
Yujun Zhang
cad69ae415
Exlude golangci-lint v1.24.0 which breaks CI
2020-03-16 18:16:38 +08:00
Jingfang Liu
f6ad78650e
Add an example function to append an Application CR to resources
2020-02-28 13:05:33 -08:00
Phillip Wittrock
6e7f7ce194
create travis check for go.mod's
2020-01-07 09:45:01 -08:00
Phillip Wittrock
ae2bfc8ee6
Fix travis kyaml exit and targets
...
- properly exit non-0 if there are any uncommitted files
- make functions/examples targes
- add missing licenses
- refactor into loop
2019-12-17 11:50:18 -08:00
Phillip Wittrock
9242269b5b
update kyaml travis to include new directories and check for generated files
2019-12-12 10:28:11 -08:00
Phillip Wittrock
484ad36529
remove verify deps -- use k8s directly
2019-12-11 15:28:03 -08:00
Jonathan Wong
14d4059f46
Rename cmd/kyaml to cmd/config in travis scripts
2019-11-19 18:42:18 -08:00
Jeffrey Regan
003b3eccc2
Drive kustomize repo verification from make.
2019-11-14 11:31:42 -08:00
jregan
875385609e
Simplify precommit.
2019-11-13 21:19:30 -08:00
jregan
4dab6268da
Less GOPATH dependence.
2019-11-09 15:01:26 -08:00
Jeff Regan
d0ce4fcf15
Merge pull request #1765 from monopole/makaMaka
...
Move code generation to makefile.
2019-11-09 08:54:15 -08:00
Jeffrey Regan
d54ff23560
Move code generation to makefile.
2019-11-09 08:32:09 -08:00
Phillip Wittrock
eabb476461
Switch cmd/kyaml to pseudo/k8s
2019-11-08 17:23:04 -08:00
Phillip Wittrock
5c4c19bf19
Script to update pseudo references
2019-11-08 16:38:01 -08:00
Jeff Regan
1f86a0ca5d
Merge pull request #1749 from pwittrock/cmd
...
Create kyaml command to expose running kyaml filters on the cli
2019-11-08 13:24:13 -08:00
Phillip Wittrock
883714e2e5
Scripts for adding psuedo modules
...
psuedo modules will contain modules copied from k8s where we cannot depend directly on the k8s modules
2019-11-08 12:25:13 -08:00
Phillip Wittrock
8b0f4bf714
kyaml: Add kyaml filters as cli commands
2019-11-08 09:26:02 -08:00
Jeffrey Regan
dbf8a0fde4
Invoke plugin unit tests in presubmit.
2019-11-07 15:54:20 -08:00
jregan
9fa0391ce9
Remove remaining plugins packages from external API.
2019-11-06 19:32:53 -08:00
Jeffrey Regan
d36e3f015d
Remove target package from exposed API.
2019-11-06 15:10:11 -08:00
Jeffrey Regan
ad24ba2234
Migrate some presubmit functionality to Makefile.
2019-11-05 12:37:08 -08:00
Jeffrey Regan
2340c98f6a
No kubeval dependent test on travis.
2019-11-04 14:20:39 -08:00
Kubernetes Prow Robot
a7607c20e3
Merge pull request #1730 from monopole/noKubevalOnTravis
...
No kubeval dependent test on travis.
2019-11-04 14:08:12 -08:00
Jeffrey Regan
0687699d27
No kubeval dependent test on travis.
2019-11-04 13:01:37 -08:00
Phillip Wittrock
efd7c8e3f7
kyaml: initial support for yaml and resource manipulation
2019-11-04 11:36:35 -08:00
Jeffrey Regan
a45eca7e22
move load restrictions
2019-11-02 10:34:33 -07:00
Jeffrey Regan
6e2335ec3d
Move plugins to api/v0.1.1
2019-10-24 16:32:12 -07:00
jregan
bff0604bee
Add kubeval install notes.
2019-10-21 19:33:45 -07:00
Jeffrey Regan
5416ae7365
Introduce API module.
2019-10-21 15:21:04 -07:00
Jeffrey Regan
46524d3b6a
Introduce API module.
2019-10-21 13:30:31 -07:00
Jeffrey Regan
0cf2057fc5
Install generated plugin code into the API module.
2019-10-21 11:15:51 -07:00
Jeffrey Regan
3f08e1546c
Move generated plugin code.
2019-10-21 09:48:11 -07:00
jregan
951d15bf17
Make api/plugins
2019-10-20 15:12:13 -07:00
Jeffrey Regan
b82a8fd316
Move the kustomize binary to its own module.
2019-09-25 15:37:48 -07:00
Ian Howell
aa342deff7
Pin tool versions using go modules
...
This pins down the versions of various tools used in the building,
testing, and linting of kustomize. This will provide more consistency
across contributors' and travis' environments.
2019-09-25 15:27:47 -05:00
jregan
9d7b65446f
Make pre-commit more portable and less tricky.
2019-09-24 21:10:58 -07:00
Jeffrey Regan
423a8a6e0d
Test examples against HEAD as well as against latest release.
2019-08-20 14:10:01 -07:00
jregan
a7df00c07a
Starting v3 release for plugin developers.
...
[doc]: https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher
Per this Go modules [doc] a repo or branch that's
already tagged v2 or higher should increment the major
version (e.g. go to v3) when releasing their first Go
module-based packages.
At the moment, the kustomize repo has these top level
packages in the sigs.k8s.io/kustomize module:
- `cmd` - holds main program for kustomize
Conceivably someone can depend on this
package for integration tests.
- `internal` - intentionally unreleased subpackages
- `k8sdeps` - an adapter wrapping k8s dependencies
This exists only for use in pre-Go-modules kustomize-into-kubectl
integration and won't live much longer (as everything involved is
switching to Go modules).
- `pkg` - kustomize packages for export
This should shrink in later versions, since
the surface area is too large, containing
sub-packages that should be in 'internal'.
- `plugin` - holds main programs for plugins
This PR changes the top level go.mod file from
```
module sigs.k8s.io/kustomize
```
to
```
module sigs.k8s.io/kustomize/v3
```
and adjusts all import statements to
reflect the change.
2019-06-23 15:05:59 -07:00
Jeffrey Regan
2796e54540
Put windows test script next to pre-commit.sh
2019-06-17 16:29:40 -07:00
Jingfang Liu
b4dbac1b84
add validation transformer
2019-05-30 10:10:16 -07:00
jregan
a2e4f6cf68
Rename ./bin dir to ./travis.
2019-05-28 21:56:59 -07:00