feat: test v1

This commit is contained in:
zhanghelong 2021-08-18 19:21:48 +08:00
commit f0d2e20652
4 changed files with 32 additions and 0 deletions

5
build1.sh Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -e
echo "build step 1"

5
build2.sh Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -e
echo "build step 2"

8
exec.sh Normal file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -e
while true ; do
echo "executing..."
sleep 1
done

14
upack.json Normal file
View File

@ -0,0 +1,14 @@
{
"name": "test",
"version": "v1alpha1",
"description": "test pack",
"engines": {
"build": "tester:v1",
"deploy": "tester:v1"
},
"build_steps": [
"./build1.sh", "./build2.sh"
],
"deploy_steps": ["cp /tmp/exec.sh ."],
"main": "./exec.sh"
}