RED-8670: integrate table inference from research
This commit is contained in:
parent
8ceef60a26
commit
ddd24bb65c
@ -61,7 +61,7 @@ public class ComponentMappingEntity {
|
||||
@NonNull
|
||||
@Builder.Default
|
||||
@ElementCollection(fetch = FetchType.EAGER)
|
||||
@CollectionTable(name = "component_mapping_column_labels")
|
||||
@CollectionTable(name = "component_mapping_column_labels", catalog = )
|
||||
List<String> columnLabels = new ArrayList<>();
|
||||
|
||||
@NonNull
|
||||
|
||||
@ -82,7 +82,7 @@ databaseChangeLog:
|
||||
constraints:
|
||||
nullable: false
|
||||
- column:
|
||||
name: label
|
||||
name: column_labels
|
||||
type: VARCHAR(255)
|
||||
constraints:
|
||||
nullable: false
|
||||
|
||||
@ -15,7 +15,9 @@ gradle bootBuildImage --publishImage -PbuildbootDockerHostNetwork=true -Pversion
|
||||
|
||||
newImageName="nexus.knecon.com:5001/red/${dir}-server-v1:$buildName"
|
||||
|
||||
echo "full image name:"
|
||||
echo ${newImageName}
|
||||
echo ""
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
exit 0
|
||||
@ -32,8 +34,8 @@ if [ "${newImageName}" = "${oldImageName}" ]; then
|
||||
echo "Image tag did not change, redeploying..."
|
||||
rancher kubectl rollout restart deployment ${deployment_name} -n ${namespace}
|
||||
else
|
||||
echo "upgrading..."
|
||||
echo "upgrading the image tag..."
|
||||
rancher kubectl set image deployment/${deployment_name} ${deployment_name}=${newImageName} -n ${namespace}
|
||||
fi
|
||||
rancher kubectl rollout status deployment ${deployment_name} -n ${namespace}
|
||||
echo "Built ${dir} and deployed to ${namespace}"
|
||||
echo "Built ${deployment_name}:${buildName} and deployed to ${namespace}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user