Skip to content

Commit

Permalink
Merge pull request #84 from ArthurVardevanyan/dep-2
Browse files Browse the repository at this point in the history
chore(Base Image): Update
  • Loading branch information
ArthurVardevanyan authored Dec 23, 2024
2 parents 240e977 + 5ad7b76 commit c930415
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .tekton/analytics-for-spotify-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,6 @@ spec:
params:
- name: IMAGE
value: $(params.IMAGE)
workspaces:
- name: data
workspace: data

serviceAccountName: pipeline
workspaces:
Expand Down
18 changes: 17 additions & 1 deletion .tekton/base-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ metadata:
pipelinesascode.tekton.dev/target-namespace: "analytics-for-spotify"
pipelinesascode.tekton.dev/task-1: "https://raw.githubusercontent.com/ArthurVardevanyan/HomeLab/main/tekton/tasks/git-clone/0.9.1/git-clone.yaml"
pipelinesascode.tekton.dev/task-2: "https://raw.githubusercontent.com/ArthurVardevanyan/HomeLab/main/tekton/tasks/buildah/0.7.1/buildah.yaml"
pipelinesascode.tekton.dev/task-3: "https://raw.githubusercontent.com/ArthurVardevanyan/HomeLab/main/tekton/base/clair-action/clair-action-task.yaml"
spec:
params:
- name: git-url
Expand All @@ -35,6 +36,11 @@ spec:
type: string
default: ./Dockerfile

results:
- description: The common vulnerabilities and exposures (CVE) result
name: SCAN_OUTPUT
value: $(tasks.clair-action.results.SCAN_OUTPUT)

workspaces:
- name: data
- name: git_auth_secret
Expand Down Expand Up @@ -70,6 +76,16 @@ spec:
- name: source
workspace: data

- name: clair-action
runAfter:
- buildah
taskRef:
name: clair-action
kind: Task
params:
- name: IMAGE
value: $(params.IMAGE)

serviceAccountName: pipeline
workspaces:
- name: data
Expand All @@ -84,7 +100,7 @@ spec:
resources:
requests:
storage: "100Mi"
storageClassName: rook-ceph-block
storageClassName: rook-ceph-block-ci
- name: git_auth_secret
secret:
secretName: "{{ git_auth_secret }}"
2 changes: 1 addition & 1 deletion container/containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:sid-slim@sha256:2eac978892d960f967fdad9a5387eb0bf5addfa3fab7f6fa09a00e0adff7975d
FROM debian:sid-20241202-slim@sha256:2eac978892d960f967fdad9a5387eb0bf5addfa3fab7f6fa09a00e0adff7975d

RUN echo "deb http://deb.debian.org/debian/ sid main" >> /etc/apt/sources.list && \
echo "deb-src http://deb.debian.org/debian/ sid main" >> /etc/apt/sources.list && \
Expand Down

0 comments on commit c930415

Please sign in to comment.