bcgov / nr-spar-data-sync

Engine to sync data for SPAR application (from Postgres to Oracle)
Apache License 2.0
2 stars 0 forks source link

[Data Sync] Adapt engine to run on Jenkins #5

Closed thiagosanchezenc closed 6 months ago

thiagosanchezenc commented 10 months ago

Adapt the engine created so it can run on a Jenkins server.

Definition of done:

thiagosanchezenc commented 10 months ago

This issue is blocked due to a couple of reasons:

marcionemec-daitan commented 8 months ago

Some updates so far:

1) Already got access to Jenkins Cron (link at: https://apps.nrs.gov.bc.ca/int/cron/me/my-views/view/all/job/SPAR/)

2) Jenkins Cron is under Windows OS, so, all tests done in the Unix-like environments must be "translated" to be executed in Windows (i.e. "bat scripts instead sh/bash")

3) To start a spike in a OpenShift we will need access to use a dev/stage environment to set up a plan to deploy a docker containerized data sync engine.

marcionemec-daitan commented 8 months ago

This issue is blocked by:

Image

This error happens when we tried to deploy a Data Sync engine instance running in Jenkins Cron server. We would need some help from the Jenkins Admins to allow github BCGOV repository to be accessed by git scm on Jenkins cron.

marcionemec-daitan commented 8 months ago

Issue with proxy access solved using the following parameters in the Jenkins Config:

Image

marcionemec-daitan commented 7 months ago

PR requested to develop at: https://github.com/bcgov/nr-spar-data-sync/pull/18 Documentation in progress

marcionemec-daitan commented 7 months ago

Documentation can be found at: https://apps.nrs.gov.bc.ca/int/confluence/display/FSADT2/Jenkins+configuration

marcionemec-daitan commented 7 months ago

PR opened at: https://github.com/bcgov/nr-spar-data-sync/pull/18