-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ED-2793] Fix installation issues (#3905)
* Update maven repo url * Add missing jobs * Fix docker creds secrets issue when having specialcharacters
- Loading branch information
1 parent
6ce00cf
commit 3924727
Showing
9 changed files
with
538 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
108 changes: 108 additions & 0 deletions
108
...nkins/jobs/ArtifactUpload/jobs/dev/jobs/KnowledgePlatform/jobs/InquiryFlinkJob/config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="[email protected]"> | ||
<actions> | ||
<org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="[email protected]"> | ||
<jobPropertyDescriptors> | ||
<string>hudson.model.ParametersDefinitionProperty</string> | ||
<string>com.sonyericsson.rebuild.RebuildSettings</string> | ||
</jobPropertyDescriptors> | ||
</org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> | ||
</actions> | ||
<description/> | ||
<keepDependencies>false</keepDependencies> | ||
<properties> | ||
<jenkins.model.BuildDiscarderProperty> | ||
<strategy class="hudson.tasks.LogRotator"> | ||
<daysToKeep>-1</daysToKeep> | ||
<numToKeep>10</numToKeep> | ||
<artifactDaysToKeep>-1</artifactDaysToKeep> | ||
<artifactNumToKeep>1</artifactNumToKeep> | ||
</strategy> | ||
</jenkins.model.BuildDiscarderProperty> | ||
<org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> | ||
<com.sonyericsson.rebuild.RebuildSettings plugin="[email protected]"> | ||
<autoRebuild>false</autoRebuild> | ||
<rebuildDisabled>false</rebuildDisabled> | ||
</com.sonyericsson.rebuild.RebuildSettings> | ||
<hudson.model.ParametersDefinitionProperty> | ||
<parameterDefinitions> | ||
<hudson.model.StringParameterDefinition> | ||
<name>absolute_job_path</name> | ||
<description><font color=dimgray size=2><b>Do not change this value! The metadata.json will be copied from this job.</b></font></description> | ||
<defaultValue>Build/KnowledgePlatform/InquiryFlinkJob</defaultValue> | ||
<trim>false</trim> | ||
</hudson.model.StringParameterDefinition> | ||
<hudson.model.StringParameterDefinition> | ||
<name>image_tag</name> | ||
<description><font color=darkgreen size=2><b>OPTIONAL: Specify the tag to upload a specific image version to the container registry.</b></font></description> | ||
<defaultValue/> | ||
<trim>false</trim> | ||
</hudson.model.StringParameterDefinition> | ||
<hudson.model.ChoiceParameterDefinition> | ||
<name>artifact_source</name> | ||
<description><font color=dimgray size=2><b> | ||
ArtifactRepo - Push the docker image to container registry. | ||
</b></font></description> | ||
<choices class="java.util.Arrays$ArrayList"> | ||
<a class="string-array"> | ||
<string>ArtifactRepo</string> | ||
</a> | ||
</choices> | ||
</hudson.model.ChoiceParameterDefinition> | ||
</parameterDefinitions> | ||
</hudson.model.ParametersDefinitionProperty> | ||
<hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="[email protected]"> | ||
<maxConcurrentPerNode>0</maxConcurrentPerNode> | ||
<maxConcurrentTotal>0</maxConcurrentTotal> | ||
<categories class="java.util.concurrent.CopyOnWriteArrayList"/> | ||
<throttleEnabled>false</throttleEnabled> | ||
<throttleOption>project</throttleOption> | ||
<limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> | ||
<paramsToUseForLimit/> | ||
</hudson.plugins.throttleconcurrents.ThrottleJobProperty> | ||
|
||
<org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> | ||
<triggers> | ||
<jenkins.triggers.ReverseBuildTrigger> | ||
<spec/> | ||
<upstreamProjects>Build/KnowledgePlatform/InquiryFlinkJob</upstreamProjects> | ||
<threshold> | ||
<name>SUCCESS</name> | ||
<ordinal>0</ordinal> | ||
<color>BLUE</color> | ||
<completeBuild>true</completeBuild> | ||
</threshold> | ||
</jenkins.triggers.ReverseBuildTrigger> | ||
</triggers> | ||
</org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> | ||
</properties> | ||
<definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="[email protected]"> | ||
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]"> | ||
<configVersion>2</configVersion> | ||
<userRemoteConfigs> | ||
<hudson.plugins.git.UserRemoteConfig> | ||
<url>https://github.com/Sunbird-inQuiry/data-pipeline.git</url> | ||
</hudson.plugins.git.UserRemoteConfig> | ||
</userRemoteConfigs> | ||
<branches> | ||
<hudson.plugins.git.BranchSpec> | ||
<name>${inquiry_pipeline_branch_or_tag}</name> | ||
</hudson.plugins.git.BranchSpec> | ||
</branches> | ||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> | ||
<submoduleCfg class="empty-list"/> | ||
<extensions> | ||
<hudson.plugins.git.extensions.impl.CloneOption> | ||
<shallow>true</shallow> | ||
<noTags>false</noTags> | ||
<reference/> | ||
<depth>0</depth> | ||
<honorRefspec>false</honorRefspec> | ||
</hudson.plugins.git.extensions.impl.CloneOption> | ||
</extensions> | ||
</scm> | ||
<scriptPath>kubernetes/pipelines/upload/Jenkinsfile</scriptPath> | ||
<lightweight>false</lightweight> | ||
</definition> | ||
<triggers/> | ||
<disabled>false</disabled> | ||
</flow-definition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="[email protected]"> | ||
<actions> | ||
<org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.22"> | ||
<org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="workflow-multibranch@2.23"> | ||
<jobPropertyDescriptors> | ||
<string>hudson.model.ParametersDefinitionProperty</string> | ||
<string>com.sonyericsson.rebuild.RebuildSettings</string> | ||
|
@@ -19,26 +19,47 @@ | |
</strategy> | ||
</jenkins.model.BuildDiscarderProperty> | ||
<org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> | ||
<com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.31"> | ||
<com.sonyericsson.rebuild.RebuildSettings plugin="rebuild@1.32"> | ||
<autoRebuild>false</autoRebuild> | ||
<rebuildDisabled>false</rebuildDisabled> | ||
</com.sonyericsson.rebuild.RebuildSettings> | ||
<hudson.model.ParametersDefinitionProperty> | ||
<parameterDefinitions> | ||
<hudson.model.StringParameterDefinition> | ||
<name>github_release_tag</name> | ||
<name>inquiry_release_tag</name> | ||
<description><font style="color:dimgray;font-size:14px;"><b> | ||
<li>To build from a tag, use refs/tags/github_tag</li> | ||
<li>To build from a branch, use refs/heads/github_branch</li> | ||
<li>The default value of ${public_repo_branch} will be the release / tag version set in global configuration</li> | ||
<li>To build from a differnt branch, replace the ${public_repo_branch} with your branch</li> | ||
<li>The default value of ${inquiry_service_build_branch_or_tag} will be the release / tag version set in global configuration</li> | ||
<li>To build from a differnt branch, replace the ${inquiry_service_build_branch_or_tag} with your branch</li> | ||
</b></font></description> | ||
<defaultValue>refs/heads/${public_repo_branch}</defaultValue> | ||
<defaultValue>refs/heads/${inquiry_service_build_branch_or_tag}</defaultValue> | ||
<trim>true</trim> | ||
</hudson.model.StringParameterDefinition> | ||
<hudson.model.StringParameterDefinition> | ||
<name>core_release_tag</name> | ||
<description><font style="color:dimgray;font-size:14px;"><b> | ||
<li>Provide this value to build core components from Knowlg BB</li> | ||
<li>To build from a tag, use refs/tags/github_tag</li> | ||
<li>To build from a branch, use refs/heads/github_branch</li> | ||
<li>The default value of ${inquiry_core_build_branch_or_tag} will be the release / tag version set in global configuration</li> | ||
<li>To build from a differnt branch, replace the ${inquiry_core_build_branch_or_tag} with your branch</li> | ||
</b></font></description> | ||
<defaultValue>refs/heads/${inquiry_core_build_branch_or_tag}</defaultValue> | ||
<trim>false</trim> | ||
</hudson.model.StringParameterDefinition> | ||
<hudson.model.ChoiceParameterDefinition> | ||
<name>core_repo_link</name> | ||
<description>Knowlg Core Repo</description> | ||
<choices class="java.util.Arrays$ArrayList"> | ||
<a class="string-array"> | ||
<string>https://github.com/project-sunbird/knowledge-platform.git</string> | ||
</a> | ||
</choices> | ||
</hudson.model.ChoiceParameterDefinition> | ||
</parameterDefinitions> | ||
</hudson.model.ParametersDefinitionProperty> | ||
<hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.0.3"> | ||
<hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="throttle-concurrents@2.2"> | ||
<maxConcurrentPerNode>0</maxConcurrentPerNode> | ||
<maxConcurrentTotal>0</maxConcurrentTotal> | ||
<categories class="java.util.concurrent.CopyOnWriteArrayList"/> | ||
|
@@ -49,31 +70,29 @@ | |
</hudson.plugins.throttleconcurrents.ThrottleJobProperty> | ||
|
||
<org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> | ||
<triggers> | ||
<hudson.triggers.SCMTrigger> | ||
<spec>H/15 * * * *</spec> | ||
<ignorePostCommitHooks>false</ignorePostCommitHooks> | ||
</hudson.triggers.SCMTrigger> | ||
</triggers> | ||
<triggers/> | ||
</org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> | ||
</properties> | ||
<definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.87"> | ||
<scm class="hudson.plugins.git.GitSCM" plugin="git@4.5.0"> | ||
<definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="workflow-cps@2.90"> | ||
<scm class="hudson.plugins.git.GitSCM" plugin="git@4.7.1"> | ||
<configVersion>2</configVersion> | ||
<userRemoteConfigs> | ||
<hudson.plugins.git.UserRemoteConfig> | ||
<url>https://github.com/project-sunbird/knowledge-platform.git</url> | ||
<url>https://github.com/Sunbird-inQuiry/inquiry-api-service.git</url> | ||
</hudson.plugins.git.UserRemoteConfig> | ||
</userRemoteConfigs> | ||
<branches> | ||
<hudson.plugins.git.BranchSpec> | ||
<name>${github_release_tag}</name> | ||
<name>${inquiry_release_tag}</name> | ||
</hudson.plugins.git.BranchSpec> | ||
</branches> | ||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> | ||
<submoduleCfg class="empty-list"/> | ||
<extensions/> | ||
</scm> | ||
<scriptPath>build/assessment-service/Jenkinsfile</scriptPath> | ||
<lightweight>false</lightweight> | ||
</definition> | ||
<triggers/> | ||
<disabled>false</disabled> | ||
</flow-definition> | ||
</flow-definition> |
77 changes: 77 additions & 0 deletions
77
deploy/jenkins/jobs/Build/jobs/KnowledgePlatform/jobs/InquiryFlinkJob/config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<?xml version="1.1" encoding="UTF-8" standalone="no"?><flow-definition plugin="[email protected]"> | ||
<actions> | ||
<org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction plugin="[email protected]"> | ||
<jobPropertyDescriptors> | ||
<string>hudson.model.ParametersDefinitionProperty</string> | ||
<string>com.sonyericsson.rebuild.RebuildSettings</string> | ||
</jobPropertyDescriptors> | ||
</org.jenkinsci.plugins.workflow.multibranch.JobPropertyTrackerAction> | ||
</actions> | ||
<description/> | ||
<keepDependencies>false</keepDependencies> | ||
<properties> | ||
<jenkins.model.BuildDiscarderProperty> | ||
<strategy class="hudson.tasks.LogRotator"> | ||
<daysToKeep>-1</daysToKeep> | ||
<numToKeep>10</numToKeep> | ||
<artifactDaysToKeep>-1</artifactDaysToKeep> | ||
<artifactNumToKeep>1</artifactNumToKeep> | ||
</strategy> | ||
</jenkins.model.BuildDiscarderProperty> | ||
<org.jenkinsci.plugins.workflow.job.properties.DisableConcurrentBuildsJobProperty/> | ||
<com.sonyericsson.rebuild.RebuildSettings plugin="[email protected]"> | ||
<autoRebuild>false</autoRebuild> | ||
<rebuildDisabled>false</rebuildDisabled> | ||
</com.sonyericsson.rebuild.RebuildSettings> | ||
<hudson.model.ParametersDefinitionProperty> | ||
<parameterDefinitions> | ||
<hudson.model.StringParameterDefinition> | ||
<name>inquiry_release_tag</name> | ||
<description><font style="color:dimgray;font-size:14px;"><b> | ||
<li>To build from a tag, use refs/tags/github_tag</li> | ||
<li>To build from a branch, use refs/heads/github_branch</li> | ||
<li>The default value of ${inquiry_pipeline_branch_or_tag} will be the release / tag version set in global configuration</li> | ||
<li>To build from a differnt branch, replace the ${inquiry_pipeline_branch_or_tag} with your branch</li> | ||
</b></font></description> | ||
<defaultValue>refs/heads/${inquiry_pipeline_branch_or_tag}</defaultValue> | ||
<trim>true</trim> | ||
</hudson.model.StringParameterDefinition> | ||
</parameterDefinitions> | ||
</hudson.model.ParametersDefinitionProperty> | ||
<hudson.plugins.throttleconcurrents.ThrottleJobProperty plugin="[email protected]"> | ||
<maxConcurrentPerNode>0</maxConcurrentPerNode> | ||
<maxConcurrentTotal>0</maxConcurrentTotal> | ||
<categories class="java.util.concurrent.CopyOnWriteArrayList"/> | ||
<throttleEnabled>false</throttleEnabled> | ||
<throttleOption>project</throttleOption> | ||
<limitOneJobWithMatchingParams>false</limitOneJobWithMatchingParams> | ||
<paramsToUseForLimit/> | ||
</hudson.plugins.throttleconcurrents.ThrottleJobProperty> | ||
|
||
<org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> | ||
<triggers/> | ||
</org.jenkinsci.plugins.workflow.job.properties.PipelineTriggersJobProperty> | ||
</properties> | ||
<definition class="org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition" plugin="[email protected]"> | ||
<scm class="hudson.plugins.git.GitSCM" plugin="[email protected]"> | ||
<configVersion>2</configVersion> | ||
<userRemoteConfigs> | ||
<hudson.plugins.git.UserRemoteConfig> | ||
<url>https://github.com/Sunbird-inQuiry/data-pipeline.git</url> | ||
</hudson.plugins.git.UserRemoteConfig> | ||
</userRemoteConfigs> | ||
<branches> | ||
<hudson.plugins.git.BranchSpec> | ||
<name>${inquiry_release_tag}</name> | ||
</hudson.plugins.git.BranchSpec> | ||
</branches> | ||
<doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations> | ||
<submoduleCfg class="empty-list"/> | ||
<extensions/> | ||
</scm> | ||
<scriptPath>kubernetes/pipelines/build/Jenkinsfile</scriptPath> | ||
<lightweight>false</lightweight> | ||
</definition> | ||
<triggers/> | ||
<disabled>false</disabled> | ||
</flow-definition> |
Oops, something went wrong.