Comments (13)
For a full CI/CD we'll also need a way to upload to OJO.
We'll need an Artifactory deployer service account with permissions to the helm repo only.
We can manage this account's creds in Jenkins. Along with many other Artifactory service accounts we manage there today.
It will be very easy to use it to upload a packaged helm chart.
Need to pack only after a travisci+kermit flow are passing.
Let me know what you think.
from charts.
we can skip minikube and do all in jenkins, but I like to run it in minikube chart_test.sh --no-install
so the linting is done by travisci.
then jenkins with chart_test.sh --no-lint
will install/test/remove charts on our k8s cluster
from charts.
Proposed testing for each PR using TravisCI/Jenkins:
TravisCI
- install minikube
- run
chart_test.sh
from https://github.com/helm/chart-testing with lint, which will lint only changed chart/s.
Jenkins
- if all above tests get passed then run kermit tests for changed charts.
from charts.
@rimusz Sounds good!
from charts.
@eldada can minikube be run in background?
if that is possible then we can use:
$ docker run --rm -v "$(pwd):/workdir" --workdir /workdir gcr.io/kubernetes-charts-ci/chart-testing:v1.0.3 chart_test.sh --config .mikikube_config
Which also then takes care of kubectl
and helm
clients https://github.com/helm/chart-testing/blob/master/Dockerfile#L45 and https://github.com/helm/chart-testing/blob/master/Dockerfile#L51
from charts.
Yes @rimusz . Minikube is run in the background with the --vm-driver=none
option. Just needs Docker installed.
from charts.
no, worries, got all working with TravisCI
from charts.
Testing for each PR using TravisCI/Jenkins:
TravisCI
- install minikube
- run
chart_test.sh --no-install
from https://github.com/helm/chart-testing, which will only lint changed chart/s. - if tests get passed then trigger Jenkins
Jenkins
- run jenkins job with
chart_test.sh --no-lint
from https://github.com/helm/chart-testing, which will only install and test changed chart/s. - run kermit tests for changed charts (replaces test above when all kermit tests are ready to use)
- trigger Jenkins job manually to pack and deploy charts to OJO
from charts.
@rimusz , if we use --no-install
, do we sill need to install minikube?
from charts.
but if we encounter problems of integrating travisci + jenkins, then we can set chart_test.sh
full testing in jenkins only
from charts.
Do we still need this open? I think we have a good dev + ci process in place. We should tune it as needed as part of a continuous learning process.
from charts.
we can close this one
from charts.
@rimusz @eldada If it's working with forks then we can close this.
from charts.
Related Issues (20)
- Upgrade jfrog-platform to fix security issue JA-7492 HOT 1
- artifactory-oss router does not start, reports 'Missing required services: [jfrt jfob jffe]' HOT 2
- Deploying Artifactory Pro with Helm Chart on GKE - HTTP 405 Docker HOT 2
- login with oauth error - Binding token to existing user HOT 1
- Cannot write to /opt/jfrog/router/app/router/router.pid: Permission denied HOT 13
- [FATAL] Cluster join: Failed resolving join key: failed resolving 'shared.security.joinKey' key; file does not exist: /opt/jfrog/router/var/etc/security/join.key HOT 1
- production incident: Nginx new port setup is broken HOT 4
- NGINX pod wont start after applying the latest Helm chart HOT 3
- 2024-03-08T12:01:49.328Z [36m[jfrou][0m [34m[INFO ][0m [6c11dd5ef278b11f] [security_keys.go:185 ] [main ] [] - Cluster join: Join key is missing. Pending for 150 seconds with 5m0s timeout Terminate signal received, attempting a graceful shutdown (264) HOT 1
- Configuring a Postgresql External Database results in an infinite wait for the master key until CrashLoopBackOff HOT 2
- Can you tell me to access through s3, then where should I fill in my ak and sk HOT 4
- Invalid Stateful set label created if using non-default image registry port
- Option for persistentVolumeClaimRetentionPolicy
- Install Jfrog pipelines with a pre-existing Vault is failing during init phase HOT 3
- StatefulSet artifactory-ha-jfrog-deployme-artifactory-ha-member failed. Not found: "gcpcreds-json" HOT 2
- Circle of Trust certificates gets deleted after the pods are up HOT 2
- Question: Jfrog-Platform chart for Artifactory 7.77.11
- wrong copy-circle-of-trust-certificates imagePullPolicy configuration HOT 6
- Shouldn't fullname be used for the new artifactory-unified-secret? HOT 3
- Artifactory HA broken on 7.84.10 release HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.