Comments (7)
from concourse-tutorial.
On Mon, Mar 7, 2016 at 10:17 PM, Dr Nic Williams [email protected]
wrote:
hmm, sorry I thought I tested this all for v0.74; but I did write section
02 when v0.73 was out. I'll debug/fix soon.
Thanks !! If you'd like to copy / paste your debug session terminal
somewhere I'd be happy to read it and learn. Anyway, I'm glad to know that
it doesn't come from my setup :D
from concourse-tutorial.
Hmm, I can't reproduce what you're seeing. Here's what I see:
$ fly -t tutorial e -c inputs_required.yml
targeting http://192.168.100.4:8080
error: missing required input `some-important-input`
$ fly -t tutorial e -c inputs_required.yml -i some-important-input=.
targeting http://192.168.100.4:8080
executing build 2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 10240 0 10240 0 0 1732k 0 --:--:-- --:--:-- --:--:-- 2000k
initializing with docker:///busybox
running ls -alR
.:
total 8
drwxr-xr-x 3 root root 4096 Mar 7 22:06 .
drwxr-xr-x 3 root root 4096 Mar 7 22:06 ..
drwxr-xr-x 1 501 20 104 Mar 7 22:05 some-important-input
./some-important-input:
total 16
drwxr-xr-x 1 501 20 104 Mar 7 22:05 .
drwxr-xr-x 3 root root 4096 Mar 7 22:06 ..
-rw-r--r-- 1 501 20 112 Feb 28 00:51 input_parent_dir.yml
-rw-r--r-- 1 501 20 118 Feb 28 00:51 inputs_required.yml
-rw-r--r-- 1 501 20 79 Feb 28 00:51 no_inputs.yml
succeeded
Perhaps destroy and recreate your concourse-lite? cd .. && vagrant destroy -f && vagrant up
?
from concourse-tutorial.
Thanks a heap for checking, I'm not using vagrant, but concourse binaries
on ubuntu vivid in the cloud:
https://github.com/concourse/concourse/releases/download/v0.74.0/concourse_linux_amd64
I source this file:
export workdir=/etc/concourse
export session_key=$workdir/session-key
export tsa_key=$workdir/tsa-key
export worker_key=$workdir/worker-key
sudo mkdir -p $workdir
sudo chown $(whoami) $workdir
for key in $session_key $tsa_key $worker_key; do
[ -e "$key" ] || ssh-keygen -N '' -t rsa -f "$key"
done
export concourse=$(which concourse)
if [ -z "$concourse" ]; then
echo "'concourse' must be installed someplace in your \$PATH" >&2
exit 1
fi
And then start the worker as such:
#!/bin/bash
set -eux
sudo $concourse worker \
--work-dir $workdir \
--tsa-port 2223 \
--tsa-public-key ${tsa_key}.pub \
--tsa-worker-private-key $worker_key \
--peer-ip 127.0.0.1
And the web as such:
#!/bin/bash
set -e -u -x
exec $concourse web \
--development-mode \
--session-signing-key $session_key \
--tsa-bind-port 2223 \
--tsa-host-key $tsa_key \
--tsa-authorized-keys ${worker_key}.pub
Other examples like 01 and no_input work as expected. Seems like I'll have
to debug my setup. Would you share some of your insight for that purpose ?
from concourse-tutorial.
Perhaps jump on http://slack.concourse.ci/ and chat with core team about
debugging. Cool that you're trying to run it directly. Sorry I can't help.
On Tue, Mar 8, 2016 at 8:48 AM, James Pic [email protected] wrote:
Thanks a heap for checking, I'm not using vagrant, but concourse binaries
on ubuntu vivid in the cloud:https://github.com/concourse/concourse/releases/download/v0.74.0/concourse_linux_amd64
I source this file:
export workdir=/etc/concourse export session_key=$workdir/session-key export tsa_key=$workdir/tsa-key export worker_key=$workdir/worker-key sudo mkdir -p $workdir sudo chown $(whoami) $workdir for key in $session_key $tsa_key $worker_key; do [ -e "$key" ] || ssh-keygen -N '' -t rsa -f "$key" done export concourse=$(which concourse) if [ -z "$concourse" ]; then echo "'concourse' must be installed someplace in your \$PATH" >&2 exit 1 fi
And then start the worker as such:
#!/bin/bash set -eux sudo $concourse worker \ --work-dir $workdir \ --tsa-port 2223 \ --tsa-public-key ${tsa_key}.pub \ --tsa-worker-private-key $worker_key \ --peer-ip 127.0.0.1
And the web as such:
#!/bin/bash set -e -u -x exec $concourse web \ --development-mode \ --session-signing-key $session_key \ --tsa-bind-port 2223 \ --tsa-host-key $tsa_key \ --tsa-authorized-keys ${worker_key}.pub
Other examples like 01 and no_input work as expected. Seems like I'll have
to debug my setup. Would you share some of your insight for that purpose ?—
Reply to this email directly or view it on GitHub
#40 (comment)
.
Dr Nic Williams
Stark & Wayne LLC - consultancy for Cloud Foundry users
http://drnicwilliams.com
http://starkandwayne.com
cell +1 (415) 860-2185
twitter @drnic
from concourse-tutorial.
@jpic Were you able to get help on the Concourse Slack chat? Are you still seeing this issue?
from concourse-tutorial.
@mkb I don't remember, sorry !
from concourse-tutorial.
Related Issues (20)
- task_show_uname.sh gets permission error HOT 2
- Pipeline Resources HOT 1
- Tutorial has an outdated concourse artifact reference in the docker compose HOT 1
- update slack notification to use different slack-notifier resource type
- new lesson suggestion: using pipeline dsl
- fatal : Could not resolve host: github.com HOT 3
- Incorrectly formatted list in the "Getting started" section HOT 1
- Hello World tutorial errors with base resource type not found: docker-image HOT 11
- The mkdocs material theme is not fully functional HOT 4
- Clean up usage of the phrases Pivotal and Pivotal Web Services HOT 4
- concourse container fails to start HOT 7
- Incorrect syntax in tutorial HOT 2
- Failed to start concourse: Failed to open db retrying
- credentials admin / admin not working HOT 1
- Website not accessible HOT 1
- github branch master for gist doesn't work
- initial docker-compose up fails HOT 1
- Is it tutorial broken? HOT 1
- Windows Set up requires more detail
- Tutorial starts and crashes within few seconds 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 concourse-tutorial.