hyperp 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdk.json +1 -1
- package/how-it-works.md +29 -27
- package/package.json +2 -2
package/cdk.json
CHANGED
package/how-it-works.md
CHANGED
|
@@ -17,36 +17,38 @@ The YAML configuration file shown below has been pushed to the repository. Hyper
|
|
|
17
17
|
|
|
18
18
|
```yaml
|
|
19
19
|
branches:
|
|
20
|
-
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
- jobName: Generate x
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
- jobName: x \* y
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
- jobName: x / z
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
20
|
+
- wf-test
|
|
21
|
+
- main
|
|
22
|
+
workflowName: Calculator
|
|
23
|
+
workflowDescription: Calculator
|
|
24
|
+
artifacts:
|
|
25
|
+
shared:
|
|
26
|
+
- name: shared-folder
|
|
27
|
+
jobs:
|
|
28
|
+
- jobName: Generate x
|
|
29
|
+
jobDescription: Generate random value for x
|
|
30
|
+
taskDefinitionPath: pipeline-examples/calculator/x/taskDefinition.json
|
|
31
|
+
- jobName: x \* y
|
|
32
|
+
jobDescription: Creates a random value for y and multiplies x with y
|
|
33
|
+
taskDefinitionPath: pipeline-examples/calculator/y/taskDefinition.json
|
|
34
|
+
dependsOn:
|
|
35
|
+
- Generate x
|
|
36
|
+
- jobName: x / z
|
|
37
|
+
jobDescription: Creates a random value for z and divides x by z.
|
|
38
|
+
taskDefinitionPath: pipeline-examples/calculator/z/taskDefinition.json
|
|
39
|
+
dependsOn:
|
|
40
|
+
- Generate x
|
|
41
41
|
imageBuildResources:
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
cpu: "1024"
|
|
43
|
+
memory: "2048"
|
|
44
44
|
downloadable: true
|
|
45
45
|
concurrency: 2
|
|
46
|
-
- jobName: (x _ y) + (x / z)
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
- jobName: (x _ y) + (x / z)
|
|
47
|
+
jobDescription: Sums the previous calculations
|
|
48
|
+
taskDefinitionPath: pipeline-examples/calculator/sum/taskDefinition.json
|
|
49
|
+
dependsOn:
|
|
50
|
+
- x * y
|
|
51
|
+
- x / z
|
|
50
52
|
```
|
|
51
53
|
|
|
52
54
|
Now lets check the triggerred run using our CLI tool.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hyperp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Fully automated servereless compute platform on AWS",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
"@aws-sdk/client-s3": "^3.700.0",
|
|
53
53
|
"@aws-sdk/lib-dynamodb": "^3.700.0",
|
|
54
54
|
"@aws-sdk/s3-request-presigner": "^3.700.0",
|
|
55
|
+
"@types/node": "22.19.3",
|
|
55
56
|
"aws-cdk-lib": "^2.170.0",
|
|
56
57
|
"axios": "^1.7.9",
|
|
57
58
|
"commander": "^12.0.0",
|
|
@@ -64,7 +65,6 @@
|
|
|
64
65
|
"devDependencies": {
|
|
65
66
|
"@types/aws-lambda": "^8.10.145",
|
|
66
67
|
"@types/jsonwebtoken": "^9.0.7",
|
|
67
|
-
"@types/node": "^22.10.2",
|
|
68
68
|
"aws-cdk": "^2.170.0",
|
|
69
69
|
"typescript": "^5.7.2"
|
|
70
70
|
}
|