[5294] Git Integration in a DevOps Pipeline#7435
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #7435 +/- ##
==========================================
+ Coverage 76.95% 77.15% +0.19%
==========================================
Files 411 413 +2
Lines 21094 21207 +113
Branches 5141 5167 +26
==========================================
+ Hits 16233 16362 +129
+ Misses 4861 4845 -16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…ecFile with argument arrays, add spec, fix validation form err
Contributor
Author
|
Closing to try a fresh build due to migration failure. |
Contributor
Author
|
Reopening to retrigger build |
n-lark
commented
Jun 29, 2026
5 tasks
Open
11 tasks
Contributor
|
NOTE: contains DB migrations, will need checking again #7580 to see which gets merged first |
hardillb
approved these changes
Jun 29, 2026
hardillb
left a comment
Contributor
There was a problem hiding this comment.
Tested pushing to my private local Forgejo instance with a private CA and everything looks to work.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a generic "Other" Git provider.
push/pullsnapshots to any HTTPS git server (GitLab, Bitbucket, Gitea, self-hosted) with an optional username and CA certificate, alongside the existing GitHub/Azure backends. Git commands hardened from shellexectoexecFile.cloneRepositoryutil, and theGitTokenmodel.proxyquire(mocks the git/fs boundaries in the backend unit test).Changelog PR is here: FlowFuse/website#5260
Test plan
✅ All tests passed!
Generic Git Provider — Manual Test Plan (#5294)
Covers the generic Git provider (arbitrary HTTPS host, username + CA certificate), the
execFilehardening, and regression of the existing GitHub/Azure providers.Token creation (UI)
username+caCertificatepersisted toGitTokensPush verified against live providers
reposcope) —snapshot.jsonpushedsnapshot.jsonpushedwrite_repository, Maintainer) —snapshot.jsonpushedsnapshot.jsonpushedCA certificate (self-signed Gitea over HTTPS)
GIT_SSL_CAINFOis appliedURL validation (pipeline stage form)
https://URLPull from repository (deploy from git)
snapshot.jsonpulled, decrypted, and deployed to the target instanceRegression / shared code
exec→execFilerefactor of the sharedcloneRepositoryexecFilerefactorgitRepofields inPipelineStageview)20260626-01-EE-extend-gittoken-generic.jsapplies theusername+caCertificatecolumnsRelated Issue(s)
Resolves #5294
Checklist
flowforge.yml?FlowFuse/helmto update ConfigMap TemplateFlowFuse/CloudProjectto update values for Staging/ProductionLabels
area:migrationlabel