Skip to content

Commit

Permalink
Update flux lab for new sample app repo structure
Browse files Browse the repository at this point in the history
  • Loading branch information
niallthomson committed Jul 21, 2024
1 parent 1825c5c commit 73a4de8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions manifests/modules/automation/gitops/flux/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ phases:
- echo Building a container image ...
- component=ui
- component_dir="./src/$component"
- source "$component_dir/scripts/build.source"
- cd $component_dir
- docker build -f $dockerfile $docker_build_args -t $ECR_URI:$IMAGE_TAG .
- docker build -t $ECR_URI:$IMAGE_TAG .
- docker tag $ECR_URI:$IMAGE_TAG $ECR_URI:$IMAGE_TAG_I
- docker images
post_build:
Expand Down
1 change: 0 additions & 1 deletion website/docs/automation/gitops/flux/ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Next, populate the CodeCommit repository with the sources from the public reposi
$ git clone https://github.com/aws-containers/retail-store-sample-app ~/environment/retail-store-sample-app
$ git -C ~/environment/retail-store-sample-codecommit checkout -b main
$ cp -R ~/environment/retail-store-sample-app/src ~/environment/retail-store-sample-codecommit
$ cp -R ~/environment/retail-store-sample-app/images ~/environment/retail-store-sample-codecommit
```

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

0 comments on commit 73a4de8

Please sign in to comment.