Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GraceDB Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Coughlin
GraceDB Server
Commits
e60710ed
Commit
e60710ed
authored
4 years ago
by
Alexander Pace
Browse files
Options
Downloads
Patches
Plain Diff
actually fix pipelines
pull before checking out
parent
ec462a56
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+7
-2
7 additions, 2 deletions
.gitlab-ci.yml
Dockerfile
+20
-11
20 additions, 11 deletions
Dockerfile
with
27 additions
and
13 deletions
.gitlab-ci.yml
+
7
−
2
View file @
e60710ed
...
...
@@ -17,7 +17,7 @@ before_script:
-
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
.test
:
&test
image
:
igwn/base:
stretch
image
:
igwn/base:
buster
services
:
-
mysql:5.6
variables
:
...
...
@@ -58,6 +58,11 @@ before_script:
libssl-dev
libxml2-dev
swig
pkg-config
libpng-dev
libfreetype6-dev
libmariadb-dev-compat
libxslt-dev
${PYTHON}-pip
# install everything else from pip
-
${PYTHON} -m pip install -r requirements.txt
...
...
@@ -83,7 +88,7 @@ before_script:
-
.cache/pip
-
.cache/apt
test:3.
5
:
test:3.
7
:
<<
:
*test
branch_image
:
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
20
−
11
View file @
e60710ed
FROM
igwn/base:
stretch
FROM
igwn/base:
buster
LABEL
name="LIGO GraceDB Django application" \
maintainer="
t
an
n
er.p
restegard
@ligo.org" \
date="20
190920
"
maintainer="
alex
an
d
er.p
ace
@ligo.org" \
date="20
200807
"
ARG
SETTINGS_MODULE="config.settings.container.dev"
COPY
docker/SWITCHaai-swdistrib.gpg /etc/apt/trusted.gpg.d
COPY
docker/backports.pref /etc/apt/preferences.d
RUN
echo
'deb http://pkg.switch.ch/switchaai/debian
stretch
main'
>
/etc/apt/sources.list.d/shibboleth.list
RUN
echo
'deb http://deb.debian.org/debian
stretch
-backports main'
>
/etc/apt/sources.list.d/backports.list
RUN
curl
-sL
https://deb.nodesource.com/setup_
8
.x | bash -
RUN
echo
'deb http://pkg.switch.ch/switchaai/debian
buster
main'
>
/etc/apt/sources.list.d/shibboleth.list
RUN
echo
'deb http://deb.debian.org/debian
buster
-backports main'
>
/etc/apt/sources.list.d/backports.list
RUN
curl
-sL
https://deb.nodesource.com/setup_
10
.x | bash -
RUN
apt-get update
&&
\
apt-get
install
--install-recommends
--assume-yes
\
apache2
\
...
...
@@ -19,24 +19,30 @@ RUN apt-get update && \
libldap2-dev
\
libsasl2-dev
\
libxml2-dev
\
pkg-config
\
libpng-dev
\
libfreetype6-dev
\
libmariadb-dev-compat
\
libxslt-dev
\
libsqlite3-dev
\
ligo-ca-certs
\
mariadb-client
\
nodejs
\
osg-ca-certs
\
python3.
5
\
python3.
5
-dev
\
python3.
7
\
python3.
7
-dev
\
python3-libxml2
\
python3-pip
\
procps
\
shibboleth
\
supervisor
\
libssl-dev
\
swig
\
htop
\
telnet
\
vim
&&
\
apt-get clean
&&
\
curl
-sL
https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
&&
\
apt-get update
&&
apt-get
install
--assume-yes
yarn
&&
\
npm
install
-g
bower
COPY
docker/entrypoint /usr/local/bin/entrypoint
...
...
@@ -66,8 +72,11 @@ RUN pip3 install --upgrade pip
RUN
pip3
install
--upgrade
setuptools wheel
&&
\
pip3
install
-r
requirements.txt
# install supervisor from pip
RUN
pip3
install
supervisor
# Give pip-installed packages priority over distribution packages
ENV
PYTHONPATH /usr/local/lib/python3.
5
/dist-packages:$PYTHONPATH
ENV
PYTHONPATH /usr/local/lib/python3.
7
/dist-packages:$PYTHONPATH
ENV
ENABLE_SHIBD false
ENV
ENABLE_OVERSEER true
ENV
VIRTUAL_ENV dummy
...
...
@@ -116,4 +125,4 @@ RUN chmod 0755 /usr/local/bin/entrypoint && \
find /app/gracedb_project
-type
f
-exec
chmod
0644
{}
+
ENTRYPOINT
[ "/usr/local/bin/entrypoint" ]
CMD
["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]
CMD
["/usr/
local/
bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment