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

Feature: Add test for enabling redis to ci #604

Open
jessebot opened this issue Jul 26, 2024 · 0 comments
Open

Feature: Add test for enabling redis to ci #604

jessebot opened this issue Jul 26, 2024 · 0 comments
Labels
caching anything to do with redis or opcache CI/CD Anything to do with continuous integration or continuous deployment or release automation. enhancement New feature or request

Comments

@jessebot
Copy link
Collaborator

jessebot commented Jul 26, 2024

Description of the change

I'd like to add an isolated redis test to our CI to ensure this chart works properly with redis. It would go somewhere in here:

test_cases:
# test the plain helm chart with nothing changed
- name: 'Default - no custom values'
# test the helm chart with postgresql subchart enabled
- name: PostgreSQL Enabled
helm_args: '--helm-extra-set-args "--set=postgresql.enabled=true --set=postgresql.global.postgresql.auth.password=testing123456 --set=internalDatabase.enabled=false --set=externalDatabase.enabled=True --set=externalDatabase.type=postgresql --set=externalDatabase.password=testing12345"'
# test the helm chart with nginx container enabled
- name: Nginx Enabled
helm_args: '--helm-extra-set-args "--set=image.flavor=fpm --set=nginx.enabled=true"'
# test the helm chart with horizontal pod autoscaling enabled
- name: Horizontal Pod Autoscaling Enabled
helm_args: '--helm-extra-set-args "--set=hpa.enabled=true --set=hpa.minPods=2 --set=hpa.maxPods=3 --set=hpa.targetCPUUtilizationPercentage=75"'

Benefits

Ensure this chart works properly with redis, and will also make sure we catch breaking changes in the bitnami chart, if they happen.

Possible drawbacks

Another test to maintain. 😅

@jessebot jessebot added enhancement New feature or request CI/CD Anything to do with continuous integration or continuous deployment or release automation. caching anything to do with redis or opcache labels Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
caching anything to do with redis or opcache CI/CD Anything to do with continuous integration or continuous deployment or release automation. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant