Skip to content

Commit

Permalink
Update build pipeline for Adtran custom adapter
Browse files Browse the repository at this point in the history
* Update the path to the adapter helm chart
* Add flag to feed the values file to the custom OLT adapter helm
  deployment. This file defines the image registry, name and tag to
  deploy the adapter. In previous deployments, this definition was done
  directly in the local helm chart, without using the already existing
  values defined in the pod-configs repository.

Change-Id: Ic21b199a32501543b5c3f5f1877a21917cb7c409
Signed-off-by: Cristina de Francisco <[email protected]>
  • Loading branch information
cristina-defran committed Nov 26, 2024
1 parent 7c0d769 commit 8ac7fc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jjb/pipeline/voltha/physical-build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ pipeline {
])

if(openoltAdapterChart != "onf/voltha-adapter-openolt"){
extraHelmFlags = extraHelmFlags + " --set global.log_level=${logLevel}"
extraHelmFlags = extraHelmFlags + " --set global.log_level=${logLevel} -f $WORKSPACE/${configBaseDir}/${configKubernetesDir}/voltha/${configFileName}.yml"
deploy_custom_oltAdapterChart(volthaNamespace, oltAdapterReleaseName, openoltAdapterChart, extraHelmFlags)
waitForAdapters([
adaptersToWait: 2
Expand Down
2 changes: 1 addition & 1 deletion jjb/voltha-test/voltha.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@
num-of-onos: '3'
num-of-atomix: '3'
pipeline-script: 'voltha/physical-build.groovy'
openoltAdapterChart: '/home/community/adtran-23.1-voltha-2.12/voltha-adapter-adtran-olt'
openoltAdapterChart: '/home/jenkins/SDX_Voltha_Adtran_Adapter_24.2/helm/voltha-adapter-adtran-olt'
oltAdapterReleaseName: 'adtran-olt'
waitTimerForOltUp: 420
time: '19'
Expand Down

0 comments on commit 8ac7fc5

Please sign in to comment.