-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for using a local now.json #4
base: master
Are you sure you want to change the base?
Conversation
add stuff from lucap
Hi @one000mph, |
@@ -2,7 +2,7 @@ pipeline: | |||
docker: | |||
image: plugins/docker | |||
secrets: [ docker_username, docker_password ] | |||
repo: lucap/drone-now | |||
repo: andyet/drone-now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you remove this change ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack yes, sorry I always forget
.gitignore
Outdated
@@ -0,0 +1 @@ | |||
test.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not included in your commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not commit it intentionally. It's a very short script that sets some environment vars and runs script.sh. It allows me to test on our org but contains a token so I did not commit it. I removed from the branch.
If you set flags on the CLI e.g.
|
local_config
parameter (usuallynow.json
in the pipeline step. If it exists, it uses the options set in the file and ignores any duplicate parameters in the pipeline step (e.g. if"name"
innow.json
anddeploy_name:
in.drone.yml
are both set it uses "name" fromnow.json
)now.json
the plugin runs thealias
commandnow.json
the plugin runs thescale
commandOther Notes
to
if <condition>; then
scale:
parameter in docs