Skip to content

Commit

Permalink
Merge pull request #81 from redhat-appstudio/dont-mirror-tests
Browse files Browse the repository at this point in the history
Do not mirror tests and examples from upstream
  • Loading branch information
chmeliik authored Jul 12, 2024
2 parents 33d06f3 + f0d4b33 commit 253521d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hack/generate-downstream.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/bash
set -o errexit -o nounset -o pipefail

# enable recursive globbing with **
shopt -s globstar

SCRIPTDIR=$(dirname "$(realpath "${BASH_SOURCE[0]}")")
source "$SCRIPTDIR/lib.sh"

Expand Down Expand Up @@ -63,6 +66,9 @@ trap 'git checkout - >/dev/null' EXIT
git rm -r .github/
git commit -s -m "Remove unwanted CI setup"

git rm -r -- examples **/test-fixtures **/*_test.go
git commit -s -m "Remove fluff to avoid SAST false positives"

apply_midstream_changes "$MIDSTREAM_BRANCH"
git commit -s -m "Apply Red Hat specific modifications"

Expand Down

0 comments on commit 253521d

Please sign in to comment.