Skip to content

Commit 45a9c8a

Browse files
committed
Update the example
1 parent 01943dd commit 45a9c8a

File tree

9 files changed

+53
-59
lines changed

9 files changed

+53
-59
lines changed

.buildkite/pipeline.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
steps:
2+
- name: ":hammer: Example Script"
3+
command: "script.sh"
4+
artifact_paths: "ascii/*"

.buildkite/project.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
{
22
"name": "Bash Example",
3-
"repository": "https://github.com/buildkite/bash-example.git",
43
"steps": [
54
{
65
"type": "script",
7-
"name": ":hammer: Test",
8-
"command": "example_script.sh",
9-
"agent_query_rules": []
6+
"name": ":pipeline:",
7+
"command": "buildkite-agent pipeline upload"
108
}
119
]
12-
}
10+
}

Dockerfile

Lines changed: 0 additions & 4 deletions
This file was deleted.

LICENSE.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

License.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 Buildkite Pty Ltd
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

ascii/homer.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.

ascii/thumbsup.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
$$$$
2+
$$__$
3+
$___$$
4+
$___$$
5+
$$___$$
6+
$____$$
7+
$$____$$$
8+
$$_____$$
9+
$$______$$
10+
$_______$$
11+
$$$$$$$________$$
12+
$$$_______________$$$$$$
13+
$$____$$$$____________$$$
14+
$___$$$__$$$____________$$
15+
$$________$$$____________$
16+
$$____$$$$$$____________$
17+
$$$$$$$____$$___________$
18+
$$_______$$$$___________$
19+
$$$$$$$$$__$$_________$$
20+
$________$$$$_____$$$$
21+
$$____$$$$$$____$$$$$$
22+
$$$$$$____$$__$$
23+
$_____$$$_$$$
24+
$$$$$$$$$$

docker-compose.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

example_script.sh renamed to script.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
#!/bin/bash
22

3-
# This is a simple example bash script to get you started with Buildkite. If
4-
# this test succeeds (which it does) then your build will be green.
5-
#
6-
# To read more about what you can do in your build scripts, see the
7-
# Writing Build Scripts guide:
8-
# https://buildkite.com/docs/guides/writing-build-scripts
9-
103
set -eo pipefail
114

125
echo "--- Build job checkout directory"
@@ -20,7 +13,7 @@ env
2013

2114
echo "+++ Example tests"
2215

23-
ASCII=`cat ascii/homer.txt`
16+
ASCII=$(cat ascii/thumbsup.txt)
2417

2518
echo -e "\033[33mCongratulations!\033[0m You've successfully run your first build on Buildkite! 👍
2619

0 commit comments

Comments
 (0)