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

fix(ci): improve lint and testing - WIP #523

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion charts/nextcloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: nextcloud
version: 4.5.19
version: 4.5.20
appVersion: 28.0.2
description: A file sharing server that puts the control and security of your own data back into your hands.
keywords:
Expand Down
21 changes: 21 additions & 0 deletions charts/nextcloud/ci/ct-all-enabled-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
metrics:
enabled: true
serviceMonitor:
enabled: true

nextcloud:
configs:
my.config.php: |-
<?php

image:
flavor: fpm
nginx:
enabled: true
config:
custom: |-
server {
listen 8080;
server_name tmp-server;
root /tmp;
}
Empty file.
60 changes: 60 additions & 0 deletions charts/nextcloud/ci/ct-specials-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
metrics:
enabled: true
image:
pullSecrets:
- "registry-pull"
podAnnotations:
fakeVersion: unreleased
podLabels:
team: cool
resources:
requests:
memory: 100Mi
service:
type: LoadBalancer
loadBalancerIP: 100.64.0.1
annotations:
fakeVersion: unreleased
labels:
team: cool
serviceMonitor:
enabled: true
namespace: "somewhere-else"
labels:
prometheus: default
interval: "20s"
scrapeTimeout: "15s"
namespaceSelector:
- "default"

nextcloud:
configs:
my.config.php: |-
<?php

phpConfigs:
redis.ini: |-
session.save_handler = redis
session.save_path = "tcp://host1:6379?weight=1, tcp://host2:6379?weight=2&timeout=2.5"

image:
flavor: fpm

nginx:
enabled: true
config:
default: false
# without default chart-testing needs to call /status.php for healthy probe
custom: |-
upstream php-handler {
server 127.0.0.1:9000;
}
server {
listen 80;
root /var/www/html;
location ~ \.php(?:$|/) {
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_pass php-handler;
}
}
Loading