This repository has been archived by the owner on Mar 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use semver if supplied via cli when getting releases
- Loading branch information
Showing
24 changed files
with
174 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
#Running the integration tests | ||
#Running the integration tests (from the parent directory) | ||
|
||
```shell | ||
make integration | ||
make integration-test | ||
``` | ||
|
||
#Adding a new integration test | ||
|
||
Each integration test is a folder containing a text file with the | ||
desired customer ID, a folder 'testfiles' containing | ||
desired customer ID, installation ID, release version, a folder 'testfiles' containing | ||
`.ship/release.yml` and `.ship/state.yml`, and a folder 'expected' | ||
containing the expected output of running ship with that state file, customer ID and release.yml. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3dEYiuammV8EB4fRq89JtDY18akpzbSC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
|
||
--- | ||
# assets are everything an end customer needs to deploy your application, like | ||
# | ||
# - kubernetes or docker-compose manifests | ||
# - installation scripts | ||
# - modules for ansible/chef/puppet | ||
# - private docker images | ||
# - compiled artifacts and binaries | ||
# | ||
# assets will be templated using customer-supplied | ||
# install info from the "config" section (below) | ||
assets: | ||
v1: | ||
# "inline" can be used to supply assets directly in the spec | ||
- inline: | ||
contents: | | ||
#!/bin/bash | ||
echo "installing nothing" | ||
echo "config option: {{repl ConfigOption "test_option" }}" | ||
dest: ./scripts/install.sh | ||
mode: 0777 | ||
- inline: | ||
contents: | | ||
#!/bin/bash | ||
echo "tested nothing" | ||
dest: ./scripts/test.sh | ||
mode: 0777 | ||
- docker: | ||
image: alpine:3.5 | ||
source: public | ||
dest: docker/alpine3-5.tar | ||
|
||
# "docker" can be used to provide proxied access to private docker images | ||
# - docker: | ||
# image: postgres | ||
# source: public | ||
# dest: docker/postgres.tar | ||
|
||
# Config defines the configuration options available to your application. | ||
# Values supplied by the end customer will be used during asset generation. | ||
config: | ||
v1: | ||
- name: test_options | ||
title: Test Options | ||
description: testing testing 123 | ||
items: | ||
- name: test_option | ||
title: Test Option | ||
type: text | ||
|
||
# Lifecycle allows you to customize the messaging and workflow for your end customer | ||
# when they are generating assets. Currently the two support lifecycle steps are | ||
# | ||
# - message -- prints a message | ||
# - render -- collects config and generates assets | ||
lifecycle: | ||
v1: | ||
- render: {} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"test_option":"abc123_test-option-value"} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
echo "installing nothing" | ||
echo "config option: abc123_test-option-value" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
echo "tested nothing" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
|
||
--- | ||
# assets are everything an end customer needs to deploy your application, like | ||
# | ||
# - kubernetes or docker-compose manifests | ||
# - installation scripts | ||
# - modules for ansible/chef/puppet | ||
# - private docker images | ||
# - compiled artifacts and binaries | ||
# | ||
# assets will be templated using customer-supplied | ||
# install info from the "config" section (below) | ||
assets: | ||
v1: | ||
# "inline" can be used to supply assets directly in the spec | ||
- inline: | ||
contents: | | ||
#!/bin/bash | ||
echo "installing nothing" | ||
echo "config option: {{repl ConfigOption "test_option" }}" | ||
dest: ./scripts/install.sh | ||
mode: 0777 | ||
- inline: | ||
contents: | | ||
#!/bin/bash | ||
echo "tested nothing" | ||
dest: ./scripts/test.sh | ||
mode: 0777 | ||
- docker: | ||
image: alpine:3.5 | ||
source: public | ||
dest: docker/alpine3-5.tar | ||
|
||
# "docker" can be used to provide proxied access to private docker images | ||
# - docker: | ||
# image: postgres | ||
# source: public | ||
# dest: docker/postgres.tar | ||
|
||
# Config defines the configuration options available to your application. | ||
# Values supplied by the end customer will be used during asset generation. | ||
config: | ||
v1: | ||
- name: test_options | ||
title: Test Options | ||
description: testing testing 123 | ||
items: | ||
- name: test_option | ||
title: Test Option | ||
type: text | ||
|
||
# Lifecycle allows you to customize the messaging and workflow for your end customer | ||
# when they are generating assets. Currently the two support lifecycle steps are | ||
# | ||
# - message -- prints a message | ||
# - render -- collects config and generates assets | ||
lifecycle: | ||
v1: | ||
- render: {} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"test_option":"abc123_test-option-value"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
jcmvgHoBCkKPfqM9Qp-iDJCMlDSgyT6L |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters