Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: sync yarn.lock to use the same dependencies as upstream #80

Merged
merged 2 commits into from
Oct 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion build/scripts/sync-chectl-to-crwctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,16 @@ pushd "${SOURCEDIR}" >/dev/null
done < <(find src test installers configs prepare-che-operator-templates.js package.json .ci/obfuscate/gnirts.js .eslintrc.js -type f -name "*" -print0) # include package.json in here too
popd >/dev/null

# copy extra files without sed
# CRW-2312 include yarn.lock to have the same dependencies as chectl
echo "[INFO] Copy yarn.lock"
cp -f "${SOURCEDIR}/yarn.lock" "${TARGETDIR}/yarn.lock"

# Remove files
pushd "${TARGETDIR}" >/dev/null
while IFS= read -r -d '' d; do
echo "[INFO] Delete ${d#./}"
rm -f "$d"
#
done < <(find . -regextype posix-extended -iregex '.+/(helm|minishift|minishift-addon|minikube|microk8s|k8s|docker-desktop)(.test|).ts' -print0)
popd >/dev/null

Expand Down
Loading