You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
that reference a job with rerun builds, those rerun builds are
43
-
processed in this same order. This ensures that the versions, which made it
44
-
through a rerun build, do not become the new "latest versions". Instead, they
43
+
processed in this same order. This ensures that versions which made it
44
+
through a rerun build do not become the new "latest versions". Instead, they
45
45
act as if the original build had succeeded at its point in the build history.
46
46
47
-
This may sound a little confusing, but the summary is that reruns should
47
+
This may sound a little confusing, but the key point is that reruns should
48
48
behave as if they replace the original failed build.
49
49
50
50
\section{
@@ -56,11 +56,11 @@ sure you intercept while it's running, if you want to debug.
56
56
with.
57
57
58
58
This means that if the \reference{schema.job.plan} has changed in a way
59
-
that is backwards-incompatible, the rerun build may error. For example, if
59
+
that is backwards-incompatible, the rerun build may fail. For example, if
60
60
a new input is added, its version will not be available as the original
61
61
build did not use it.
62
62
63
-
There are future plans to have reruns execute the exact build plan from the
63
+
There are plans to have reruns execute the exact build plan from the
64
64
original build. If you are interested in tracking the progress for the
65
65
second pass at rerunning builds - or contributing yourself! - the project
66
66
epic is called \link{Build Lifecycle
@@ -86,7 +86,7 @@ sure you intercept while it's running, if you want to debug.
86
86
This can be useful for periodically monitoring the state of a job. The output
87
87
also works well with tools like \code{awk} and \code{grep}.
88
88
89
-
By default the most recent 50 builds are shown. To see more builds, use
89
+
By default, the most recent 50 builds are shown. To see more builds, use
90
90
the \code{-c} flag, like so:
91
91
92
92
\codeblock{bash}{{
@@ -97,16 +97,16 @@ sure you intercept while it's running, if you want to debug.
97
97
\section{
98
98
\title{\code{fly intercept}}{fly-intercept}
99
99
100
-
Sometimes it's helpful to connect to the machine where tasks run. This way you
101
-
can either profile or inspect tasks, or see the state of the machine at the
102
-
end of a run. Due to Concourse running tasks in containers on remote
103
-
machines this would typically be hard to access.
100
+
Sometimes it's helpful to connect to the machine where tasks run. This allows you
101
+
to profile or inspect tasks, or see the state of the machine at the
102
+
end of a run. Since Concourse runs tasks in containers on remote
103
+
machines, these would typically be difficult to access.
104
104
105
-
To this end, there is a \code{fly intercept} command that will give you an
105
+
The \code{fly intercept} command gives you an
106
106
interactive shell inside the specified container. Containers are identified
107
-
by a few things, so you may need to specify a few flags to hone down the
108
-
results. If there are multiple containers that the flags could refer to, an
109
-
interactive prompt will show up allowing you to disambiguate.
107
+
by several attributes, so you may need to specify multiple flags to narrow down the
108
+
results. If there are multiple matching containers, an
109
+
interactive prompt will appear allowing you to select one.
110
110
111
111
For example, running the following will run a task and then enter the
112
112
finished task's container:
@@ -118,15 +118,15 @@ sure you intercept while it's running, if you want to debug.
118
118
119
119
\aside{
120
120
When intercepting a task running on a Windows worker, you will need to
121
-
specifically tell fly to to run \code{powershell}:
121
+
specifically tell fly to run \code{powershell}:
122
122
123
123
\codeblock{bash}{{
124
124
$ fly -t example intercept powershell
125
125
}}
126
126
}
127
127
128
-
Containers are around for a short time after a build finishes in order to
129
-
allow people to intercept them.
128
+
Containers remain available for a short time after a build finishes to
129
+
allow for interception.
130
130
131
131
You can also intercept builds that were run in your pipeline. By using
132
132
\code{--job}, \code{--build}, and \code{--step} you can intercept a specific
@@ -138,11 +138,11 @@ sure you intercept while it's running, if you want to debug.
138
138
}}
139
139
140
140
Note that \code{--build} can be omitted, and will default to the most recent
141
-
build of the job. One-off builds can be reached by passing in their build ID
142
-
to \code{--build} which can be found on the build list page.
141
+
build of the job. One-off builds can be reached by passing their build ID
142
+
to \code{--build}, which can be found on the build list page.
143
143
144
-
The \code{--step} flag can also be omitted; this will let you pick the step
145
-
interactively, if you don't know the exact name.
144
+
The \code{--step} flag can also be omitted; this will let you select the step
145
+
interactively if you don't know the exact name.
146
146
147
147
Resource checking containers can also be intercepted with \code{--check} or
148
148
\code{-c}:
@@ -157,7 +157,7 @@ sure you intercept while it's running, if you want to debug.
157
157
current build's task, even as the "current build" changes.
158
158
159
159
The working directory and any relevant environment variables (e.g. those
160
-
having come from \reference{schema.task.params}) used by the original process will
160
+
from \reference{schema.task.params}) used by the original process will
161
161
also be used for the process run by intercept.
162
162
}
163
163
@@ -178,26 +178,26 @@ sure you intercept while it's running, if you want to debug.
178
178
\title{\code{fly watch}}{fly-watch}
179
179
180
180
Concourse emits streaming colored logs on the website, but it can be helpful
181
-
to have the logs available to the command line (e.g. so that they can be
181
+
to have the logs available in the command line (e.g. so they can be
182
182
processed by other commands).
183
183
184
-
The \code{watch} command can be used to do just this. You can also view
184
+
The \code{watch} command can be used for this purpose. You can view
185
185
builds that are running in your pipeline, or builds that have already
186
186
finished.
187
187
188
188
Note that unlike \reference{fly-execute}, killing \code{fly watch} via
189
189
\code{SIGINT} or \code{SIGTERM} will \italic{not} abort the build.
190
190
191
-
To watch the most recent one-off build, just run \code{fly watch} with no
192
-
arguments. To watch a specific build (one-off or no), pass \code{--build}
191
+
To watch the most recent one-off build, run \code{fly watch} with no
192
+
arguments. To watch a specific build (one-off or not), pass \code{--build}
193
193
with the ID of the build to watch. This ID is available at the start of
194
194
\reference{fly-execute}'s output or by browsing to the builds list in the web
195
195
UI.
196
196
197
-
By using the \code{--job} and \code{--build} flags you can pick out a
197
+
By using the \code{--job} and \code{--build} flags, you can select a
198
198
specific build of a job to watch. For example, the following command will
199
-
either show the archived logs for an old build, if it has finished running, or
200
-
it will stream the current logs, if the build is still in progress.
199
+
either show the archived logs for an old build if it has finished running, or
200
+
it will stream the current logs if the build is still in progress.
201
201
202
202
\codeblock{bash}{{
203
203
$ fly -t example watch --job my-pipeline/tests --build 52
@@ -206,5 +206,7 @@ sure you intercept while it's running, if you want to debug.
206
206
If the \code{--job} flag is specified and \code{--build} is omitted, the most
207
207
recent build of the specified job will be selected.
208
208
209
-
If there is a mismatch between the \code{fly} and \code{web} versions, it is possible to run into \code{failed to parse next event: unknown event type} error. The \code{--ignore-event-parsing-errors} flag can be passed to ignore such errors.
210
-
}
209
+
If there is a mismatch between the \code{fly} and \code{web} versions, you may encounter
210
+
a \code{failed to parse next event: unknown event type} error. The \code{--ignore-event-parsing-errors}
0 commit comments