Commit Graph

575 Commits

Author SHA1 Message Date
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
Simone Gotti 973cfe8770 configstore: implement project group move 2019-10-01 12:03:57 +02:00
Simone Gotti b6d038d5da
Merge pull request #129 from sgotti/configstore_disable_root_projectgroup_deletion
configstore: disable root project group deletion
2019-10-01 12:01:24 +02:00
Simone Gotti 85b8888f76 cmd: add project group delete command 2019-10-01 10:33:56 +02:00
Simone Gotti e2a0fedfb8 configstore: disable root project group deletion 2019-10-01 10:26:17 +02:00
Simone Gotti d76b77b2b2
Merge pull request #123 from sgotti/cmd_project_update
cmd: add project update command
2019-09-30 16:04:17 +02:00
Simone Gotti ddfc5f41c0 cmd: add project update command 2019-09-30 13:30:13 +02:00
Simone Gotti 9b28031ccd
Merge pull request #127 from sgotti/tests_wait_gitea_ready
tests: wait gitea ready
2019-09-30 12:00:12 +02:00
Simone Gotti 4b5bd93c0a tests: wait gitea ready
* retry gitea create admin user command until ready
* wait for gitea api to be ready
2019-09-30 10:49:14 +02:00
Simone Gotti c3ee99e2df
Merge pull request #122 from sgotti/gateway_project_update_add_parentref
gateway: add parentRef field to project update api
2019-09-27 22:47:37 +02:00
Simone Gotti 8b9464486d gateway: add parentRef field to project update api
and make all the request fields optional
2019-09-27 17:10:04 +02:00
Simone Gotti 7e6a143e40
Merge pull request #126 from camandel/fix_version
cmd: fix version output
2019-09-27 16:55:36 +02:00
Carlo Mandelli d775bcac60 cmd: fix version output 2019-09-27 15:34:24 +02:00
Simone Gotti 1244973c55
Merge pull request #125 from sgotti/add_github_issue_template
Add github issue templates
2019-09-27 11:56:16 +02:00
Simone Gotti 2c095e084c Add github issue templates
[ci skip]
2019-09-27 11:44:50 +02:00
Simone Gotti 52fa406eea
Merge pull request #121 from sgotti/configstore_project_move
configstore: implement project move
2019-09-27 11:38:59 +02:00
Simone Gotti fe9e3e8317 configstore: implement project move 2019-09-27 11:07:49 +02:00
Simone Gotti 6daf830d85
Merge pull request #124 from camandel/fix_typos_online_help
cmd: fix typos in online help
2019-09-27 09:53:56 +02:00
Carlo Mandelli 8df96757e3 fix typos in online help 2019-09-27 08:22:41 +02:00
Simone Gotti 313936115c
Merge pull request #118 from camandel/add_variable_secret_list
cli: add secret/variable list subcommand
2019-09-26 10:21:56 +02:00
Carlo Mandelli 229b4c511d Add variable/secret list subcommand 2019-09-26 09:33:24 +02:00
Simone Gotti 2d6fd96da0
Merge pull request #120 from camandel/clone_options
config: add clone options
2019-09-25 10:59:25 +02:00