Olaf Bohlen
2020-11-11 43993fc0ef4bd1eb06fb58a9e24e07405755ab1e
add custom s2i scripts
2 files added
18 ■■■■■ changed files
.s2i/bin/assemble 15 ●●●●● patch | view | raw | blame | history
.s2i/bin/run 3 ●●●●● patch | view | raw | blame | history
.s2i/bin/assemble
New file
@@ -0,0 +1,15 @@
#!/bin/bash
# pre code
echo "hello class"
/usr/libexec/s2i/bin/assemble
rc=$?
if [ $rt -eq 0 ]; then
  echo "bye class"
else
  echo "sorry, build failed"
fi
exit $rt
.s2i/bin/run
New file
@@ -0,0 +1,3 @@
#!/bin/bash
echo "fasten your seatbelts!"
exec /usr/libexec/s2i/run