Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #443 from laverya/add-installation-template-func-i…
Browse files Browse the repository at this point in the history
…ntegration-test

add an integration test for the Installation template funcs
  • Loading branch information
laverya authored Aug 21, 2018
2 parents 1156f16 + 47ea0a8 commit 78ca486
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
assets:
v1:
- inline:
contents: |
#!/bin/bash
echo "installing nothing"
echo "semver: {{repl Installation "semver" }}"
dest: ./scripts/install.sh
mode: 0777
- inline:
contents: |
#!/bin/bash
echo "tested nothing"
dest: ./scripts/test.sh
mode: 0777
config:
v1:
- name: test_options
title: Test Options
description: testing testing 123
items:
- name: test_option
title: Test Option
default: abc123_test-option-value
type: text
lifecycle:
v1:
- render: {}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"v1":{"config":{}}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
echo "installing nothing"
echo "semver: 1.0.1-SNAPSHOT"
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
echo "tested nothing"
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
assets:
v1:
- inline:
contents: |
#!/bin/bash
echo "installing nothing"
echo "semver: {{repl Installation "semver" }}"
dest: ./scripts/install.sh
mode: 0777
- inline:
contents: |
#!/bin/bash
echo "tested nothing"
dest: ./scripts/test.sh
mode: 0777
config:
v1:
- name: test_options
title: Test Options
description: testing testing 123
items:
- name: test_option
title: Test Option
default: abc123_test-option-value
type: text
lifecycle:
v1:
- render: {}
2 changes: 2 additions & 0 deletions integration/init_app/installation-template-func/metadata.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
customer_id: "-Am-_6i5pw0u4AbspOwKN4lZUCn49u_G"
release_version: "1.0.1-SNAPSHOT"

0 comments on commit 78ca486

Please sign in to comment.