HomeDevCentral

Allow eggdrop to run Git commands on repositories

Description

Allow eggdrop to run Git commands on repositories

Summary:
To gather metadata about deployed versions, git rev-parse
can be used to get the hash of the current commit.

This requires ownership on repository or an allowlist.
As repositories don't belong to the eggdrop user, a Git configuration
file with a safe repositories allowlist is generated.

Repositories covered:

Ref T1790

Test Plan: Tested with Wearg

Reviewers: dereckson

Reviewed By: dereckson

Maniphest Tasks: T1790

Differential Revision: https://devcentral.nasqueron.org/D2899

Details

Provenance
derecksonAuthored on Mar 16 2023, 18:14
derecksonPushed on Mar 16 2023, 18:23
Reviewer
dereckson
Differential Revision
D2899: Allow eggdrop to run Git commands on repositories
Parents
rOPS8a00af8c8d69: Install chrony on Alma/Rocky/CentOS/RHEL servers
Branches
Unknown
Tags
Unknown
Tasks
T1790: Trace eggdrop errors