Skip to content

Commit

Permalink
drop 'trigger_automerge' and add 'path' metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
riprasad committed Jan 5, 2025
1 parent 28ed3d6 commit cdf7be4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/gam_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,14 @@ def generate_execution_id(self):
return datetime.now().strftime('%d%m%y%H%M%S%f')

def generate_execution_metadata(self):
metadata_path = "executions/" + self.component_config['name'] + "/" + self.execution_id

# Initialize the execution metadata template
execution_metadata_template = {
'config': self.component_config,
'metadata': {
'execution_id': self.execution_id,
'path': metadata_path,
'git': None,
'nvr': None,
'gam_run_url': self.gam_run_url,
Expand Down
1 change: 0 additions & 1 deletion src/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ def populate_execution_metadata(execution_metadata, component_config):
# Update the metadata with the NVR from the CVP file
execution_metadata['metadata']['nvr'] = cvp['artifact']['nvr']

execution_metadata['metadata']['trigger_automerge'] = 'no'
execution_metadata['metadata']['status'] = 'TestingInProgress'
execution_metadata['metadata']['git'] = component_config['repositories']

Expand Down

0 comments on commit cdf7be4

Please sign in to comment.