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
{{ message }}
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: content/en/user-guide/aws/codebuild/index.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ public class MessageUtil {
66
66
}
67
67
```
68
68
69
-
Every build needs some testing!
69
+
Every build needs to be tested.
70
70
Therefore, create the `TestMessageUtil.java` file in the `src/test/java` directory.
71
71
72
72
```java
@@ -160,17 +160,17 @@ artifacts:
160
160
- target/messageUtil-1.0.jar
161
161
```
162
162
163
-
In this file we can observe how actually the build will be executed.
163
+
In this file we can observe how the build will be executed.
164
164
First, we define a runtime version.
165
-
Then, we mostly run a `mvn install` command in the build phase, doing both the compilation and the testing.
165
+
Then, we run a `mvn install` command in the build phase which does both the compilation and the testing.
166
166
The pre and post build phases do not do much in this example, but can be used for various things, like install some software needed for the build itself.
167
167
168
-
A full specification of a `buildspec` file can be found in the [docs](https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html).
168
+
A full specification of a `buildspec` file can be found in the [AWS CodeBuild docs](https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html).
169
169
170
170
### Create input and output buckets
171
171
172
172
Now we have to create two S3 buckets:
173
-
- one bucket that stores the source we just created, that will be the source of the AWS CodeBuild build;
173
+
- one bucket that stores the source we just created, that will be the source of the AWS CodeBuild build
174
174
- one bucket where the output of the build, i.e., the JAR file, will be stored.
175
175
176
176
Create the buckets with the following commands:
@@ -323,7 +323,7 @@ Similarly, fill in the ARN of the CodeBuild service role.
323
323
}
324
324
```
325
325
326
-
Create now the project with the following command:
326
+
Now create the project with the following command:
Make note of the `id` information given in output, since it can be used to query the status of the build.
348
-
If you inspect the running containers (e.g., with the `docker ps -a` command), you will notice a container with the `localstack-codebuild` prefix (followed by the ID of the build), which CodeBuild started to execute the build.
348
+
If you inspect the running containers (e.g., with the `docker ps -a` command), you will notice a container with the `localstack-codebuild` prefix (followed by the build ID), which CodeBuild started to execute the build.
349
349
This container will be responsible to start a Docker compose stack that executes the actual build.
350
350
351
351
As said, you can inspect the status of the build with the following command:
@@ -359,7 +359,7 @@ A build has a `buildStatus` attribute that will be set to `SUCCEEDED` if the bui
359
359
360
360
{{< callout >}}
361
361
Each build goes through different phases, each of them having a start and end time, as well as a status.
362
-
LocalStack does not provided such a granular information.
362
+
LocalStack does not provided such granular information.
363
363
Currently, it reports only the final status of the build.
0 commit comments