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

feat: openapi lint #152

Merged
merged 51 commits into from
Jan 18, 2024
Merged
Changes from 1 commit
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
dd75543
feat: add earthly check lint openapi
bkioshn Jan 11, 2024
529338b
feat: add build spectral
bkioshn Jan 11, 2024
cb46cdd
test: add example of openapi yml file
bkioshn Jan 11, 2024
45f307b
feat: add spectral yml rule set
bkioshn Jan 11, 2024
54c990f
fix: add word to ignore for cspell
bkioshn Jan 11, 2024
8ac6292
fix: example data
bkioshn Jan 11, 2024
8ab9656
Merge branch 'master' into feat/openapi-lint
bkioshn Jan 11, 2024
d3c8069
test: change branch for testing purpose
bkioshn Jan 11, 2024
2618c4b
fix: mod wildcard regex to match multiple hyphen
bkioshn Jan 11, 2024
4b90eab
test: local ci test
bkioshn Jan 11, 2024
e2f72c6
test: error openapi lint
bkioshn Jan 11, 2024
939f350
Merge branch 'master' into feat/openapi-lint
bkioshn Jan 11, 2024
a12a02d
fix: spectral so it can handle json linting
bkioshn Jan 12, 2024
550174c
feat: add minify json bash
bkioshn Jan 12, 2024
9fbbc5e
fix: change example to json format
bkioshn Jan 12, 2024
2da70d1
fix: bash format
bkioshn Jan 12, 2024
d604a11
fix: update minify json cmd
bkioshn Jan 12, 2024
d4b8f57
fix: var
bkioshn Jan 12, 2024
e6157c0
fix: var
bkioshn Jan 12, 2024
05c2613
fix: [] to [[]]
bkioshn Jan 12, 2024
a538c7d
fix: format shell
bkioshn Jan 12, 2024
d067f6a
fix: exec shell cmd
bkioshn Jan 12, 2024
33428c3
fix: shell shebang
bkioshn Jan 12, 2024
d0a6390
fix: use new ci
bkioshn Jan 12, 2024
99b7fd1
fix: ci cli version to 2.2.3
bkioshn Jan 12, 2024
5a531ed
fix: copy shell script
bkioshn Jan 12, 2024
536a79d
test: try create artifact
bkioshn Jan 13, 2024
a7c626a
fix: add file type
bkioshn Jan 13, 2024
4676fea
chore: add documentation
bkioshn Jan 13, 2024
31db21b
fix: syntax
bkioshn Jan 13, 2024
d133334
Merge branch 'master' into feat/openapi-lint
bkioshn Jan 13, 2024
98bc1a0
fix: spectral function
bkioshn Jan 13, 2024
550d8bc
fix: remove base spectral
bkioshn Jan 13, 2024
27f4cbc
fix: create spectral base
bkioshn Jan 13, 2024
78edb61
test: add ls for tesing
bkioshn Jan 13, 2024
5f816e9
fix(openapi): no warning produce from linter
bkioshn Jan 15, 2024
618e894
fix(cspell): replace Lorem ipsum
bkioshn Jan 15, 2024
6e0d17d
fix: copy dir to scan
bkioshn Jan 15, 2024
4e31234
fix: envi conflict
bkioshn Jan 15, 2024
d460ce0
fix (spectral): make ignore rules an example
bkioshn Jan 15, 2024
6052167
fix(spectral): remove workdir
bkioshn Jan 15, 2024
210d2f5
fix(spectral): add work dir on spectral base
bkioshn Jan 16, 2024
2e74c5b
fix(openapi): example
bkioshn Jan 16, 2024
24a94fc
test (spectral): remove copy dir
bkioshn Jan 16, 2024
e3a7a10
fix(spectral): clean up
bkioshn Jan 16, 2024
73d76ec
fix(spectral): clean up
bkioshn Jan 16, 2024
544f7ae
fix(doc): update spectral document
bkioshn Jan 16, 2024
9a159f5
fix(workflow): change branch to master
bkioshn Jan 16, 2024
d27baf3
fix(openapi): example operationId
bkioshn Jan 16, 2024
3b0ca9e
fix(spectral): add CDN version
bkioshn Jan 16, 2024
2818e2d
Merge branch 'master' into feat/openapi-lint
bkioshn Jan 18, 2024
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
Prev Previous commit
Next Next commit
Merge branch 'master' into feat/openapi-lint
bkioshn committed Jan 11, 2024
commit 939f350499eece18843ada857926a30fda2c68b6
1 change: 1 addition & 0 deletions cli/pkg/scanners/file_scanner_test.go
Original file line number Diff line number Diff line change
@@ -114,6 +114,7 @@ var _ = Describe("FileScanner", func() {
Entry("scanning 'docker', target in file is 'docker'", "docker", "docker"),
Entry("scanning 'docker-*', target in file is 'docker-test'", "docker-*", "docker-test"),
Entry("scanning 'docker-*', target in file is 'docker-test-test2'", "docker-*", "docker-test-test2"),
Entry("scanning 'docker-*', target in file is 'docker-test-test2-test3'", "docker-*", "docker-test-test2-test3"),
)
DescribeTable("when Earthfile contain no target",
func(target string) {
You are viewing a condensed version of this merge commit. You can view the full changes here.