Skip to content

Commit

Permalink
Merge pull request #2500 from swiftdocker/swift
Browse files Browse the repository at this point in the history
Swift
  • Loading branch information
tianon authored Jan 21, 2017
2 parents f49864b + c03f413 commit 3f37bb5
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions library/swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Maintainers: Haris Amin <[email protected]> (@hamin),
Thomas Catterall <[email protected]> (@swizzlr)
GitRepo: https://github.com/swiftdocker/docker-swift.git

Tags: 3.0.2, 3.0, 3, latest
GitCommit: 94a43272fe6411c12045414cfc797d3c0bcf2823
3 changes: 3 additions & 0 deletions test/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,9 @@ imageTests+=(
[silverpeas]='
silverpeas-basics
'
[swift]='
swift-hello-world
'
[tomcat]='
tomcat-hello-world
'
Expand Down
7 changes: 7 additions & 0 deletions test/tests/run-swift-in-container.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -e

testDir="$(readlink -f "$(dirname "$BASH_SOURCE")")"
runDir="$(dirname "$(readlink -f "$BASH_SOURCE")")"

source "$runDir/run-in-container.sh" "$testDir" "$1" swift ./container.swift
1 change: 1 addition & 0 deletions test/tests/swift-hello-world/container.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print("Hello, world!")
1 change: 1 addition & 0 deletions test/tests/swift-hello-world/expected-std-out.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello, world!
1 change: 1 addition & 0 deletions test/tests/swift-hello-world/run.sh

0 comments on commit 3f37bb5

Please sign in to comment.