Skip to content

Commit 93c0482

Browse files
authored
Consistent indentation - missing space for build: lines
1 parent 6dfc0dc commit 93c0482

File tree

1 file changed

+79
-79
lines changed

1 file changed

+79
-79
lines changed

jekyll/_cci2/config-intro.md

Lines changed: 79 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ Let’s get started. CircleCI provides a powerful experience because we provide
3030
```yaml
3131
version: 2.0
3232
jobs:
33-
build:
34-
docker:
35-
- image: alpine:3.7
36-
steps:
37-
- run:
38-
name: The First Step
39-
command: |
40-
echo 'Hello World!'
41-
echo 'This is the delivery pipeline'
33+
build:
34+
docker:
35+
- image: alpine:3.7
36+
steps:
37+
- run:
38+
name: The First Step
39+
command: |
40+
echo 'Hello World!'
41+
echo 'This is the delivery pipeline'
4242
```
4343
4444
Check-in the config and see it run. You can see the output of the job in the CircleCI app.
@@ -66,21 +66,21 @@ That was nice but let’s get real. Delivery graphs start with code. In this e
6666
```yaml
6767
version: 2.0
6868
jobs:
69-
build:
70-
docker:
71-
- image: alpine:3.7
72-
steps:
73-
- checkout
74-
- run:
75-
name: The First Step
76-
command: |
77-
echo 'Hello World!'
78-
echo 'This is the delivery pipeline'
79-
- run:
80-
name: Code Has Arrived
81-
command: |
82-
ls -al
83-
echo '^^^That should look familiar^^^'
69+
build:
70+
docker:
71+
- image: alpine:3.7
72+
steps:
73+
- checkout
74+
- run:
75+
name: The First Step
76+
command: |
77+
echo 'Hello World!'
78+
echo 'This is the delivery pipeline'
79+
- run:
80+
name: Code Has Arrived
81+
command: |
82+
ls -al
83+
echo '^^^That should look familiar^^^'
8484
```
8585

8686
### Learnings
@@ -100,26 +100,26 @@ Every code base and project is different. That’s okay. We like diversity. T
100100
```yaml
101101
version: 2.0
102102
jobs:
103-
build:
104-
# pre-built images: https://circleci.com/docs/2.0/circleci-images/
105-
docker:
106-
- image: circleci/node:10-browsers
107-
steps:
108-
- checkout
109-
- run:
110-
name: The First Step
111-
command: |
112-
echo 'Hello World!'
113-
echo 'This is the delivery pipeline'
114-
- run:
115-
name: Code Has Arrived
116-
command: |
117-
ls -al
118-
echo '^^^That should look familiar^^^'
119-
- run:
120-
name: Running in a Unique Container
121-
command: |
122-
node -v
103+
build:
104+
# pre-built images: https://circleci.com/docs/2.0/circleci-images/
105+
docker:
106+
- image: circleci/node:10-browsers
107+
steps:
108+
- checkout
109+
- run:
110+
name: The First Step
111+
command: |
112+
echo 'Hello World!'
113+
echo 'This is the delivery pipeline'
114+
- run:
115+
name: Code Has Arrived
116+
command: |
117+
ls -al
118+
echo '^^^That should look familiar^^^'
119+
- run:
120+
name: Running in a Unique Container
121+
command: |
122+
node -v
123123
```
124124

125125
We also added a small `run` block that demonstrates we are running in a node container.
@@ -144,41 +144,41 @@ All of the job names are arbitrary. This allows you to create workflows as comp
144144
```yaml
145145
version: 2.0
146146
jobs:
147-
Hello-World:
148-
docker:
149-
- image: alpine:3.7
150-
steps:
151-
- run:
152-
name: Hello World
153-
command: |
154-
echo 'Hello World!'
155-
echo 'This is the delivery pipeline'
156-
I-Have-Code:
157-
docker:
158-
- image: alpine:3.7
159-
steps:
160-
- checkout
161-
- run:
162-
name: Code Has Arrived
163-
command: |
164-
ls -al
165-
echo '^^^That should look familiar^^^'
166-
Run-With-Node:
167-
docker:
168-
- image: circleci/node:10-browsers
169-
steps:
170-
- run:
171-
name: Running In A Container With Node
172-
command: |
173-
node -v
174-
Now-Complete:
175-
docker:
176-
- image: alpine:3.7
177-
steps:
178-
- run:
179-
name: Approval Complete
180-
command: |
181-
echo 'Do work once the approval has completed'
147+
Hello-World:
148+
docker:
149+
- image: alpine:3.7
150+
steps:
151+
- run:
152+
name: Hello World
153+
command: |
154+
echo 'Hello World!'
155+
echo 'This is the delivery pipeline'
156+
I-Have-Code:
157+
docker:
158+
- image: alpine:3.7
159+
steps:
160+
- checkout
161+
- run:
162+
name: Code Has Arrived
163+
command: |
164+
ls -al
165+
echo '^^^That should look familiar^^^'
166+
Run-With-Node:
167+
docker:
168+
- image: circleci/node:10-browsers
169+
steps:
170+
- run:
171+
name: Running In A Container With Node
172+
command: |
173+
node -v
174+
Now-Complete:
175+
docker:
176+
- image: alpine:3.7
177+
steps:
178+
- run:
179+
name: Approval Complete
180+
command: |
181+
echo 'Do work once the approval has completed'
182182
183183
workflows:
184184
version: 2

0 commit comments

Comments
 (0)