Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Merge requests
!116
WS 78 fix datafetcher tests
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
WS 78 fix datafetcher tests
WS-78-fix-datafetcher-tests
into
main
Overview
0
Commits
5
Pipelines
14
Changes
2
Merged
Andrew Kapuscinski
requested to merge
WS-78-fix-datafetcher-tests
into
main
4 years ago
Overview
0
Commits
5
Pipelines
14
Changes
2
Expand
0
0
Merge request reports
Viewing commit
343b904c
Prev
Next
Show latest version
2 files
+
0
−
120
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
343b904c
removed unused dockerfiles in datafetcher
· 343b904c
Andrew Kapuscinski
authored
4 years ago
This reverts commit
68320db2
.
apps/cli/executables/datafetcher/test/Dockerfile deleted
100644 → 0
+
0
−
41
Options
# datafetcher Dockerfile
#
# TO BUILD the docker image: -don't- "docker build" directly!
# use docker_build.sh:
# from apps/cli/executables/datafetcher,
#
# ./docker_build.sh datafetcher_test[:N]
#
# where '-t' specifies a name and N' is the version.
# (If ':N' is omitted, version is 'latest' by default.)
# tag is not required for the build, but without it
# the container name is an unhelpful hexadecimal value.
FROM
continuumio/miniconda3:latest
COPY
environment.yml .
ENV
PATH $HOME/miniconda3/bin/conda:$PATH
# docker_build.sh should have copied environment.yml from data/;
# it will be used in the command below
RUN
conda
env
update
# get what we'll need for the build
COPY
. .
# get application files and tests
COPY
src/ .
COPY
test/ .
# install the application
RUN
[
"conda"
,
"run"
,
"-n"
,
"data"
,
"python"
,
"setup.py"
,
"develop"
]
# we'll need a Capo profile
ENV
CAPO_PROFILE local
ENV
CAPO_PATH test/
# finally, run the tests. be verbose. log stuff.
# (for more detailed output, use "-vv" and/or "--log-level=DEBUG";
# to quit after first failure, use "-x")
ENTRYPOINT ["conda", "run", "-n", "data", "pytest", "-vv", "--log-level=DEBUG", "--showlocals", "test/"]
Loading