Skip to content

Commit

Permalink
Include js/css files into static folder (istio#12983)
Browse files Browse the repository at this point in the history
* Include js/css files

Signed-off-by: Chun Lin Yang <[email protected]>

* Append version to file

Signed-off-by: Chun Lin Yang <[email protected]>

* ignore assets.gen.go in code coverage

Signed-off-by: Chun Lin Yang <[email protected]>

* remove assets.gen.go from codecov test

Signed-off-by: clyang82 <[email protected]>

* remove skipped test from .cov file

Signed-off-by: Chun Lin Yang <[email protected]>

* fix check chell issue

Signed-off-by: Chun Lin Yang <[email protected]>

* fix shell check issue

Signed-off-by: Chun Lin Yang <[email protected]>
  • Loading branch information
clyang82 authored and istio-testing committed Apr 15, 2019
1 parent bc8ba37 commit 4e8618d
Show file tree
Hide file tree
Showing 36 changed files with 4,081 additions and 4,261 deletions.
1 change: 0 additions & 1 deletion .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ coverage:
- "release/"
- "samples/"
- "**/prow/"

10 changes: 10 additions & 0 deletions bin/codecov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ function code_coverage() {
echo "${1}" | tee "${COVERAGEDIR}/${filename}.err"
fi
fi

#remove skipped tests from .cov file
remove_skipped_tests_from_cov "${COVERAGEDIR}/${filename}.cov"
}

function wait_for_proc() {
Expand All @@ -100,6 +103,13 @@ function parse_skipped_tests() {
done < "${CODECOV_SKIP}"
}

function remove_skipped_tests_from_cov() {
while read -r entry; do
entry="$(echo "${entry}" | sed 's/\//\\\//g')"
sed -i "/${entry}/d" "$1"
done < "${CODECOV_SKIP}"
}

cd "${ROOTDIR}"

parse_skipped_tests
Expand Down
4 changes: 4 additions & 0 deletions codecov.skip
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ istio.io/istio/mixer/template/sample
istio.io/istio/mixer/tools/codegen
istio.io/istio/mixer/tools/adapterlinter
istio.io/istio/pilot/test
istio.io/istio/pkg/ctrlz/assets
istio.io/istio/pkg/ctrlz/topics/assets
istio.io/istio/pkg/mcp/configz/client/assets
istio.io/istio/pkg/mcp/configz/server/assets
istio.io/istio/pkg/mcp/testing
istio.io/istio/pkg/test
istio.io/istio/samples
Expand Down
Loading

0 comments on commit 4e8618d

Please sign in to comment.