1
1
Fork 0
mirror of https://github.com/mcuadros/ascode synced 2024-05-08 08:36:15 +02:00
Commit Graph

133 Commits

Author SHA1 Message Date
Máximo Cuadros 63e4823473
starlark/types: Terraform documentation and examples 2020-03-22 20:32:42 +01:00
Máximo Cuadros b081ca30bd
starlark/types: remove ambiguous AttrDict, replaced by Dict 2020-03-22 17:28:18 +01:00
Máximo Cuadros 6012bbcb5a
doc: templates, examples support and Type styling 2020-03-22 13:49:24 +01:00
Máximo Cuadros 10a78e0a1d
starlark/types: State, documentation and examples 2020-03-22 13:48:15 +01:00
Máximo Cuadros 27ef6956a4
starlark/types: State, removed AttrDict capabilties 2020-03-22 13:46:56 +01:00
Máximo Cuadros 505355fbf4
starlark/types: evaluate dict predeclared support 2020-03-22 05:51:05 +01:00
Máximo Cuadros 7b759a48ce
starlark/types: Resource.AttrNames kind dependant 2020-03-22 02:10:00 +01:00
Máximo Cuadros 6d88a265e4
starlark/types: AttrNames fix implementation and API improvments 2020-03-22 01:21:46 +01:00
Máximo Cuadros b1d50635de
*: removed provider global in favor of tf 2020-03-21 00:10:22 +01:00
Máximo Cuadros 74c404f8e3
starlark/types: Terraform global object 2020-03-20 23:49:24 +01:00
Máximo Cuadros c00d6e9829
starlark/types: improve documentation and fix computed attrs 2020-03-20 19:26:21 +01:00
Máximo Cuadros 5f0120775b
starlark/types: State type 2020-03-20 18:47:04 +01:00
Máximo Cuadros d713bb6bc5
starlark/types: ResourceCollection.search method 2020-03-20 01:21:16 +01:00
Máximo Cuadros 3fbe4533a5
starlark/module: experimental/docker DOCKER_CONFIG_FILE support 2020-03-19 12:56:28 +01:00
Máximo Cuadros 2d1de14167
starlark/module: experimental/docker image name properties 2020-03-19 12:15:57 +01:00
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__ 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>
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>
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