Comments (3)
I can confirm this issue -- I'm unable to use the drone-serverless plugin, as the sls
executable attempts to create a dotfile in /root
upon first run.
from drone-runtime.
hey @paulreimer,
a quick fix you try is overriding the $HOME env variable. Some tools (gcloud, npm, docker) use them to determine where to create a dotfile. Something like the below solved the problem temporarily for me.
- name: container-build-push
image: plugins/docker
privileged: true
settings:
repo: eu.gcr.io/test
registry: eu.gcr.io
tag: ${DRONE_BUILD_NUMBER}
password:
from_secret: google_credentials
username: _json_key
debug: true
environment:
HOME: "/tmp"
from drone-runtime.
fixed by drone/drone-yaml@1e125e1
from drone-runtime.
Related Issues (20)
- gcr: handle config.json with both https://gcr.io and gcr.io
- driver: firecracker
- driver: podman HOT 3
- trim docker for windows errors HOT 1
- kubernetes: support named ports HOT 6
- Allow custom pod annotations (per job) HOT 1
- Allow to set DRONE_RUNNER_LABELS on kubernetes jobs HOT 6
- driver: knative / tekton HOT 18
- kubernetes: support resource qutoas HOT 2
- Empty secret places ******** between every character HOT 1
- [Kubernetes] - missing architecture for amd64 jobs HOT 4
- Kubernetes: Planned Changes / Deprecation / Replacement HOT 10
- bug: unable to cancel HOT 8
- Pipeline pods cannot be scheduled in Drone for Kubernetes HOT 7
- Pipeline shared volume is mounted with `noexec` flag, preventing execution of scripts in source code / local dependencies HOT 3
- failed to create fsnotify watcher: too many open files HOT 1
- DRONE_KUBERNETES_TTL_AFTER_FINISHED HOT 2
- driver: compose HOT 2
- emulate 0.8 networking and bridge network HOT 1
- [feature] support custom volume to mapping source-code when use k8s mode HOT 3
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 drone-runtime.