Skip to content

Commit

Permalink
norspis lagt til (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinthon authored Sep 10, 2024
1 parent fe04626 commit 4a65822
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
norgast-dev: "norgast-dev/**"
nnrr-dev: "nnrr-dev/**"
nra-dev: "nra-dev/**"
norspis-dev: "norspis-dev/**"
push_to_registries:
needs: changes
Expand Down
13 changes: 13 additions & 0 deletions norspis-dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM rapporteket/dev:weekly

LABEL maintainer="Kevin Thon <kevin.otto.thon@helse-nord.no>"

ARG GH_PAT
ENV GITHUB_PAT=${GH_PAT}

# 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@HEAD', 'Rapporteket/rapFigurer', \
'Rapporteket/norspis'))"
8 changes: 8 additions & 0 deletions norspis-dev/db.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

# for registry development
norspis:
host: db
name: NorSpisReportDataStaging
user: root
pass: root
disp: ForNorspisDevOnly

0 comments on commit 4a65822

Please sign in to comment.