File tree Expand file tree Collapse file tree 6 files changed +63
-7
lines changed
Expand file tree Collapse file tree 6 files changed +63
-7
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @platforma-open/milaboratories.software-test-utils.docker-images " : minor
3+ " @platforma-open/milaboratories.software-test-utils " : minor
4+ ---
5+
6+ Separate docker-only entrypoint
Original file line number Diff line number Diff line change 3838 "read-file-to-stdout-with-sleep" : {
3939 "reference" : " @platforma-open/milaboratories.software-test-utils.read-with-sleep/dist/tengo/software/main.sw.json"
4040 },
41+ "docker-only" : {
42+ "reference" : " @platforma-open/milaboratories.software-test-utils.docker-images/dist/tengo/software/docker-only.sw.json"
43+ },
4144 "docker-true-ep" : {
4245 "reference" : " @platforma-open/milaboratories.software-test-utils.docker-images/dist/tengo/software/always-true-ep.sw.json"
4346 },
Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ packages:
77 #
88 # Utility functions for tests
99 #
10- - test-utils/read-with-sleep
11- - test-utils/hello-world
10+ - test-utils/docker-images
1211 - test-utils/guided-command
13- - test-utils/runenv-java-stub
12+ - test-utils/hello-world
13+ - test-utils/hello-world-py
1414 - test-utils/java-stub
15- - test-utils/runenv-python-stub
1615 - test-utils/python-stub
17- - test-utils/hello-world-py
18- - test-utils/docker-images
16+ - test-utils/read-with-sleep
17+ - test-utils/runenv-java-stub
18+ - test-utils/runenv-python-stub
1919
2020 #
2121 # Production CLI instruments for use in workflows
Original file line number Diff line number Diff line change 44 "description" : " Collection of special docker images for testing purposes" ,
55 "scripts" : {
66 "cleanup" : " rm -rf ./pkg-*.tgz && rm -rf ./build/ && rm -rf ./dist/" ,
7- "build" : " pl-pkg build --docker-build" ,
7+ "build" : " ../../scripts/build.sh './true.go' 'true' && pl-pkg build --all-platforms --docker-build" ,
88 "prepublishOnly" : " pl-pkg prepublish"
99 },
1010 "block-software" : {
11+ "artifacts" : {
12+ "true" : {
13+ "registry" : " platforma-open" ,
14+ "type" : " binary" ,
15+ "roots" : {
16+ "linux-x64" : " ./build/linux-x64/" ,
17+ "linux-aarch64" : " ./build/linux-aarch64/" ,
18+ "macosx-x64" : " ./build/macosx-x64/" ,
19+ "macosx-aarch64" : " ./build/macosx-aarch64/" ,
20+ "windows-x64" : " ./build/windows-x64/"
21+ }
22+ }
23+ },
1124 "entrypoints" : {
25+ "docker-only" : {
26+ "docker" : {
27+ "artifact" : {
28+ "type" : " docker" ,
29+ "dockerfile" : " Dockerfile-busybox" ,
30+ "context" : " ./src/"
31+ },
32+ "cmd" : [
33+ " // this software has only docker distribution, no binary archive"
34+ ]
35+ }
36+ },
1237 "always-true-ep" : {
38+ "binary" : {
39+ "artifact" : " true" ,
40+ "cmd" : [
41+ " {pkg}/true"
42+ ]
43+ },
1344 "docker" : {
1445 "artifact" : {
1546 "type" : " docker" ,
2253 }
2354 },
2455 "always-true-cmd" : {
56+ "binary" : {
57+ "artifact" : " true" ,
58+ "cmd" : [
59+ " {pkg}/true"
60+ ]
61+ },
2562 "docker" : {
2663 "artifact" : {
2764 "type" : " docker" ,
Original file line number Diff line number Diff line change 1+ package main
2+
3+ import (
4+ "os"
5+ )
6+
7+ func main () {
8+ os .Exit (0 )
9+ }
You can’t perform that action at this time.
0 commit comments