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

Nnrr dev2 #73

Closed
wants to merge 2 commits into from
Closed
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 @@ -35,6 +35,7 @@ jobs:
dev: "dev/**"
deformitet-dev: "deformitet-dev/**"
norgast-dev: "norgast-dev/**"
nnrr-dev: "nnrr-dev/**"
push_to_registries:
needs: changes
Expand Down
14 changes: 14 additions & 0 deletions nnrr-dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
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', 'Rapporteket/rapFigurer' \
'Rapporteket/nnrr'))"

9 changes: 9 additions & 0 deletions nnrr-dev/db.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

# for registry development
norgast:
host: db
name: nnrrReportDataStaging
user: root
pass: root
disp: ForNNRRDevOnly

Loading