Skip to content

Commit 3ba0cd7

Browse files
committed
Update flux lab for new sample app repo structure
1 parent 323197d commit 3ba0cd7

File tree

2 files changed

+1
-3
lines changed
  • manifests/modules/automation/gitops/flux
  • website/docs/automation/gitops/flux

2 files changed

+1
-3
lines changed

manifests/modules/automation/gitops/flux/buildspec.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ phases:
1818
- echo Building a container image ...
1919
- component=ui
2020
- component_dir="./src/$component"
21-
- source "$component_dir/scripts/build.source"
2221
- cd $component_dir
23-
- docker build -f $dockerfile $docker_build_args -t $ECR_URI:$IMAGE_TAG .
22+
- docker build -t $ECR_URI:$IMAGE_TAG .
2423
- docker tag $ECR_URI:$IMAGE_TAG $ECR_URI:$IMAGE_TAG_I
2524
- docker images
2625
post_build:

website/docs/automation/gitops/flux/ci.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Next, populate the CodeCommit repository with the sources from the public reposi
2121
$ git clone https://github.com/aws-containers/retail-store-sample-app ~/environment/retail-store-sample-app
2222
$ git -C ~/environment/retail-store-sample-codecommit checkout -b main
2323
$ cp -R ~/environment/retail-store-sample-app/src ~/environment/retail-store-sample-codecommit
24-
$ cp -R ~/environment/retail-store-sample-app/images ~/environment/retail-store-sample-codecommit
2524
```
2625

2726
We use AWS CodeBuild and define `buildspec.yml` to build new `x86_64` and `arm64` images in parallel.

0 commit comments

Comments
 (0)