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

118 Commits

Author SHA1 Message Date
Máximo Cuadros
ede2cc43f7
starlark/module: experimental/docker DOCKER_CONFIG support 2020-03-19 12:04:45 +01:00
Máximo Cuadros
c5436f7b86
starlark/types: evaluate function implementation 2020-03-17 21:13:12 +01:00
Máximo Cuadros
9ba8f7e3ee
ci: docker build based on github actions, tag latest 2020-03-17 18:52:12 +01:00
Máximo Cuadros
050d289620
ci: docker build based on github actions 2020-03-17 18:30:53 +01:00
Máximo Cuadros
239a9ab9c0
starlark/types: fixes provider unexpected token in nested blocks 2020-03-17 16:28:09 +01:00
Máximo Cuadros
1631fbb39b
go.mod: revert go-plugin update 2020-03-17 15:23:26 +01:00
Máximo Cuadros
2acd02057e
starlark/runtime: fix relative loading 2020-03-17 14:55:39 +01:00
Máximo Cuadros
08d19626b8
go.mod: updates 2020-03-17 11:16:15 +01:00
Máximo Cuadros
14b64b111f
starlark/types: added resource.__provider__ v0.0.4 2020-03-17 08:51:59 +01:00
Máximo Cuadros
20563c90f0
starlark/types: computed, new fn function to wrap computed values 2020-03-17 01:41:10 +01:00
Máximo Cuadros
1b14da34a0
starlark/types: computed, fix proper MaxItem==1 indexes 2020-03-17 01:19:45 +01:00
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