-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #209 from CSCfi/develop
release 0.9.0
- Loading branch information
Showing
53 changed files
with
2,147 additions
and
1,258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" | ||
labels: | ||
- "pip dependencies" | ||
target-branch: "develop" | ||
open-pull-requests-limit: 10 | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" | ||
labels: | ||
- "github actions" | ||
target-branch: "develop" | ||
open-pull-requests-limit: 10 | ||
- package-ecosystem: docker | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "monday" | ||
labels: | ||
- "docker dependencies" | ||
target-branch: "develop" | ||
open-pull-requests-limit: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,17 @@ RUN apk add --update \ | |
&& apk add --no-cache git\ | ||
&& rm -rf /var/cache/apk/* | ||
|
||
RUN git clone https://github.com/CSCfi/metadata-submitter-frontend.git | ||
ARG BRANCH=master | ||
|
||
RUN git clone -b ${BRANCH} https://github.com/CSCfi/metadata-submitter-frontend.git | ||
|
||
WORKDIR /metadata-submitter-frontend | ||
RUN npm install && npm run build --production | ||
RUN npm install -g [email protected] \ | ||
&& npx --quiet pinst --disable \ | ||
&& npm install --production \ | ||
&& npm run build --production | ||
|
||
FROM python:3.7-alpine3.13 as BUILD-BACKEND | ||
FROM python:3.8-alpine3.13 as BUILD-BACKEND | ||
|
||
RUN apk add --update \ | ||
&& apk add --no-cache build-base curl-dev linux-headers bash git musl-dev libffi-dev \ | ||
|
@@ -27,15 +32,15 @@ RUN pip install --upgrade pip && \ | |
pip install -r /root/submitter/requirements.txt && \ | ||
pip install /root/submitter | ||
|
||
FROM python:3.7-alpine3.13 | ||
FROM python:3.8-alpine3.13 | ||
|
||
RUN apk add --no-cache --update bash | ||
|
||
LABEL maintainer="CSC Developers" | ||
LABEL org.label-schema.schema-version="1.0" | ||
LABEL org.label-schema.vcs-url="https://github.com/CSCfi/metadata-submitter" | ||
|
||
COPY --from=BUILD-BACKEND /usr/local/lib/python3.7/ /usr/local/lib/python3.7/ | ||
COPY --from=BUILD-BACKEND /usr/local/lib/python3.8/ /usr/local/lib/python3.8/ | ||
|
||
COPY --from=BUILD-BACKEND /usr/local/bin/gunicorn /usr/local/bin/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM python:3.7-slim | ||
FROM python:3.8-slim | ||
|
||
RUN apt-get install ca-certificates | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.