Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: SRS 275 data migration using ora2pg #115

Closed
wants to merge 7 commits into from
Closed

Conversation

nikhila-aot
Copy link
Contributor

@nikhila-aot nikhila-aot commented Oct 18, 2024

This PR will have the changes required to migrate data from Oracle DB to Postgres using the opensource tool ora2pg


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

@nikhila-aot nikhila-aot requested a review from a team as a code owner October 18, 2024 20:06
@@ -0,0 +1,70 @@
FROM perl:slim

Check failure

Code scanning / Trivy

Image user should not be 'root' High

Artifact: ora2pg/Dockerfile
Type: dockerfile
Vulnerability DS002
Severity: HIGH
Message: Specify at least 1 USER command in Dockerfile with non-root user as argument
Link: DS002
@@ -0,0 +1,70 @@
FROM perl:slim

Check notice

Code scanning / Trivy

No HEALTHCHECK defined Low

Artifact: ora2pg/Dockerfile
Type: dockerfile
Vulnerability DS026
Severity: LOW
Message: Add HEALTHCHECK instruction in your Dockerfile
Link: DS026
gnupg2 \
libdbd-pg-perl

ADD /assets /assets

Check notice

Code scanning / Trivy

ADD instead of COPY Low

Artifact: ora2pg/Dockerfile
Type: dockerfile
Vulnerability DS005
Severity: LOW
Message: Consider using 'COPY /assets /assets' command instead of 'ADD /assets /assets'
Link: DS005
RUN mkdir /config
RUN cp /etc/ora2pg/ora2pg.conf.dist /etc/ora2pg/ora2pg.conf.backup
# cp /etc/ora2pg/ora2pg.conf.dist /config/ora2pg.conf
ADD ora2pg.conf /config

Check notice

Code scanning / Trivy

ADD instead of COPY Low

Artifact: ora2pg/Dockerfile
Type: dockerfile
Vulnerability DS005
Severity: LOW
Message: Consider using 'COPY ora2pg.conf /config' command instead of 'ADD ora2pg.conf /config'
Link: DS005
RUN mkdir /data
VOLUME /data

ADD entrypoint.sh /usr/bin/entrypoint.sh

Check notice

Code scanning / Trivy

ADD instead of COPY Low

Artifact: ora2pg/Dockerfile
Type: dockerfile
Vulnerability DS005
Severity: LOW
Message: Consider using 'COPY entrypoint.sh /usr/bin/entrypoint.sh' command instead of 'ADD entrypoint.sh /usr/bin/entrypoint.sh'
Link: DS005
@nikhila-aot
Copy link
Contributor Author

closed this PR as it was meant to be a draft PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant