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

inkluderer smerte-dev #83

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
nra-dev: "nra-dev/**"
norspis-dev: "norspis-dev/**"
muskel-dev: "muskel-dev/**"
smerte-dev: "smerte-dev/**"

push_to_registries:
needs: changes
Expand Down
11 changes: 11 additions & 0 deletions smerte-dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM rapporteket/dev:weekly

LABEL maintainer="Kevin Thon <[email protected]>"

# hadolint ignore=DL3008

# add registry dev config and R pkg dependencies
COPY --chown=rstudio:rstudio db.yml /home/rstudio/rap_config/
RUN cat /home/rstudio/rap_config/db.yml >> /home/rstudio/rap_config/dbConfig.yml \
&& rm /home/rstudio/rap_config/db.yml \
&& R -e "remotes::install_github(c('Rapporteket/rapbase', 'Rapporteket/smerte'))"
13 changes: 13 additions & 0 deletions smerte-dev/db.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# for registry development
smerteLokal:
host: db
name: SmerteReportDataStaging
user: root
pass: root
disp: ForSmerteLokalDevOnly
smerteNasjonal:
host: db
name: SmerteNasjonalReportDataStaging
user: root
pass: root
disp: ForSmerteNasjonalDevOnly
Loading