Skip to content

Commit

Permalink
Update workflow to remove lint as there is no support from catalog-cd…
Browse files Browse the repository at this point in the history
… tool
  • Loading branch information
savitaashture committed Apr 2, 2024
1 parent cb1bebe commit 6033ebb
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,51 +13,11 @@ concurrency:
cancel-in-progress: true

jobs:

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true

# Install Catlin linting tool
- name: Install linting tools
run: |
set -Eeu
GOBIN=/usr/local/bin/ go install github.com/openshift-pipelines/tektoncd-catalog/cmd/catalog-cd@latest
git clone https://github.com/tektoncd/catlin
cd catlin
make bin/catlin
sudo cp bin/catlin /usr/local/bin
catlin --help
catalog-cd --help
# run Catlin linting
- name: Run Catlin linting
run: |
set -Eeu
helm template task-oc . > task-oc.yaml
cat task-oc.yaml
catlin validate task-oc.yaml || true
helm template task-tkn . > task-tkn.yaml
cat task-tkn.yaml
catlin validate task-tkn.yaml || true
- name: Run catalog-cd lint
run: |
set -Eeu
helm template task-oc . > task-oc.yaml
catalog-cd lint task-oc.yaml
helm template task-tkn . > task-tkn.yaml
catalog-cd lint task-tkn.yaml
test-e2e:
strategy:
fail-fast: false # Keep running if one leg fails.
matrix:
pipeline-version:
- v0.44.5
- v0.47.5
- v0.50.5
- v0.53.3
Expand Down

0 comments on commit 6033ebb

Please sign in to comment.