From 55de2146757dc7badb310c1c153663e508b1613b Mon Sep 17 00:00:00 2001 From: Areum Cho Date: Sat, 23 Jun 2018 18:11:05 -0400 Subject: Add support for Packer plugin Change-Id: Idcb85f53656efb07a6aafe28f60ecafd9011fab4 Co-Authored-By: Tan Heng Yeow Signed-off-by: Tan Heng Yeow --- tests/publishers/fixtures/packer-full.xml | 24 ++++++++++++++++++++++++ tests/publishers/fixtures/packer-full.yaml | 16 ++++++++++++++++ tests/publishers/fixtures/packer-minimal.xml | 14 ++++++++++++++ tests/publishers/fixtures/packer-minimal.yaml | 3 +++ 4 files changed, 57 insertions(+) create mode 100644 tests/publishers/fixtures/packer-full.xml create mode 100644 tests/publishers/fixtures/packer-full.yaml create mode 100644 tests/publishers/fixtures/packer-minimal.xml create mode 100644 tests/publishers/fixtures/packer-minimal.yaml (limited to 'tests') diff --git a/tests/publishers/fixtures/packer-full.xml b/tests/publishers/fixtures/packer-full.xml new file mode 100644 index 00000000..ffd07e3b --- /dev/null +++ b/tests/publishers/fixtures/packer-full.xml @@ -0,0 +1,24 @@ + + + + + test name + test template + test template text + additional params + true + change to directory + global + + + test var + test content + + + test var 2 + test content 2 + + + + + diff --git a/tests/publishers/fixtures/packer-full.yaml b/tests/publishers/fixtures/packer-full.yaml new file mode 100644 index 00000000..93efcacb --- /dev/null +++ b/tests/publishers/fixtures/packer-full.yaml @@ -0,0 +1,16 @@ +publishers: + - packer: + name: test name + json-template: test template + json-template-text: test template text + add-params: additional params + use-debug: true + change-dir: change to directory + template-mode: global + file-entries: + - files: + variable-name: test var + contents: test content + - files: + variable-name: test var 2 + contents: test content 2 diff --git a/tests/publishers/fixtures/packer-minimal.xml b/tests/publishers/fixtures/packer-minimal.xml new file mode 100644 index 00000000..e5632749 --- /dev/null +++ b/tests/publishers/fixtures/packer-minimal.xml @@ -0,0 +1,14 @@ + + + + + test name + + + + false + + global + + + diff --git a/tests/publishers/fixtures/packer-minimal.yaml b/tests/publishers/fixtures/packer-minimal.yaml new file mode 100644 index 00000000..5ddbe505 --- /dev/null +++ b/tests/publishers/fixtures/packer-minimal.yaml @@ -0,0 +1,3 @@ +publishers: + - packer: + name: test name -- cgit