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
11
Merged
Andrew Kapuscinski
requested to merge
WS-78-fix-datafetcher-tests
into
main
4 years ago
Overview
0
Commits
5
Pipelines
14
Changes
11
Expand
0
0
Merge request reports
Compare
main
version 13
05c56cc6
4 years ago
version 12
14ed5243
4 years ago
version 11
b25341d7
4 years ago
version 10
b7df31f0
4 years ago
version 9
22533de5
4 years ago
version 8
e5b8dbbb
4 years ago
version 7
a25c619d
4 years ago
version 6
d4371517
4 years ago
version 5
6e6e496c
4 years ago
version 4
343b904c
4 years ago
version 3
ff7d21ad
4 years ago
version 2
067f8e70
4 years ago
version 1
68320db2
4 years ago
main (base)
and
version 10
latest version
e8b73b5d
5 commits,
4 years ago
version 13
05c56cc6
5 commits,
4 years ago
version 12
14ed5243
5 commits,
4 years ago
version 11
b25341d7
5 commits,
4 years ago
version 10
b7df31f0
5 commits,
4 years ago
version 9
22533de5
5 commits,
4 years ago
version 8
e5b8dbbb
5 commits,
4 years ago
version 7
a25c619d
5 commits,
4 years ago
version 6
d4371517
5 commits,
4 years ago
version 5
6e6e496c
5 commits,
4 years ago
version 4
343b904c
3 commits,
4 years ago
version 3
ff7d21ad
5 commits,
4 years ago
version 2
067f8e70
4 commits,
4 years ago
version 1
68320db2
3 commits,
4 years ago
11 files
+
29
−
152
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
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