Commit Graph

421 Commits

Author SHA1 Message Date
Erik Hollensbe 71913f4d88 main.go: Handle returning a non-localhost testing port
If provided, STORAGE_ADDR can specify 0.0.0.0 which means "look up the
hostname and use that".

Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2020-07-06 16:53:10 +00:00
Erik Hollensbe 77788d6718 Add envOrDefault call to main.go; handle flags with it
This call simply accepts an environment variable or the default provided
as the *default* to the flag variable. This is intended to be suitable
for 12-factor situations as well as allow the commandline to still
override it.

Signed-off-by: Erik Hollensbe <github@hollensbe.org>
2020-07-06 16:53:06 +00:00
Stefan Prodan 4acf569681
Merge pull request #72 from fluxcd/move-receiver
Move Receiver API to notification controller
2020-07-03 17:06:09 +03:00
stefanprodan 4887764947 Move Receiver API to notification controller 2020-07-03 16:10:57 +03:00
Stefan Prodan 24983fad1a
Merge pull request #70 from fluxcd/release-v0.0.2
Release v0.0.2
2020-07-03 11:05:21 +03:00
stefanprodan 7140305620 Release v0.0.2 2020-07-03 10:27:42 +03:00
Stefan Prodan 06c5782d53
Merge pull request #69 from fluxcd/events
Implement event recording
2020-07-03 10:22:11 +03:00
stefanprodan c9681ae949 Change ports: 8080 for metrics and 9090 for storage 2020-07-03 08:48:07 +03:00
stefanprodan 6f89f2d4c5 Implement event recording
- emit Kubernetes events for artifact acquisition actions
- forward events to notification controller
2020-07-03 08:46:26 +03:00
stefanprodan 504da62c88 Update controller-runtime to v0.6.0 2020-07-03 07:46:28 +03:00
Stefan Prodan 136124aeb5
Merge pull request #67 from fluxcd/fluxcd-pkg
Migrate to fluxcd/pkg
2020-06-30 17:40:51 +03:00
stefanprodan e92cbbdd45 Migrate to fluxcd/pkg 2020-06-30 17:30:21 +03:00
Hidde Beydals ea6c59b84a
Merge pull request #66 from fluxcd/quickfix/method-name 2020-06-30 12:43:41 +02:00
Hidde Beydals 7f118d6222 testserver/artifact: rename to ArtifactFromFiles 2020-06-30 12:18:09 +02:00
Hidde Beydals 721229dcfc
Merge pull request #65 from fluxcd/artifact-mock-srv 2020-06-30 12:15:42 +02:00
Hidde Beydals 0bc28f7a42 testserver: move from internal to pkg 2020-06-30 11:48:14 +02:00
Hidde Beydals f2cd4c2121 testserver: add artifact mock server 2020-06-30 11:42:55 +02:00
Hidde Beydals 384bf9fe7c testserver: suffix structs with Server 2020-06-30 11:42:52 +02:00
Hidde Beydals e4109eeae2 testserver/http: remove obsolete deprecated method 2020-06-30 09:56:36 +02:00
Hidde Beydals bc558eb00f
Merge pull request #64 from fluxcd/release-v0.0.1
Release v0.0.1
2020-06-24 16:35:31 +02:00
Hidde Beydals 283c0a5275 Release v0.0.1 2020-06-24 16:17:39 +02:00
Hidde Beydals 042f366628
Merge pull request #63 from fluxcd/docs/api-ref
Generate API documentation
2020-06-19 17:03:53 +02:00
Hidde Beydals 7e647a6bb2 Generate API documentation 2020-06-19 16:45:05 +02:00
Hidde Beydals eb5ed4f86a
Merge pull request #61 from fluxcd/go-license
Add Go license to forked packages
2020-06-10 13:40:53 +02:00
Hidde Beydals 1d4e47628a Add Go license to forked packages 2020-06-10 12:16:18 +02:00
Stefan Prodan 43bbdd384e
Merge pull request #60 from fluxcd/release-v0.0.1-beta.2
Release v0.0.1-beta.2
2020-06-10 11:22:01 +03:00
stefanprodan af2cb9c23e Release v0.0.1-beta.2 2020-06-10 11:09:36 +03:00
Hidde Beydals 032875caca
Merge pull request #59 from fluxcd/go-native-tar 2020-06-06 20:05:16 +02:00
Hidde Beydals 9498e7dba4 Remove all obsolete packages from Docker image 2020-06-06 19:15:58 +02:00
Hidde Beydals 9ad75d6e52 Remove tar from Docker image 2020-06-06 19:15:57 +02:00
Hidde Beydals 43ea51b435 Spec: document Git artifact file exclusion 2020-06-06 19:15:57 +02:00
Hidde Beydals 39ee34897a Replace tar/gzip shell-out with Go implementation 2020-06-06 19:15:52 +02:00
Stefan Prodan 6b2556d294
Merge pull request #58 from fluxcd/release-v0.0.1-beta.1
Release v0.0.1-beta.1
2020-05-29 18:14:25 +03:00
stefanprodan a45536adbc Release v0.0.1-beta.1 2020-05-29 18:01:03 +03:00
Hidde Beydals 7352bce5ea
Merge pull request #34 from fluxcd/gitrepository-tests 2020-05-29 15:03:03 +02:00
Hidde Beydals 24b77d37a8 controllers: GitRepository ref 2020-05-29 14:24:31 +02:00
Hidde Beydals b27c82dd1b controllers: GitRepository test refs 2020-05-29 14:24:31 +02:00
Hidde Beydals 77822bd4d1 controllers: simple GitRepository test 2020-05-29 14:24:31 +02:00
Hidde Beydals 5582d99187 testserver: add Git server 2020-05-29 14:24:31 +02:00
Hidde Beydals 96a76c2ad8
Merge pull request #55 from fluxcd/tar-ignore 2020-05-13 20:06:01 +02:00
Hidde Beydals e880a45474 controllers: control tar ignores w/ exclude files
This commit changes the file excludes for tarballs generated for
Git repository artifacts from a fixed set of strings to include
exclusion files files. It currently takes `.sourceignore` and
in the root of the given directory into account.

In addition to this the Git VCS related files that are ignored have
been extended to not only include the .git/ directory, but also the
.gitignore, .gitmodules and .gitattributes files. Mimicking part of
the --exclude-vcs flag not available on all tar versions.
2020-05-13 19:45:31 +02:00
Stefan Prodan a598f5a808
Merge pull request #54 from fluxcd/release-0.0.1-alpha.6
Release v0.0.1-alpha.6
2020-05-06 11:04:05 +03:00
stefanprodan 937a665e4a Release v0.0.1-alpha.6 2020-05-06 10:48:34 +03:00
Stefan Prodan 70aa393e0a
Merge pull request #53 from fluxcd/watch-namespace
Reconcile sources in the runtime namespace only
2020-05-04 09:31:39 +03:00
Hidde Beydals 0354d8da39
Merge pull request #52 from fluxcd/git-improvements 2020-05-03 23:38:13 +02:00
Hidde Beydals 078d0057a8 build: drop openssh-client 2020-05-03 23:07:27 +02:00
Hidde Beydals 9c67baa158 controllers: implement checkout strategies 2020-05-03 23:04:12 +02:00
stefanprodan d27cc96233 Reconcile sources in the runtime namespace only 2020-05-03 13:04:00 +03:00
Hidde Beydals 40b1369ace git: add checkout strategies 2020-05-03 10:03:47 +02:00
Hidde Beydals e42561f13b git: refactor transport into strategies 2020-05-03 10:03:47 +02:00