Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
argotest
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Reis
argotest
Commits
2f28fde6
Commit
2f28fde6
authored
Dec 14, 2018
by
Valentin Reis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] fix type error.
parent
919b7f73
Pipeline
#4667
passed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
argotk.hs
argotk.hs
+4
-3
No files found.
argotk.hs
View file @
2f28fde6
...
...
@@ -43,9 +43,10 @@ runApp sa app = runSimpleStack $ sa {app = app}
runHelloWorld
::
StackArgs
->
IO
()
runHelloWorld
a
@
StackArgs
{
..
}
=
do
let
passStr
=
"HelloWorldFromApp"
runSimpleStack
$
a
{
app
=
format
(
"echo "
%
s
)
passStr
}
readTextFile
cmd_err
>>=
\
x
->
case
match
(
has
passStr
)
x
of
let
passText
=
"HelloWorldFromApp"
let
passPattern
=
text
passText
runSimpleStack
$
a
{
app
=
format
(
"echo "
%
s
)
passText
}
readTextFile
cmd_err
>>=
\
x
->
case
match
(
has
passPattern
)
x
of
[]
->
die
(
"Hello world app failed to run."
)
_
->
sh
$
printInfo
"The hello world app executed properly in a
\
\
container and its message was received by `cmd`.
\n
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment