Skip to content

Commit f3c2554

Browse files
committed
added editorconfug and gitattributes
Signed-off-by: Paul Schultz <[email protected]>
1 parent 61625e8 commit f3c2554

File tree

6 files changed

+109
-6
lines changed

6 files changed

+109
-6
lines changed

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true

.gitattributes

+95
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# source code
2+
*.php eol=lf
3+
*.css eol=lf
4+
*.sass eol=lf
5+
*.scss eol=lf
6+
*.less eol=lf
7+
*.styl eol=lf
8+
*.js eol=lf
9+
*.ts eol=lf
10+
*.jsx eol=lf
11+
*.tsx eol=lf
12+
*.coffee eol=lf
13+
*.json eol=lf
14+
*.htm eol=lf
15+
*.html eol=lf
16+
*.xml eol=lf
17+
*.svg eol=lf
18+
*.txt eol=lf
19+
*.ini eol=lf
20+
*.inc eol=lf
21+
*.pl eol=lf
22+
*.rb eol=lf
23+
*.py eol=lf
24+
*.scm eol=lf
25+
*.sql eol=lf
26+
*.sh eol=lf
27+
*.bat eol=lf
28+
*.go eol=lf
29+
30+
# templates
31+
*.ejs eol=lf
32+
*.hbt eol=lf
33+
*.jade eol=lf
34+
*.haml eol=lf
35+
*.hbs eol=lf
36+
*.dot eol=lf
37+
*.tmpl eol=lf
38+
*.phtml eol=lf
39+
40+
# server config
41+
.htaccess eol=lf
42+
43+
# git config
44+
.gitattributes eol=lf
45+
.gitignore eol=lf
46+
.gitconfig eol=lf
47+
48+
# code analysis config
49+
.jshintrc eol=lf
50+
.jscsrc eol=lf
51+
.jshintignore eol=lf
52+
.csslintrc eol=lf
53+
54+
# misc config
55+
*.yaml eol=lf
56+
*.yml eol=lf
57+
.editorconfig eol=lf
58+
59+
# build config
60+
*.npmignore eol=lf
61+
*.bowerrc eol=lf
62+
63+
# Heroku
64+
Procfile eol=lf
65+
.slugignore eol=lf
66+
67+
# Documentation
68+
*.md eol=lf
69+
LICENSE eol=lf
70+
AUTHORS eol=lf
71+
72+
#
73+
## These files are binary and should be left untouched
74+
#
75+
76+
# (binary is a macro for -eol=lf -diff)
77+
*.png binary
78+
*.jpg binary
79+
*.jpeg binary
80+
*.gif binary
81+
*.ico binary
82+
*.mov binary
83+
*.mp4 binary
84+
*.mp3 binary
85+
*.flv binary
86+
*.fla binary
87+
*.swf binary
88+
*.gz binary
89+
*.zip binary
90+
*.7z binary
91+
*.ttf binary
92+
*.eot binary
93+
*.woff binary
94+
*.pyc binary
95+
*.pdf binary

.github/workflows/validate-devfiles.yaml

+1-4
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,7 @@ jobs:
8181
- name: Check odo version
8282
run: odo version
8383
- name: Check the devfile stacks with odo v3
84-
run: |
85-
tests/check_odov3.sh \
86-
--skip="stack: java-openliberty" \
87-
--skip="stack: java-websphereliberty" \
84+
run: tests/check_odov3.sh
8885

8986
odov2:
9087
name: with odo v2

stacks/dotnet50/devfile.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ metadata:
1010
- .NET
1111
version: 1.0.3
1212
starterProjects:
13-
- name: dotnet-example
13+
- name: dotnet50-example
1414
git:
1515
checkoutFrom:
1616
remote: origin

stacks/dotnet60/devfile.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ metadata:
1010
- .NET
1111
version: 1.0.2
1212
starterProjects:
13-
- name: dotnet-example
13+
- name: dotnet60-example
1414
git:
1515
checkoutFrom:
1616
remote: origin

tests/check_odov3.sh

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ ginkgo run --procs 2 \
1919
--skip="stack: java-websphereliberty-gradle starter: rest" \
2020
--skip="stack: java-wildfly-bootable-jar" \
2121
--skip="stack: java-wildfly" \
22+
--skip="stack: java-openliberty" \
23+
--skip="stack: java-websphereliberty" \
2224
--slow-spec-threshold 120s \
2325
--timeout 2h \
2426
tests/odov3 -- -stacksDir "$(pwd)"/stacks

0 commit comments

Comments
 (0)