forked from ckan/ckanext-validation
-
Notifications
You must be signed in to change notification settings - Fork 0
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 ckan#48 from qld-gov-au/QOLDEV-323-ckan-2.10
QOLDEV-323 prepare for CKAN 2.10
- Loading branch information
Showing
34 changed files
with
135 additions
and
142 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
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 |
---|---|---|
@@ -1,33 +1,29 @@ | ||
FROM openknowledge/ckan-dev:@CKAN_VERSION@ | ||
FROM openknowledge/ckan-dev:{CKAN_VERSION} | ||
|
||
ARG SITE_URL=http://ckan:5000/ | ||
ENV PYTHON_VERSION=@PYTHON_VERSION@ | ||
ENV CKAN_VERSION=@CKAN_VERSION@ | ||
ENV CKAN_VERSION={CKAN_VERSION} | ||
ENV PYTHON_VERSION={PYTHON_VERSION} | ||
ENV CKAN_SITE_URL="${SITE_URL}" | ||
ENV PYTHON={PYTHON} | ||
|
||
WORKDIR "${APP_DIR}" | ||
|
||
ENV DOCKERIZE_VERSION v0.6.1 | ||
RUN apk add --no-cache build-base \ | ||
&& curl -sLO https://github.com/jwilder/dockerize/releases/download/${DOCKERIZE_VERSION}/dockerize-alpine-linux-amd64-${DOCKERIZE_VERSION}.tar.gz \ | ||
&& tar -C /usr/local/bin -xzvf dockerize-alpine-linux-amd64-${DOCKERIZE_VERSION}.tar.gz \ | ||
&& rm dockerize-alpine-linux-amd64-${DOCKERIZE_VERSION}.tar.gz | ||
|
||
# Install CKAN. | ||
&& curl -sL https://github.com/jwilder/dockerize/releases/download/${DOCKERIZE_VERSION}/dockerize-alpine-linux-amd64-${DOCKERIZE_VERSION}.tar.gz \ | ||
| tar -C /usr/local/bin -xzvf - | ||
|
||
COPY .docker/test.ini $CKAN_INI | ||
|
||
RUN sed -i "s@SITE_URL@${CKAN_SITE_URL}@g" $CKAN_INI | ||
|
||
COPY . ${APP_DIR}/ | ||
|
||
COPY .docker/scripts ${APP_DIR}/scripts | ||
|
||
COPY .docker/scripts/ckan_cli /usr/bin/ | ||
COPY bin/ckan_cli /usr/bin/ | ||
|
||
RUN chmod +x ${APP_DIR}/scripts/*.sh /usr/bin/ckan_cli | ||
RUN chmod +x ${APP_DIR}/bin/*.sh /usr/bin/ckan_cli | ||
|
||
# Init current extension. | ||
RUN ${APP_DIR}/scripts/init-ext.sh | ||
RUN ${APP_DIR}/bin/init-ext.sh | ||
|
||
CMD ["/srv/app/scripts/serve.sh"] | ||
CMD ["/srv/app/bin/serve.sh"] |
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 |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
|
||
exclude = | ||
ckan | ||
scripts | ||
|
||
# Extended output format. | ||
format = pylint | ||
|
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
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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 was deleted.
Oops, something went wrong.
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
3 changes: 0 additions & 3 deletions
3
ckanext/validation/templates/validation/snippets/validation_report_asset.html
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.