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
!118
Vulture: allow empty arguments
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Vulture: allow empty arguments
vulture-allow-empty-arguments
into
main
Overview
0
Commits
4
Pipelines
2
Changes
3
Merged
Daniel Lyons
requested to merge
vulture-allow-empty-arguments
into
main
4 years ago
Overview
0
Commits
4
Pipelines
2
Changes
13
Expand
0
0
Merge request reports
Compare
version 1
version 1
b6651647
4 years ago
main (base)
and
latest version
latest version
63f2341d
4 commits,
4 years ago
version 1
b6651647
2 commits,
4 years ago
Show latest version
13 files
+
41
−
152
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
13
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