1
1
mirror of https://github.com/mcuadros/ascode synced 2024-11-26 06:01:08 +01:00
Commit Graph

107 Commits

Author SHA1 Message Date
Máximo Cuadros
79f0e8a22d
runtime: add struct support 2020-03-17 00:45:27 +01:00
Máximo Cuadros
fdaa5673f6
starlark/module: experimental/docker module to work with docker images and semver 2020-03-16 23:53:28 +01:00
Máximo Cuadros
0bb0432aeb
go.mod: update go-git/v5 2020-03-16 19:24:03 +01:00
Máximo Cuadros
e9444583e7
starlack/types: basic backend support 2020-03-16 19:17:02 +01:00
Máximo Cuadros
826e45a7aa
gitignore 2020-03-16 18:13:54 +01:00
Máximo Cuadros
dd7e97b962
*: dependencies update 2020-03-16 18:12:44 +01:00
Máximo Cuadros
f84e92384f
starlark/test: assert.star copy from https://github.com/google/starlark-go/tree/master/starlarktest 2020-03-16 18:12:33 +01:00
Máximo Cuadros
5ff3284865
Merge pull request #1 from tcard/patch-1
Starlark is not really Turing-complete
2019-10-31 23:47:00 +01:00
Toni Cárdenas
1b1df9607a
Starlark is not really Turing-complete
Starlark is very expressive, but, if we're being pedantic, it [isn't quite Turing-complete](https://github.com/google/skylark/blob/master/doc/spec.md#functions). This is desirable because you can't prove that an arbitrary program in a Turing-complete language will finish, so running such programs in a config language implies that maybe the build won't ever finish.

This is a proposal for alternative wording of what we really get from Starlark: expresiveness.

(By the way, very interesting project!)
2019-10-31 11:28:43 +01:00
Máximo Cuadros
e1c229b80c *: project org change
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-08-01 20:43:59 +02:00
Máximo Cuadros
b5ae00d09b starlark/types: provider kwargs and alias
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
v0.0.3
2019-08-01 18:34:45 +02:00
Máximo Cuadros
eb859babae
README.md, fix typo in an example 2019-08-01 16:39:55 +02:00
Máximo Cuadros
a7f4720776
Update README.md 2019-07-29 18:35:32 +02:00
Máximo Cuadros
0a591fff79 Makefile: build and packages
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
v0.0.2
2019-07-28 10:26:05 +02:00
Máximo Cuadros
4ea887a849 starlark/types: Values O(1)
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-28 01:02:21 +02:00
Máximo Cuadros
8f414b66be starlark/types: idempotent HCL generation
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-28 00:35:04 +02:00
Máximo Cuadros
128112a66f starlark/types: Computed correct format for resources
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-27 21:08:50 +02:00
Máximo Cuadros
8d842717ce starlark/types: Value and Type support for dicts/maps
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-27 20:50:26 +02:00
Máximo Cuadros
a32599f413 starlark/types: properly load of nested resources and collections from list and dicts
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-27 20:15:07 +02:00
Máximo Cuadros
361d8f970f starlark/types: NamedValues and Values for sorted Resource attributes
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-26 19:12:34 +02:00
Máximo Cuadros
6558482bf4 starlark/types: Provisioner and Resource.add_provisioner, lacks of connection properties
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-25 15:30:29 +02:00
Máximo Cuadros
04ffa10c88 terraform: plugin manager with provisioner support and tests
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-24 23:30:39 +02:00
Máximo Cuadros
c8eb85ef8f starlark/types: Provider.Type
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-23 23:22:20 +02:00
Máximo Cuadros
d25c7b32a2 starlark/types: Resource.depends_on support
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-23 21:12:55 +02:00
Máximo Cuadros
5eee1fa944 starlark/types: proper .Type() function implementation
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-14 11:33:39 +02:00
Máximo Cuadros
d3d153ba25 examples and documentation v0.0.1 2019-07-12 03:32:28 +02:00
Máximo Cuadros
10f89435a9 starlark/types: computed literal escape fixes 2019-07-12 03:31:50 +02:00
Máximo Cuadros
badd46cf48 starlark/types: Resource optional name in constructor 2019-07-12 01:21:13 +02:00
Máximo Cuadros
e50b6a21ec terraform/plugins: default version contraint 2019-07-12 00:20:30 +02:00
Máximo Cuadros
4542cf80bd starlark/runtime: load fixes and REPL, and CLI implementation
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-11 23:59:04 +02:00
Máximo Cuadros
ab96dcef8b go mod
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-11 19:33:31 +02:00
Máximo Cuadros
32ceb6f7a7 starlark/runtime: yaml module 2019-07-11 18:45:42 +02:00
Máximo Cuadros
206a079519 cmd/doc: provider documentation template 2019-07-11 18:39:11 +02:00
Máximo Cuadros
84e0ec6ff8 cmd/doc: provider documentation generator 2019-07-11 18:37:38 +02:00
Máximo Cuadros
0d9142cb86 documentation: runtime modules
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-10 01:54:15 +02:00
Máximo Cuadros
72c20c9609 starlark/runtime: basic modules load
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-10 01:53:49 +02:00
Máximo Cuadros
ff3e5d97d2 starlark/module: filepath module implementation and tests
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-10 01:51:06 +02:00
Máximo Cuadros
98979397bb starlark/module: os module implementation and tests
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-10 01:23:15 +02:00
Máximo Cuadros
0a5a2cf646 starlark/runtime: basic implementation
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-08 22:51:46 +02:00
Máximo Cuadros
5bfd5f4654 starlark/types: BuiltinProvider function
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-08 01:00:04 +02:00
Máximo Cuadros
014a32752e starlark: provider aliasing support
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-08 00:28:42 +02:00
Máximo Cuadros
814a0bd668 LICENSE
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-05 08:00:41 +02:00
Máximo Cuadros
a6e365eca5 *: project renamed
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-05 07:46:15 +02:00
Máximo Cuadros
a339458eab provider: Computed with prefixed name
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-05 03:43:25 +02:00
Máximo Cuadros
76dd3d631a provider: COmputed support for nested attributes, list and sets
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-05 02:27:28 +02:00
Máximo Cuadros
6daa4b37b4 provider: Resource removed name and starlark.Comparable support
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-04 20:43:34 +02:00
Máximo Cuadros
317fd9cd2c provider: hcl built-in function 2019-07-03 18:47:54 +02:00
Máximo Cuadros
9d2a6fd909 provider: type system 2019-07-03 18:22:36 +02:00
Máximo Cuadros
aa6b2fdde3 provider: Computed and tests
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-03 13:42:43 +02:00
Máximo Cuadros
361461de32 *: package clean up
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
2019-07-03 01:05:35 +02:00