burnettk
7ae03bec27
copy env so we are doing additive stuff rather than completely rewriting it
2023-02-21 22:00:02 -05:00
jasquat
d059665431
more git config updates w/ burnettk
2023-02-21 16:43:52 -05:00
jasquat
df3b713ce4
disable strict host checking for git commands w/ burnettk
2023-02-21 16:42:11 -05:00
jasquat
b8b4734aea
fixed tests w/ burnettk
2023-02-21 15:28:54 -05:00
72a29aa327
backend: specify --rebase when using git pull
...
Otherwise it fails with:
```
Pulling without specifying how to reconcile divergent branches is discouraged.
```
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-21 19:58:38 +01:00
2f88ba3013
backend: fix use of SSH private key for git ops
...
Primarily this is supposed to fix the `git pull` aciton triggered by
webhooks from GitHub. But in addition to that the point is to simplify
that committing wrapper which has far too much in it.
Instead of passing everything as CLI arguments one should make use of
already supported environment variables and the `env` argument to
`subprocess` functions like `run()`. Writing extra logic in the wrapper
only makes it unnecessarily complicated.
By passing both user, email, and the SSH options in `run_shell_command`
we avoid the need to repeat the same boilerplate to provide Git config
and SSH credentials.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-21 19:58:36 +01:00
burnettk
5704c96356
delint
2023-02-20 10:58:04 -05:00
d4a90e208b
backend/git_service: accept webhook test requests
...
https://docs.github.com/en/webhooks-and-events/webhooks/testing-webhooks
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-20 13:11:21 +01:00
a79d25f7e7
backend/git_service: check repo URLs from webhook
...
Since we are cloning a private repo we are using `ssh_url` in our case.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-20 13:02:54 +01:00
jasquat
012396b01e
pyl
2023-02-16 14:38:19 -05:00
burnettk
6f0c977f7e
use _GIT_SOURCE_BRANCH instead of _GIT_BRANCH
2023-02-16 14:10:31 -05:00
burnettk
93da627b24
update configs for publish feature
2023-02-16 13:47:26 -05:00
jasquat
1f2a5e2ddf
pyl
2023-02-16 07:39:40 -05:00
jasquat
78360de25f
updated secret config names as well w/ burnettk
2023-02-15 17:17:47 -05:00
jasquat
497389ceb9
updated configs to use the prefix using the script w/ burnettk
2023-02-15 17:07:12 -05:00
jasquat
ea8d310299
expanded functionality of the form builder
2023-01-21 20:51:11 -05:00
jasquat
46f3527835
allow getting the GIT SSH key from an app config so we can set it in the secrets file w/ burnettk
2023-01-20 15:43:00 -05:00
jasquat
9bf8bc505d
allow specifying an ssh key for git instead of a username and password w/ burnettk
2023-01-20 15:11:23 -05:00
burnettk
918057e489
upgrade black, give it the preview flag, and let it rip on long strings
2022-12-30 23:08:00 -05:00
jasquat
a096605047
do not allow editing task data for process instances that are not suspended and some code cleanup w/ burnettk
2022-12-19 11:54:22 -05:00
jasquat
cbb22f13ae
set the auth header when calling git commit w/ burnettk
2022-12-19 11:15:05 -05:00
jasquat
5fd6992fe6
commit and push to github on all changes to bpmn dir w/ burnettk cullerton
2022-12-15 12:52:53 -05:00
jasquat
518a6e1606
pyl
2022-12-12 15:36:03 -05:00
jasquat
c3e0b2ef14
allow viewing the diagram for a specific process identifier
2022-12-12 15:08:09 -05:00
jasquat
14be1fa06b
strip off spaces from git service command stdout
2022-12-12 10:05:08 -05:00
jasquat
23e8525ca4
pyl w/ burnettk
2022-12-09 17:30:14 -05:00
jasquat
617299fce7
need to set upstream when git pushing w/ burnettk
2022-12-09 17:15:53 -05:00
jasquat
6122fb0ae5
added secret verification to webhook endpoint w/ burnettk
2022-12-09 16:51:00 -05:00
jasquat
3e5ed42eae
cleaned up the git service and expanded the api git hook w/ burnettk
2022-12-09 15:01:55 -05:00
jasquat
27099a0d8e
mypy w/ burnettk cullerton
2022-12-08 17:12:19 -05:00
jasquat
62814da9a6
added git creds for pushing on publish w/ burnettk cullerton
2022-12-08 16:39:23 -05:00
jasquat
375e4023dd
added new notification component that allows links based on carbons w/ burnettk cullerton
2022-12-08 12:28:23 -05:00
mike cullerton
fc558b2218
Return URL where they can view changes and open PR
2022-12-08 09:26:10 -05:00
mike cullerton
679a111725
Clone into unique directory so we don't step on a previous publish that hasn't finished.
2022-12-08 09:25:27 -05:00
mike cullerton
ae4dfa2dd8
typing
2022-12-06 15:42:41 -05:00
mike cullerton
2cbe912a99
First pass at git integration
2022-12-06 15:31:03 -05:00
jasquat
67d6a01161
pyl is passing w/ burnettk cullerton
2022-11-18 16:45:44 -05:00
mike cullerton
cf09b2258b
precommit
2022-11-18 15:50:20 -05:00
burnettk
d25c37153a
pyl
2022-11-11 11:39:15 -05:00
mike cullerton
9679720b5a
Delete groups now checks for running instances in nested models
...
also, pyl
2022-11-10 16:44:27 -05:00
burnettk
6399978b23
re-order imports the way backend always used to
2022-10-31 09:25:35 -04:00
jasquat
e26a91ff8c
pyl passes w/ burnettk
2022-10-27 15:38:04 -04:00
Jon Herron
66e3f52c24
Merge commit '883e65384f1e36a0310f4fdcff57ac486890cd5e' as 'spiffworkflow-backend'
2022-10-12 10:22:22 -04:00