Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken manifests #998

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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