Commit c4b13be8 authored by Adam Mercer's avatar Adam Mercer

remove source based container build

also remove the source builds for schedules, package builds still run on
schedule so the build is still tested

[ci skip]
parent 19a49599
FROM ligo/lalsuite-runtime:stretch
COPY /opt/lalsuite /opt/lalsuite
ENV LD_LIBRARY_PATH="/opt/lalsuite/lib" \
OCTAVE_PATH="/opt/lalsuite/lib/x86_64-linux-gnu/octave/3.8.2/site/oct/x86_64-pc-linux-gnu" \
PATH="/opt/lalsuite/bin:${PATH}" \
PKG_CONFIG_PATH="/opt/lalsuite/lib/pkgconfig" \
PYTHONPATH="/opt/lalsuite/lib/python2.7/site-packages"
# fix prefix in pkg-config files
RUN find /opt/lalsuite/lib/pkgconfig -type f -name 'lal*.pc' -exec sed -i 's|^prefix=.*|prefix=/opt/lalsuite|g' {} \;
# fix install path in python scripts
RUN find /opt/lalsuite/bin -type f -exec grep -Iq . {} \; -exec sed -i 's|/builds/.*/lalsuite/opt/lalsuite|/opt/lalsuite|g' {} \;
RUN rm -f /opt/lalsuite/lib/*.la
COPY /docker/startup /usr/local/bin/startup
ENTRYPOINT [ "/usr/local/bin/startup" ]
CMD ["/bin/bash", "-i" ]
......@@ -34,7 +34,6 @@ cache:
paths:
- ccache
# FIXME: remove schedules after package builds have been running for a while
.levelN:package: &levelN-package
script:
- cd ${CI_JOB_NAME#level?:*:}
......@@ -57,7 +56,6 @@ cache:
- opt/lalsuite
only:
- pushes
- schedules
.levelN:package:stretch: &levelN-package-stretch
image: ligo/lalsuite-dev:stretch
......@@ -221,36 +219,6 @@ level4:el7:lalapps:
- level3:el7:laldetchar
- level3:el7:lalinference
# FIXME: remove after package builds have been running for a while
docker:tags:
stage: docker
before_script: []
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build --pull -t $TAG --file .Dockerfile.gitlab-ci .
- docker push $TAG
dependencies:
- level4:stretch:lalapps
only:
- tags
# FIXME: remove after package builds have been running for a while
docker:nightly:
stage: docker
before_script: []
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker build --pull -t $NIGHTLY --file .Dockerfile.gitlab-ci .
- docker push $NIGHTLY
dependencies:
- level4:stretch:lalapps
only:
- master@lscsoft/lalsuite
- schedules
except:
- pushes
- web
nightly:top-level:jessie:
image: ligo/lalsuite-dev:jessie
stage: nightly
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment