Skip to content

Commit

Permalink
Sync the e2e folder when updating the template (#728)
Browse files Browse the repository at this point in the history
## Ticket

Resolves #727

## Changes

Adds `e2e` to the list of folders to install / update

## Context for reviewers

You can see the issue by looking at the different between these two
commits

[template-infra
commit](48c7656)
[platform-test
commit](navapbc/platform-test@8fcbbae#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52)

The platform test commit is missing the `e2e` folder

## Testing

I haven't tested this, since the change is small enough that it doesn't
seem worthwhile to do a standalone test for it. LMK if you disagree,
though.
  • Loading branch information
coilysiren authored Aug 9, 2024
1 parent 48c7656 commit 409f6aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions template-only-bin/install-template
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ cp -r \
bin \
docs \
infra \
e2e \
Makefile \
.dockleconfig \
.gitignore \
Expand Down
2 changes: 1 addition & 1 deletion template-only-bin/update-template
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ git checkout "${target_version}"
target_version_hash=$(git rev-parse HEAD)

# Note: Keep this list in sync with the files copied in install-template
git diff "${current_version}" "${target_version}" --binary -- .github bin docs infra Makefile .dockleconfig .gitignore .grype.yml .hadolint.yaml .trivyignore .terraform-version > update.patch
git diff "${current_version}" "${target_version}" --binary -- .github bin docs infra e2e Makefile .dockleconfig .gitignore .grype.yml .hadolint.yaml .trivyignore .terraform-version > update.patch
cd -

echo "Applying patch"
Expand Down

0 comments on commit 409f6aa

Please sign in to comment.