Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/web/react-codemirr…
Browse files Browse the repository at this point in the history
…or2-8.0.0
  • Loading branch information
cynthia-sg authored Oct 8, 2024
2 parents ed83e37 + 36823bf commit 70a6242
Show file tree
Hide file tree
Showing 175 changed files with 6,143 additions and 3,835 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ updates:
interval: "weekly"
ignore:
- dependency-name: "node"
versions: ["19-alpine3.19", "20-alpine3.19", "21-alpine3.19", "22-alpine3.19"]
versions: ["19-alpine3.19", "20-alpine3.19", "21-alpine3.19", "22-alpine3.19", "22-alpine3.20"]

- package-ecosystem: "docker"
directory: "/cmd/scanner"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-20.04
steps:
- name: Free disk space
uses: jlumbroso/free-disk-space@main
- name: Checkout code
uses: actions/checkout@v4
- name: Configure AWS credentials
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.58.1
version: v1.61.0
args: --timeout 10m

linter-openapi:
Expand All @@ -38,7 +38,7 @@ jobs:
with:
fetch-depth: 0
- name: Lint OpenAPI specs
uses: github/super-linter@v6
uses: github/super-linter@v7
env:
FILTER_REGEX_INCLUDE: docs/api/openapi.yaml
MULTI_STATUS: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
- name: Setup Syft
uses: anchore/sbom-action/download-syft@v0
- name: Release Docker images and CLI tool binaries
uses: goreleaser/goreleaser-action@v5
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --rm-dist --timeout 60m
args: release --clean --timeout 60m
env:
GITHUB_TOKEN: ${{ secrets.GHT_RELEASE }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
Expand Down
6 changes: 3 additions & 3 deletions .gitpod/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM gitpod/workspace-postgres

RUN wget https://github.com/aquasecurity/trivy/releases/download/v0.50.1/trivy_0.50.1_Linux-64bit.deb \
&& sudo dpkg -i trivy_0.50.1_Linux-64bit.deb
RUN sudo wget https://github.com/operator-framework/operator-registry/releases/download/v1.39.0/linux-amd64-opm -O /usr/local/bin/opm \
RUN wget https://github.com/aquasecurity/trivy/releases/download/v0.56.1/trivy_0.56.1_Linux-64bit.deb \
&& sudo dpkg -i trivy_0.56.1_Linux-64bit.deb
RUN sudo wget https://github.com/operator-framework/operator-registry/releases/download/v1.47.0/linux-amd64-opm -O /usr/local/bin/opm \
&& sudo chmod +x /usr/local/bin/opm
RUN wget https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.11.0.tar.gz \
&& sudo tar -C /usr/local -xzf libtensorflow-cpu-linux-x86_64-2.11.0.tar.gz \
Expand Down
24 changes: 12 additions & 12 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ release:
Please see the [changelog](https://artifacthub.io/packages/helm/artifact-hub/artifact-hub?modal=changelog) for more details.
changelog:
skip: true
disable: true

snapshot:
name_template: "devel-{{ .ShortCommit }}"
Expand Down Expand Up @@ -116,23 +116,23 @@ brews:
- description: Artifact Hub command line tool
homepage: https://github.com/artifacthub/hub
license: Apache-2.0
tap:
repository:
owner: artifacthub
name: homebrew-cmd
commit_author:
name: artifacthubio
email: hub@artifacthub.io

scoop:
description: Artifact Hub command line tool
homepage: https://github.com/artifacthub/hub
license: Apache-2.0
bucket:
owner: artifacthub
name: scoop-cmd
commit_author:
name: artifacthubio
email: hub@artifacthub.io
scoops:
- description: Artifact Hub command line tool
homepage: https://github.com/artifacthub/hub
license: Apache-2.0
repository:
owner: artifacthub
name: scoop-cmd
commit_author:
name: artifacthubio
email: hub@artifacthub.io

signs:
- artifacts: checksum
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ At the moment, the following artifacts kinds are supported *(with plans to suppo
- [OLM operators](https://github.com/operator-framework)
- [OpenCost plugins](https://www.opencost.io)
- [Open Policy Agent (OPA) policies](https://www.openpolicyagent.org/)
- [Radius Recipes](https://radapp.io)
- [Tekton tasks, pipelines and stepactions](https://tekton.dev/)
- [Tinkerbell actions](https://tinkerbell.org/)

Expand All @@ -49,7 +50,7 @@ You can use Artifact Hub to:

Feel free to ask any questions on the #artifact-hub channel in the CNCF Slack. To get an invite please visit [http://slack.cncf.io/](http://slack.cncf.io/).

Artifact Hub is a [CNCF Sandbox Project](https://www.cncf.io/sandbox-projects/).
Artifact Hub is a [CNCF Incubating Project](https://www.cncf.io/projects/).

<br/>
<table>
Expand Down
55 changes: 28 additions & 27 deletions charts/artifact-hub/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: artifact-hub
description: Artifact Hub is a web-based application that enables finding, installing, and publishing Cloud Native packages.
type: application
version: 1.18.1-0
appVersion: 1.18.0
version: 1.19.1-3
appVersion: 1.19.0
kubeVersion: ">= 1.19.0-0"
home: https://artifacthub.io
icon: https://artifacthub.github.io/helm-charts/logo.png
Expand Down Expand Up @@ -32,6 +32,7 @@ keywords:
- inspektor gadget
- meshery
- opencost
- radius
maintainers:
- name: Sergio
email: tegioz@icloud.com
Expand All @@ -47,49 +48,49 @@ dependencies:
annotations:
artifacthub.io/changes: |
- kind: added
description: Support for Inspektor Gadget gadgets
description: Support for OpenCost plugins
- kind: added
description: Support for Tekton StepActions
description: GitHub flavored alerts in README files
- kind: added
description: Support for Meshery Designs
- kind: added
description: Helm charts values schema badge
- kind: added
description: Sort search results by last updated
- kind: added
description: Display unique vulnerabilities in security report
- kind: added
description: KubeVersion field to Nova data dump
description: ah lint now supports git versioning in Tekton packages
- kind: changed
description: Improve container image tracker source
- kind: changed
description: Artifact Hub description message
description: Sort ah lint output leaving errors at the end
- kind: changed
description: Upgrade grafana dashboard
description: Update homepage for Incubation promotion
- kind: changed
description: Bump Trivy to 0.50.1
description: Improve invalid org name error message
- kind: changed
description: Bump Go to 1.22.2
description: Disable chunked transfer encoding
- kind: changed
description: Bump Alpine to 3.19.1
description: Bump Go to 1.22.4
- kind: changed
description: Bump Alpine to 3.20.1
- kind: changed
description: Upgrade backend and frontend dependencies
- kind: fixed
description: Versions precedence check
description: Issue handling invalid CSRF token in webapp
- kind: fixed
description: Detect versions with build md in Helm OCI repos
- kind: fixed
description: Issue reading Kyverno policy files
- kind: fixed
description: Some input patterns in modals
- kind: fixed
description: Issue selecting values in firefox
- kind: removed
description: Official badge from control panel repository card
description: Issue rendering some values schema definitions
artifacthub.io/containsSecurityUpdates: "true"
artifacthub.io/images: |
- name: db-migrator
image: artifacthub/db-migrator:v1.18.0
image: artifacthub/db-migrator:v1.19.0
- name: hub
image: artifacthub/hub:v1.18.0
image: artifacthub/hub:v1.19.0
- name: tracker
image: artifacthub/tracker:v1.18.0
image: artifacthub/tracker:v1.19.0
- name: scanner
image: artifacthub/scanner:v1.18.0
image: artifacthub/scanner:v1.19.0
- name: trivy
image: aquasec/trivy:0.50.1
image: aquasec/trivy:0.56.1
artifacthub.io/links: |
- name: source
url: https://github.com/artifacthub/hub
Expand Down
6 changes: 4 additions & 2 deletions charts/artifact-hub/templates/db_migrator_job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@ metadata:
"helm.sh/hook-weight": "0"
"helm.sh/hook-delete-policy": before-hook-creation
{{- end }}
{{- with .Values.dbMigrator.job.extraJobLabels }}
labels:
{{- include "chart.labels" . | nindent 4 }}
{{- with .Values.dbMigrator.job.extraJobLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ttlSecondsAfterFinished: {{ .Values.dbMigrator.job.ttlSecondsAfterFinished }}
template:
{{- with .Values.dbMigrator.job.extraPodLabels }}
metadata:
labels:
{{- include "chart.labels" . | nindent 8 }}
{{- with .Values.dbMigrator.job.extraPodLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
Expand Down
2 changes: 2 additions & 0 deletions charts/artifact-hub/templates/db_migrator_secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ include "chart.resourceNamePrefix" . }}db-migrator-config
labels:
{{- include "chart.labels" . | nindent 4 }}
type: Opaque
stringData:
tern.conf: |-
Expand Down
3 changes: 3 additions & 0 deletions charts/artifact-hub/templates/hub_deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ spec:
readinessProbe:
{{- toYaml .Values.hub.deploy.readinessProbe | nindent 12}}
{{- end }}
{{- if .Values.hub.deploy.extraContainers }}
{{- include "chart.tplvalues.render" (dict "value" .Values.hub.deploy.extraContainers "context" $) | nindent 8 }}
{{- end }}
volumes:
- name: hub-config
secret:
Expand Down
4 changes: 4 additions & 0 deletions charts/artifact-hub/templates/hub_rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: {{ include "chart.resourceNamePrefix" . }}job-reader
labels:
{{- include "chart.labels" . | nindent 4 }}
rules:
- apiGroups: ["batch"]
resources: ["jobs"]
Expand All @@ -12,6 +14,8 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: {{ include "chart.resourceNamePrefix" . }}hub-job-reader
labels:
{{- include "chart.labels" . | nindent 4 }}
subjects:
- kind: ServiceAccount
name: {{ include "chart.resourceNamePrefix" . }}hub
Expand Down
2 changes: 2 additions & 0 deletions charts/artifact-hub/templates/hub_secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ include "chart.resourceNamePrefix" . }}hub-config
labels:
{{- include "chart.labels" . | nindent 4 }}
type: Opaque
stringData:
hub.yaml: |-
Expand Down
2 changes: 2 additions & 0 deletions charts/artifact-hub/templates/hub_serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "chart.serviceAccountName" . }}
labels:
{{- include "chart.labels" . | nindent 4 }}
automountServiceAccountToken: {{ .Values.hub.serviceAccount.automountServiceAccountToken }}
{{- end }}
6 changes: 4 additions & 2 deletions charts/artifact-hub/templates/scanner_cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: {{ include "chart.resourceNamePrefix" . }}scanner
{{- with .Values.scanner.cronjob.extraCronJobLabels }}
labels:
{{- include "chart.labels" . | nindent 4 }}
{{- with .Values.scanner.cronjob.extraCronJobLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
Expand All @@ -19,9 +20,10 @@ spec:
jobTemplate:
spec:
template:
{{- with .Values.scanner.cronjob.extraJobLabels }}
metadata:
labels:
{{- include "chart.labels" . | nindent 12 }}
{{- with .Values.scanner.cronjob.extraJobLabels }}
{{- toYaml . | nindent 12 }}
{{- end }}
spec:
Expand Down
2 changes: 2 additions & 0 deletions charts/artifact-hub/templates/scanner_secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ include "chart.resourceNamePrefix" . }}scanner-config
labels:
{{- include "chart.labels" . | nindent 4 }}
type: Opaque
stringData:
scanner.yaml: |-
Expand Down
6 changes: 4 additions & 2 deletions charts/artifact-hub/templates/tracker_cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ apiVersion: batch/v1beta1
kind: CronJob
metadata:
name: {{ include "chart.resourceNamePrefix" . }}tracker
{{- with .Values.tracker.cronjob.extraCronJobLabels }}
labels:
{{- include "chart.labels" . | nindent 4 }}
{{- with .Values.tracker.cronjob.extraCronJobLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
Expand All @@ -18,9 +19,10 @@ spec:
jobTemplate:
spec:
template:
{{- with .Values.tracker.cronjob.extraJobLabels }}
metadata:
labels:
{{- include "chart.labels" . | nindent 12 }}
{{- with .Values.tracker.cronjob.extraJobLabels }}
{{- toYaml . | nindent 12 }}
{{- end }}
spec:
Expand Down
2 changes: 2 additions & 0 deletions charts/artifact-hub/templates/tracker_secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ apiVersion: v1
kind: Secret
metadata:
name: {{ include "chart.resourceNamePrefix" . }}tracker-config
labels:
{{- include "chart.labels" . | nindent 4 }}
type: Opaque
stringData:
tracker.yaml: |-
Expand Down
2 changes: 2 additions & 0 deletions charts/artifact-hub/templates/trivy_pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: {{ include "chart.resourceNamePrefix" . }}trivy
labels:
{{- include "chart.labels" . | nindent 4 }}
spec:
accessModes:
- ReadWriteOnce
Expand Down
1 change: 1 addition & 0 deletions charts/artifact-hub/values-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ tracker:
requests:
cpu: 2
memory: 4000Mi
repositoryTimeout: 25m

trivy:
deploy:
Expand Down
Loading

0 comments on commit 70a6242

Please sign in to comment.