Comments (7)
dvc-cml should not be handling this anymore, aside the exceptions like gs and ssh.
The code does nothing but warn so its removed in next PR delegating the responsibility to DVC.
In the case of gs and ssh it has to transform the json content inside the env variable into a file that gs is looking for. Something similar in ssh, the given key has to be added.
from cml.
@DavidGOrtega you should not warn users if settings are not defined for a not default remote.
from cml.
This is how you can get the default remote from bash
dvc remote list | grep "^`dvc remote default`\t" | awk '{print($2)}'
from cml.
Thats what Im saying. DVC-CML only needs to interface the secrets to the runner in case it has to do it.
Right now that only happens in gs and ssh.
For the rest the whole code is removed delegating it to dvc
from cml.
Log:
Fetch all history for all tags and branches
Setting DVC remote ...
S3 DVC remote found but no credentials found
Pulling from DVC remote ...
Failed pulling from DVC remote
Error: Command failed: dvc pull -f
Running dvc repro Dvcfile
ERROR: unexpected error - Unable to locate credentials
at ChildProcess.exithandler (child_process.js:303:12)
at ChildProcess.emit (events.js:310:20)
at maybeClose (internal/child_process.js:1021:16)
at Socket.<anonymous> (internal/child_process.js:443:11)
at Socket.emit (events.js:310:20)
at Pipe.<anonymous> (net.js:672:12) {
killed: false,
code: 255,
signal: null,
cmd: 'dvc pull -f'
}
##[error]Command failed: dvc repro Dvcfile <--- THIS IS IN RED
WARNING: Dependency 'train.py' of 'Dvcfile' changed because it is 'modified'.
WARNING: Stage 'Dvcfile' changed.
.... [CONTINUE SOME PROCESS]
How the log ideally should look like:
Fetch all history for all tags and branches
Setting DVC remote ...
S3 DVC remote found but no credentials found
Pulling from DVC remote ...
Failed pulling from DVC remote
Error: Command failed: dvc pull -f
Running dvc repro Dvcfile
ERROR: unexpected error - Unable to locate credentials <--- THIS IS IN RED
[EXIT NOW - NO REASON TO CONTINUE]
##[error]Process completed with exit code 1. <--- THIS IS IN RED
from cml.
[EXIT NOW - NO REASON TO CONTINUE]
Its something that you have added right?
from cml.
@DavidGOrtega yes
from cml.
Related Issues (20)
- --idle-time="never" causes an unhandled error with GitLab driver
- CML Kubernetes self-hosted runner is registered to GitHub but the workflow never continues HOT 4
- pr + comment create Error: PR for commit sha not found HOT 14
- Socket hang up when publishing assets HOT 4
- Resource not accessible by integration Http error. HOT 4
- Invalid URL error HOT 4
- Invalid URL error HOT 3
- Error: cml comment create report.md HOT 9
- Token not found error HOT 4
- Stale secret deletion HOT 1
- Error when trying to use `latest-gpu` container inside GitHub actions workflow. HOT 1
- How to setup multiple GPU for CML runner in GCP HOT 2
- Resource not accessble while creating report
- cml runner seems to try and pull images from a quay.io repo instead of dockerhub HOT 6
- Error: URL Parsing Failed {"subject_url":"[email protected]:...\n"} HOT 2
- New Feature HOT 1
- Use of kernel 5.4 in base AWS image HOT 2
- Error: Resource not accessible by integration HOT 1
- How to set instance recreation times count (exceeded maximum number of attempts error on start up)? HOT 1
- Is it possible to provide a comment in a task that is inside an issue in gitlab? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cml.