Commit Graph

746 Commits

Author SHA1 Message Date
Simone Gotti 778bc93755
Merge pull request #162 from camandel/config_enabled_services
services: check config only for enabled services
2019-11-06 13:58:21 +01:00
Carlo Mandelli aab2321d58 services: check config only for enabled services 2019-11-05 09:25:22 +01:00
Simone Gotti b78e0b5f33
Merge pull request #158 from sgotti/datamanager_add_datasequence_datafile_name
datamanager: add data sequence to data file name
2019-11-04 10:20:49 +01:00
Simone Gotti 4b4416fc99 datamanager: add data sequence to data file name
When creating a datafile name make it start with the current data sequence. This
is useful in future to know which data sequence created a new data file.
2019-11-04 09:23:12 +01:00
Simone Gotti e0346617ab
Merge pull request #159 from sgotti/sequence_tests
sequence: add tests for String and Parse methods
2019-11-04 09:22:32 +01:00
Simone Gotti e06dc332e2 sequence: add tests for String and Parse methods
Add tests to sequence String() and Parse(string) methods.
2019-10-31 16:53:57 +01:00
Simone Gotti d73344cf8c
Merge pull request #150 from sgotti/update_deps
go.mod: update dependencies
2019-10-30 17:47:52 +01:00
Simone Gotti e18794764e go.mod: update dependencies
Update all the updatable dependencies
2019-10-29 09:31:38 +01:00
Simone Gotti ec67b26d21
Merge pull request #149 from camandel/add_tty_option
run config: add tty option for run steps
2019-10-29 09:31:12 +01:00
Carlo Mandelli 7a51404b71 run config: add tty option for run steps 2019-10-28 16:58:54 +01:00
Simone Gotti 0558e78e82
Merge pull request #156 from camandel/readme_issue_link
README: issue link points to templates
2019-10-28 10:18:06 +01:00
Carlo Mandelli 93ad75127e README: issue link points to templates
[ci skip]
2019-10-26 11:21:11 +02:00
Simone Gotti 0fd76b2b4c
Merge pull request #155 from sgotti/objectstorage_add_writeobject_test
objectstorage: add WriteObject tests
2019-10-25 16:28:08 +02:00
Simone Gotti 1eb16886d8 objectstorage: add WriteObject tests
Test WriteObject using different size values: unspecified, equal to the buffer
size or less than the buffer size.
2019-10-25 15:16:42 +02:00
Simone Gotti 2e520dae55
Merge pull request #154 from sgotti/objectstorage_object_size
objectstorage: return object size in objectinfo
2019-10-25 12:23:48 +02:00
Simone Gotti 4c88bb75a3
Merge pull request #153 from sgotti/objectstorage_posix_limitreader_only_size_gt_0
objectstorage posix: use limitreader only when size is specified.
2019-10-25 12:23:35 +02:00
Simone Gotti 8a32e2251e
Merge pull request #152 from sgotti/objectstorage_s3_use_limitreader
objectstorage s3: use limitreader in write object
2019-10-25 12:23:19 +02:00
Simone Gotti ae1e92b115 objectstorage: return object size in objectinfo
Return object size in object info.
2019-10-25 10:53:36 +02:00
Simone Gotti 58f68601e6 objectstorage posix: use limitreader only when size is specified.
Use limitreader only when size is specified (greater or equal to 0).
When size is unknown (less than 0) limitreader will immediately return EOF
instead of writing the whole data.
2019-10-25 10:26:59 +02:00
Simone Gotti 0388003d09 objectstorage s3: use limitreader in write object
If size is specified limit reads to size bytes.
2019-10-25 10:06:22 +02:00
Simone Gotti 3808c71b37
Merge pull request #148 from sgotti/release_v0.3.0
Release v0.3.0
2019-10-24 11:34:52 +02:00
Simone Gotti 43c858ac7d Release v0.3.0 2019-10-24 09:35:59 +02:00
Simone Gotti a0450a5e69
Merge pull request #146 from sgotti/gitea_fix_getref
gitea: use GetRepoRefs instead of GetRepoRef
2019-10-23 10:29:23 +02:00
Simone Gotti 400de5f720
Merge pull request #147 from sgotti/fix_when_reftype_tag
when: fix typo in tag matching
2019-10-23 10:25:49 +02:00
Simone Gotti 11e803d6f0 when: fix typo in tag matching
Add related tests
2019-10-23 09:39:32 +02:00
Simone Gotti 1ed584ed1c
Merge pull request #144 from sgotti/cmd_run_create
cmd: add run create command
2019-10-22 16:48:18 +02:00
Simone Gotti 98912f1187 cmd: add run create command
Add a run create command to manually create a run providing the project ref, the
branch/tag/ref and an optional commit sha.
2019-10-22 10:47:20 +02:00
Simone Gotti e79337c3a7
Merge pull request #143 from sgotti/gateway_fix_project_create_run_http_method
gateway: fix project create run http method
2019-10-22 10:45:24 +02:00
Simone Gotti f0e4bbfeeb gitea: use GetRepoRefs instead of GetRepoRef
Looks like GetRepoRef doesn't correcly handle gitea repo refs response expecting
a single entry. Instead, at least with latest gitea version, the response is
always an array of refs. So use GetRepoRefs.
2019-10-22 10:17:00 +02:00
Simone Gotti 446e626f9f gateway: fix project create run http method
Make it a POST instead of a PUT.
2019-10-22 09:50:01 +02:00
Simone Gotti fc283e70d3
Merge pull request #142 from camandel/fix_multiple_volumes
docker: mount multiple volumes
2019-10-17 15:57:49 +02:00
Carlo Mandelli 6fccb935c4 docker: mount multiple volumes 2019-10-17 09:21:46 +02:00
Simone Gotti 2d813461d9
Merge pull request #140 from sgotti/gitsource_pr_dont_set_branch
gitsources: don't set branch value when in a pull request
2019-10-15 09:15:05 +02:00
Simone Gotti 3d0c68b5fc gitsources: don't set branch value when in a pull request
We were passing the source branch name as the Branch value in the webhook data.

This patch will just delete this assignment. If in future it's needed let's add
it with a different name to not cause confusion.
2019-10-14 22:42:08 +02:00
Simone Gotti 9c2b9a7d7e
Merge pull request #139 from sgotti/when_match_only_current_ref_type
when: match only the current ref type
2019-10-14 22:41:25 +02:00
Simone Gotti fa4b41ab74 when: match only the current ref type
Only match the current ref type, ie: don't match a branch when the ref type is a
tag or pull request.

Ref is always matched because it's not related to a specific ref type.
2019-10-14 17:08:44 +02:00
Simone Gotti cfa2db77e0
Merge pull request #136 from sgotti/implement_container_volume_tmpfs
*: implement ability to add tmpfs volumes to containers
2019-10-09 15:07:30 +02:00
Simone Gotti 7d62481415 *: implement ability to add tmpfs volumes to containers
* Add a generic container volume option that currently only support tmpfs. In
future it could be expanded to use of host volumes or other kind of volumes (if
supported by the underlying executor)

* Implement creation of tmpfs volumes in docker and k8s drivers.
2019-10-08 16:36:23 +02:00
Simone Gotti c1caa1c6ce
Merge pull request #135 from camandel/cmd_version
cmd: add version command
2019-10-08 09:07:03 +02:00
Carlo Mandelli 4fc8f3ebed cmd: add version command 2019-10-05 12:11:18 +02:00
Simone Gotti 43586549f3
Merge pull request #134 from sgotti/datamanager_tests_remove_some_logs
datamanager: remove some logs from tests
2019-10-02 10:58:45 +02:00
Simone Gotti 9588394b42
Merge pull request #133 from camandel/cmd_add_completion
cmd: add completion command
2019-10-02 10:58:15 +02:00
Simone Gotti a7ca2848e6 datamanager: remove some logs from tests 2019-10-02 09:27:55 +02:00
Simone Gotti eec25e6069
Merge pull request #132 from sgotti/cmd_projectgroup_delete
cmd: add project group delete command
2019-10-02 09:27:29 +02:00
Simone Gotti 70a49fced7
Merge pull request #131 from sgotti/cmd_projectgroup_update
cmd: add project group update command
2019-10-02 09:22:19 +02:00
Carlo Mandelli 761a777969 cmd: add completion command 2019-10-01 16:01:17 +02:00
Simone Gotti d18aadaf5c cmd: add project group update command 2019-10-01 15:39:29 +02:00
Simone Gotti dde20435d8
Merge pull request #130 from sgotti/gateway_projectgroup_update_add_parentref
gateway: add parentRef field to project group update api
2019-10-01 15:39:04 +02:00
Simone Gotti 11da186913 gateway: add parentRef field to project group update api
and make all the request fields optional
2019-10-01 14:39:45 +02:00
Simone Gotti bd3852809c
Merge pull request #128 from sgotti/configstore_projectgroup_move
configstore: implement project group move
2019-10-01 14:39:17 +02:00