Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #22 from irgalamarr/cd-pipeline
Browse files Browse the repository at this point in the history
added link task
  • Loading branch information
irgalamarr authored Dec 17, 2023
2 parents e5cf771 + 545fb2d commit 0f15708
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions tekton/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,17 @@ spec:
value: $(params.branch)
runAfter:
- init

- name: lint
workspaces:
- name: source
workspace: pipeline-workspace
taskRef:
name: flake8
params:
- name: image
value: "python:3.9-slim"
- name: args
value: ["--count","--max-complexity=10","--max-line-length=127","--statistics"]
runAfter:
- clone
2 changes: 1 addition & 1 deletion tests/test_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def test_security_headers(self):
}
for key, value in headers.items():
self.assertEqual(response.headers.get(key), value)

def test_cors_security(self):
"""It should return a CORS header"""
response = self.client.get('/', environ_overrides=HTTPS_ENVIRON)
Expand Down

0 comments on commit 0f15708

Please sign in to comment.