Skip to content

Commit 4975fd0

Browse files
authored
Readme Status Checker Scripts (#586)
* setup status check files * add main.yml * edit branch name in main.yml * update to java metadata checker * amend entry.py and metadata style checker * main.yml comment updates * amend logic to exclude other directories in entry.py * update readme and metadata scripts * update list of proper nouns * update to comments * adding in category checking changes * remove differ checks * correction to entry.py filename checks * edit entry.py to skip other files * add redirect from rule for metadata * update branches * change job name and tidy up main.yml * add new lines * rename folders * update comment * tidy up spacing * remove redundant code * add in comments * update language used * move files into .github folder * update contact details
1 parent bfc755e commit 4975fd0

File tree

7 files changed

+1020
-0
lines changed

7 files changed

+1020
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM alpine:3.12
2+
MAINTAINER Jen Merritt <[email protected]>
3+
ENV PYTHONUNBUFFERED=1
4+
# Add scripts for the check.
5+
ADD entry.py /entry.py
6+
ADD style.rb /style.rb
7+
ADD metadata_style_checker.py /metadata_style_checker.py
8+
ADD README_style_checker.py /README_style_checker.py
9+
# Install dependencies.
10+
RUN echo "**** Install Ruby and mdl ****" && \
11+
apk add --update --no-cache ruby-full && \
12+
gem install mdl --no-document && \
13+
echo "**** Install Python ****" && \
14+
apk add --no-cache python3 && \
15+
if [ ! -e /usr/bin/python ]; then ln -sf python3 /usr/bin/python ; fi
16+
ENTRYPOINT ["python3", "/entry.py"]

0 commit comments

Comments
 (0)