This commit is contained in:
Kevin Adametz 2020-03-07 19:46:02 +01:00
parent a37785b391
commit 33458b2ca3
9915 changed files with 1247019 additions and 0 deletions

View file

@ -0,0 +1,3 @@
parameters:
foo: bar
boolean: false

View file

@ -0,0 +1,4 @@
# This file is auto-generated during the composer install
parameters:
foo: existing_foo
boolean: false

View file

@ -0,0 +1,4 @@
# This file is auto-generated during the composer install
parameters:
foo: existing_foo
boolean: false

View file

@ -0,0 +1,6 @@
title: Existing values are kept
config:
dist-file: parameters.dist.yml
dist-file: parameters.dist.yml

View file

@ -0,0 +1,7 @@
config:
foo: bar
boolean: false
another: ~
nested:
foo: bar
bar: baz

View file

@ -0,0 +1,8 @@
# This file is auto-generated during the composer install
config:
foo: existing_foo
boolean: false
another: ~
nested:
foo: bar
bar: baz

View file

@ -0,0 +1,8 @@
# This file is auto-generated during the composer install
config:
foo: existing_foo
boolean: false
another: null
nested:
foo: bar
bar: baz

View file

@ -0,0 +1,5 @@
title: Using a custom parameter key
config:
parameter-key: config

View file

@ -0,0 +1,7 @@
parameters:
foo: bar
boolean: false
another: ~
nested:
foo: bar
bar: baz

View file

@ -0,0 +1,8 @@
# This file is auto-generated during the composer install
parameters:
foo: existing_foo
boolean: false
another: ~
nested:
foo: bar
bar: baz

View file

@ -0,0 +1,8 @@
# This file is auto-generated during the composer install
parameters:
foo: existing_foo
boolean: false
another: null
nested:
foo: bar
bar: baz

View file

@ -0,0 +1 @@
title: Existing values are kept

View file

@ -0,0 +1,2 @@
parameters:
foo: bar

View file

@ -0,0 +1,3 @@
# This file is auto-generated during the composer install
parameters:
foo: bar

View file

@ -0,0 +1 @@
title: Existing empty files are valid (Capifony compatibility)

View file

@ -0,0 +1,2 @@
parameters:
foo: bar

View file

@ -0,0 +1,2 @@
# This file is auto-generated during the composer install
foobar: baz

View file

@ -0,0 +1,4 @@
# This file is auto-generated during the composer install
parameters:
foo: bar
foobar: baz

View file

@ -0,0 +1 @@
title: Existing files without the parameters key are valid

View file

@ -0,0 +1,5 @@
parameters:
foo: bar
boolean: false
extra_key: a new extra key

View file

@ -0,0 +1,4 @@
# This file is auto-generated during the composer install
parameters:
foo: existing_foo
another_key: foo

View file

@ -0,0 +1,6 @@
# This file is auto-generated during the composer install
parameters:
foo: existing_foo
boolean: false
extra_key: 'a new extra key'
another_key: foo

View file

@ -0,0 +1 @@
title: Extra top level keys are preserved

View file

@ -0,0 +1,4 @@
parameters:
foo: bar
boolean: false
another: ~

View file

@ -0,0 +1,3 @@
# This file is auto-generated during the composer install
parameters:
foo: existing_foo

View file

@ -0,0 +1,5 @@
# This file is auto-generated during the composer install
parameters:
foo: existing_foo
boolean: false
another: 'null'

View file

@ -0,0 +1,11 @@
title: Existing values are not asked interactively again
interactive: true
requested_params:
boolean:
default: 'false'
input: 'false'
another:
default: 'null'
input: '"null"'

View file

@ -0,0 +1,4 @@
parameters:
boolean: false
another: test
nested: nested

View file

@ -0,0 +1,10 @@
# This file is auto-generated during the composer install
parameters:
boolean: true
another: null
nested:
foo: bar
bar:
- foo
- test
- null

View file

@ -0,0 +1,14 @@
title: Missing keys are asked interactively
interactive: true
requested_params:
boolean:
default: 'false'
input: 'true'
nested:
default: nested
input: '{foo: bar, bar: [foo, test, null]}'
another:
default: test
input: 'null'

View file

@ -0,0 +1,4 @@
parameters:
boolean: false
another: test
nested: nested

View file

@ -0,0 +1,10 @@
# This file is auto-generated during the composer install
parameters:
boolean: true
nested:
foo: env_foo
bar:
- env
- test
- null
another: null

View file

@ -0,0 +1,17 @@
title: Values provided by the environment are not asked interactively
config:
env-map:
boolean: IC_TEST_BOOL
nested: IC_TEST_NESTED
environment:
IC_TEST_BOOL: 'true'
IC_TEST_NESTED: '{foo: env_foo, bar: [env, test, null]}'
interactive: true
requested_params:
another:
default: test
input: 'null'

View file

@ -0,0 +1,2 @@
parameters:
foo: bar

View file

@ -0,0 +1,4 @@
# This file is auto-generated during the composer install
parameters:
foo: existing_foo
outdated: outdated_param

View file

@ -0,0 +1,4 @@
# This file is auto-generated during the composer install
parameters:
foo: existing_foo
outdated: outdated_param

View file

@ -0,0 +1,4 @@
title: Outdated keys can be kept in the parameters file
config:
keep-outdated: true

View file

@ -0,0 +1,7 @@
parameters:
foo: bar
boolean: false
another: ~
nested:
foo: bar
bar: baz

View file

@ -0,0 +1,8 @@
# This file is auto-generated during the composer install
parameters:
foo: bar
boolean: false
another: null
nested:
foo: bar
bar: baz

View file

@ -0,0 +1 @@
title: Non existent files are created

View file

@ -0,0 +1,7 @@
parameters:
foo: bar
boolean: false
another: ~
nested:
foo: bar
bar: baz

View file

@ -0,0 +1,11 @@
# This file is auto-generated during the composer install
parameters:
foo: foobar
boolean: true
another: null
nested:
foo: env_foo
bar:
- env
- test
- null

View file

@ -0,0 +1,13 @@
title: Environment variables are used over dist file defaults
config:
env-map:
boolean: IC_TEST_BOOL
foo: IC_TEST_FOO
nested: IC_TEST_NESTED
another: IC_TEST_NOT_SET
environment:
IC_TEST_BOOL: 'true'
IC_TEST_FOO: 'foobar'
IC_TEST_NESTED: '{foo: env_foo, bar: [env, test, null]}'

View file

@ -0,0 +1,2 @@
parameters:
foo: bar

View file

@ -0,0 +1,4 @@
# This file is auto-generated during the composer install
parameters:
foo: existing_foo
outdated: outdated_param

View file

@ -0,0 +1,3 @@
# This file is auto-generated during the composer install
parameters:
foo: existing_foo

View file

@ -0,0 +1 @@
title: Outdated keys are removed from the parameters file

View file

@ -0,0 +1,6 @@
parameters:
new: bar
new2: new2
new3: test
new4: test4
new5: test5

View file

@ -0,0 +1,6 @@
# This file is auto-generated during the composer install
parameters:
old: old_value
new2: foo
old2: bar
old4: old4

View file

@ -0,0 +1,7 @@
# This file is auto-generated during the composer install
parameters:
new: old_value
new2: foo
new3: test
new4: old4
new5: old4

View file

@ -0,0 +1,9 @@
title: Key can be renamed and the value is reused
config:
rename-map:
new: old
new2: old2
new3: old3
new4: old4
new5: new4 # Cascade renaming

View file

@ -0,0 +1,3 @@
parameters:
new: bar
new2: new2

View file

@ -0,0 +1,4 @@
# This file is auto-generated during the composer install
parameters:
old: old_value
old2: old_value2

View file

@ -0,0 +1,4 @@
# This file is auto-generated during the composer install
parameters:
new: new_env_value
new2: old_value2

View file

@ -0,0 +1,11 @@
title: Environment variables win over renamed keys
config:
rename-map:
new: old
new2: old2
env-map:
new: IC_TEST_NEW
environment:
IC_TEST_NEW: 'new_env_value'

View file

@ -0,0 +1,3 @@
parameters:
foo: bar
boolean: false

View file

@ -0,0 +1,4 @@
# This file is auto-generated during the composer install
parameters:
foo: existing_foo
boolean: false

View file

@ -0,0 +1,4 @@
# This file is auto-generated during the composer install
parameters:
foo: existing_foo
boolean: false

View file

@ -0,0 +1,6 @@
title: Files can be located in subfolders
config:
file: 'app/parameters.yml'
dist-file: 'app/parameters.yml.dist'

View file

@ -0,0 +1,2 @@
parameters:
foo: bar

View file

@ -0,0 +1,3 @@
# This file is auto-generated during the composer install
parameters:
foo: bar

View file

@ -0,0 +1,7 @@
title: Files can be located in different folders than the dist and the folder is created
config:
file: 'app/parameters.yml'
dist-file: 'dist/parameters.yml'
dist-file: 'dist/parameters.yml'