Skip to content

Commit

Permalink
Merge pull request #998 from Green-Software-Foundation/fix-manifests
Browse files Browse the repository at this point in the history
Fix broken manifests
  • Loading branch information
jmcook1186 committed Aug 28, 2024
2 parents cb57527 + 1e89d1c commit 8dfcd90
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 3 deletions.
4 changes: 2 additions & 2 deletions manifests/examples/builtins/time-converter/success.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ tree:
children:
child:
pipeline:
- time-converter
config:
compute:
- time-converter
defaults:
energy-per-year: 10000
inputs:
Expand Down
2 changes: 1 addition & 1 deletion manifests/examples/features/regroup/success.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: regroup
description: successful path
initialize:
plugins:
plugins: {}
tree:
children:
my-app:
Expand Down
2 changes: 2 additions & 0 deletions manifests/examples/pipelines/pipeline-with-mocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ tree:
device/expected-lifespan: 94608000 # 3 years in seconds
vcpus-total: 8
vcpus-allocated: 1
requests: 50
inputs:
child-2:
pipeline:
Expand Down Expand Up @@ -294,4 +295,5 @@ tree:
device/expected-lifespan: 94608000 # 3 years in seconds
vcpus-total: 8
vcpus-allocated: 1
requests: 50
inputs:
79 changes: 79 additions & 0 deletions manifests/outputs/builtins/time-converter/success.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: time-converter demo
description: successful path
tags: null
initialize:
plugins:
time-converter:
path: builtin
method: TimeConverter
config:
input-parameter: energy-per-year
original-time-unit: year
new-time-unit: duration
output-parameter: energy-per-duration
execution:
command: >-
/Users/manushak/.npm/_npx/1bf7c3c15bf47d04/node_modules/.bin/ts-node
/Users/manushak/Documents/Projects/Green-Software/if/src/if-run/index.ts -m
manifests/examples/builtins/time-converter/success.yaml -o
manifests/outputs/time-converter/success
environment:
if-version: 0.6.0
os: macOS
os-version: 13.6.7
node-version: 18.20.0
date-time: 2024-08-28T13:04:25.498Z (UTC)
dependencies:
- '@babel/[email protected]'
- '@babel/[email protected]'
- '@commitlint/[email protected]'
- '@commitlint/[email protected]'
- '@grnsft/[email protected]'
- '@grnsft/[email protected] extraneous -> file:../../../if-models'
- >-
@grnsft/[email protected] extraneous ->
file:../../../if-unofficial-models
- '@jest/[email protected]'
- '@types/[email protected]'
- '@types/[email protected]'
- '@types/[email protected]'
- '@types/[email protected]'
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected] extraneous -> file:../../if-eco-ci-plugin
- [email protected] extraneous -> file:../../if-github-plugin
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
status: success
tree:
children:
child:
pipeline:
compute:
- time-converter
defaults:
energy-per-year: 10000
inputs:
- timestamp: 2023-08-06T00:00
duration: 3600
outputs:
- timestamp: 2023-08-06T00:00
duration: 3600
energy-per-year: 10000
energy-per-duration: 1.140795

0 comments on commit 8dfcd90

Please sign in to comment.