summaryrefslogtreecommitdiffstats
path: root/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2021-08-12 23:05:15 +0100
committerMichael Morris <michael.morris@est.tech>2021-08-13 16:14:07 +0000
commitb8bfef3a009922db72c1a618211ce03c07683e58 (patch)
treeb81c7855ba3308249d1608df5212a1f36705e78c /openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile
parentb1bfe8bfae834f92577b04a016c0c7dade388941 (diff)
Implement simple onboarding cassandra upgrade
Introduces a folder to hold cql scripts to upgrade the onboarding cassandra. The files will be copied to the docker and executed in alphabetical order. The suggested pattern for the file names is YYYYMMDD-changeName.cql. Change-Id: Ia32a63ec5ab4417cf0df8bb5536c7f041e2327c9 Issue-ID: SDC-3669 Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile')
-rw-r--r--openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile b/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile
index 8408d2f51c..05034e1565 100644
--- a/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile
+++ b/openecomp-be/dist/sdc-onboard-db-init-docker/artifacts/Dockerfile
@@ -32,8 +32,8 @@ USER sdc
COPY --chown=sdc:sdc init_keyspaces.cql /home/sdc/
COPY --chown=sdc:sdc init_schemas.cql /home/sdc/
-COPY --chown=sdc:sdc alter_tables.cql /home/sdc/
-COPY --chown=sdc:sdc startup.sh /home/sdc/
+COPY --chown=sdc:sdc upgrade-scripts /home/sdc/upgrade-scripts
+COPY --chown=sdc:sdc startup.sh /home/sdc/
RUN chmod 770 /home/sdc/startup.sh