Skip to content

Commit a64b9d6

Browse files
committed
Update Ruby Docker Example (consistency sweep)
1 parent 0837cb4 commit a64b9d6

File tree

4 files changed

+46
-65
lines changed

4 files changed

+46
-65
lines changed

.buildkite/template.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
# Used by the 'Add to Buildkite' button in the readme
21
name: "Ruby Docker Example"
2+
description: "An example pipeline that runs Ruby tests using Docker."
3+
emoji: ":ruby:"
4+
color: "#FDF5F5"
5+
languages:
6+
- "Ruby"
7+
- "YAML"
8+
- "Docker"
39
steps:
4-
- label: ":pipeline:"
5-
command: "buildkite-agent pipeline upload"
10+
- command: "buildkite-agent pipeline upload"
11+
label: ":pipeline:"

License.md renamed to LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 Buildkite Pty Ltd
3+
Copyright (c) 2025 Buildkite Pty Ltd
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Buildkite Ruby Docker Example
2+
3+
[![Build status](https://badge.buildkite.com/aab023f2f33ab06766ed6236bc40caf0df1d9448e4f590d0ee.svg?branch=main)](https://buildkite.com/buildkite/ruby-docker-example/builds/latest?branch=main)
4+
[![Add to Buildkite](https://img.shields.io/badge/Add%20to%20Buildkite-14CC80)](https://buildkite.com/new)
5+
6+
This repository is an example [Buildkite](https://buildkite.com/) pipeline that demonstrates how to test a [Ruby](https://www.ruby-lang.org/en/) project using [Docker](https://docker.com/).
7+
8+
👉 **See this example in action:** [buildkite/ruby-docker-example](https://buildkite.com/buildkite/ruby-docker-example/builds/latest?branch=main)
9+
10+
See the full [Getting Started Guide](https://buildkite.com/docs/guides/getting-started) for step-by-step instructions on how to get this running, or try it yourself:
11+
12+
[![Add to Buildkite](https://buildkite.com/button.svg)](https://buildkite.com/new)
13+
14+
<a href="https://buildkite.com/buildkite/ruby-docker-example/builds/latest?branch=main">
15+
<img width="2400" alt="Screenshot of example pipeline build page" src=".buildkite/screenshot.png" />
16+
</a>
17+
18+
<!-- docs:start -->
19+
20+
## How it works
21+
22+
This example:
23+
- Uses the [Ruby Docker image](https://hub.docker.com/_/ruby/)
24+
- Defines a [Docker Compose](https://docs.docker.com/compose/) service to run tests
25+
- Uses a simple RSpec test suite for demonstration
26+
27+
Key files:
28+
- [`Dockerfile`](Dockerfile) – defines the Ruby environment
29+
- [`docker-compose.yml`](docker-compose.yml) – defines the app service
30+
- [`pipeline.yml`](.buildkite/pipeline.yml) – uploads the pipeline
31+
32+
<!-- docs:end -->
33+
34+
## License
35+
36+
See [LICENSE.md](LICENSE.md) (MIT)

Readme.md

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

0 commit comments

Comments
 (0)