#codefresh - November 2018

November 2018
erik
erikalmost 8 years ago
@Erik Osterman (Cloud Posse) has joined the channel
yurchenko
yurchenkoalmost 8 years ago
@yurchenko has joined the channel
erik
erikalmost 8 years ago
has renamed the channel from "cofefresh" to "codefresh"
yurchenko
yurchenkoalmost 8 years ago
kk
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Run something like
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
kubectl get nodes
yurchenko
yurchenkoalmost 8 years ago
oh
yurchenko
yurchenkoalmost 8 years ago
yeh i can interact with the cluster no prob
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Run that as a build step
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Does that work?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
From the build harness container
yurchenko
yurchenkoalmost 8 years ago
okay so you mean add that and then redeploy?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Yea just for debugging. Add before upsert
yurchenko
yurchenkoalmost 8 years ago
kk 2 mins
yurchenko
yurchenkoalmost 8 years ago
k deploying
yurchenko
yurchenkoalmost 8 years ago
i got
yurchenko
yurchenkoalmost 8 years ago
"the connection to the server localhost:8080 was refused" for 'get nodes'
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Ok, so there is a problem with the Kubernetes context
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
I saw from your earlier screenshot that it was getting set
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Can we be sure that nothing else has changed? Eg security groups
yurchenko
yurchenkoalmost 8 years ago
hmm
yurchenko
yurchenkoalmost 8 years ago
i did mess around with security groups
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
:-)
yurchenko
yurchenkoalmost 8 years ago
but it weird that it is related
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
But not be... just that would be my first guess where to look
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago(edited)
The kube api needs to be accessible from 0.0.0.0/0
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Has anything changed related to that?
yurchenko
yurchenkoalmost 8 years ago
i had an elastic bean with some security groups and i had to remove them manualy
yurchenko
yurchenkoalmost 8 years ago(edited)
but it's strange that it affected the kube cluster all in all i am not sure
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Probably not related
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Unless by accident something else was touched
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Are you able to control the cluster from the geodesic shell?
yurchenko
yurchenkoalmost 8 years ago
no i dont have that
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
I am afk, so cannot easily take a look
yurchenko
yurchenkoalmost 8 years ago
understood no problem
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
I would explore connectivity problems. E.g. can you telnet to the 443 port of the Kubernetes api endpoint
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
If you can, then we can rule out firewall issues
yurchenko
yurchenkoalmost 8 years ago
i cant ping it
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
If you can’t, then I assume something is wrong with it. Ping is probably blocked.
yurchenko
yurchenkoalmost 8 years ago
curk -k give unauthorized
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Ok that’s good
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
So not firewall related
yurchenko
yurchenkoalmost 8 years ago
its https
yurchenko
yurchenkoalmost 8 years ago
also no http
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Yea
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
I don’t have any tips atm, but can take a look later this afternoon
yurchenko
yurchenkoalmost 8 years ago
cool Erik i'd appreciate your help if i can't solve it
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)almost 8 years ago
@Andriy Knysh (Cloud Posse) has joined the channel
Dave Yu
Dave Yualmost 8 years ago
@Dave Yu has joined the channel
stobiewankenobi
stobiewankenobialmost 8 years ago
@stobiewankenobi has joined the channel
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
@Nikola Velkovski has joined the channel
tobiaswi
tobiaswialmost 8 years ago
@tobiaswi has joined the channel
nian
nianalmost 8 years ago
@nian has joined the channel
sarkis
sarkisalmost 8 years ago
@sarkis has joined the channel
Alexander Tolstikov
Alexander Tolstikovalmost 8 years ago
@Alexander Tolstikov has joined the channel
Yoann
Yoannalmost 8 years ago
@Yoann has joined the channel
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
@yurchenko how are things going?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
---
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
we've released the codefresh cli as part of our alpine repo
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
apk add codefresh
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
😃
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
@dustinvb ☝️
dustinvb
dustinvbalmost 8 years ago
@dustinvb has joined the channel
erik
erikalmost 8 years ago
joshmyers
joshmyersalmost 8 years ago
@joshmyers has joined the channel
dustinvb
dustinvbalmost 8 years ago
erik
erikalmost 8 years ago
Dave Yu
Dave Yualmost 8 years ago
what am I doing wrong here…
from codefresh yaml:
  semver:
    title: Export semantic version
    stage: Prepare
    image: cloudposse/build-harness:${{BUILD_HARNESS_VERSION}}
    commands:
    - set -o pipefail
    - make git/export | tee -a ${{CF_VOLUME_PATH}}/env_vars_to_export
    - make semver/export | tee -a ${{CF_VOLUME_PATH}}/env_vars_to_export
    - make codefresh/pipeline/export | tee -a ${{CF_VOLUME_PATH}}/env_vars_to_export


log output:

Running freestyle step: Export semantic version
Pulling image cloudposse/build-harness:0.14.8
Digest: sha256:3eecf7f78600e17b9245521b9ac656884d69be488376b47ddc322988b8008c46
Status: Image is up to date for cloudposse/build-harness:0.14.8
make: *** No rule to make target 'git/export'.  Stop.
[31m[SYSTEM] Error: Failed to run freestyle step: Export semantic version; caused by NonZeroExitCodeError: Container for step title: Export semantic version, step type: freestyle, operation: Freestyle step failed with exit code: 2[0m
Dave Yu
Dave Yualmost 8 years ago
oh. I don’t yet have a Makefile in the root of my app’s docker image.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
sorry! been on calls all afternoon
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
sounds like you figured it out
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
here's a great roadmap of changes: https://github.com/cloudposse/statup/pull/2
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
this takes a "virgin" app and adapts it to work for our RE strategy
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
Hi, does someone want's to talk about our lord and saviour codefresh, and how much will it cost ( approx ) to get let's say 20 concurent builds ? 🙂
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
hey @Nikola Velkovski!
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
we’re not usually involved in that side of the negotiations. i think all of our customers have been quite happy.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 8 years ago
@Valdemir can get you some more numbers
Valdemir
Valdemiralmost 8 years ago
@Valdemir has joined the channel
Valdemir
Valdemiralmost 8 years ago
I would be more than happy to do so. @Nikola Velkovski how many builds per month do you anticipate doing?
stobiewankenobi
stobiewankenobialmost 8 years ago
About tree fiddy
Valdemir
Valdemiralmost 8 years ago(edited)
Christopher, what you doing here 🙂 is Nikola with Veritone?
stobiewankenobi
stobiewankenobialmost 8 years ago
No
stobiewankenobi
stobiewankenobialmost 8 years ago
I just hang out here
Valdemir
Valdemiralmost 8 years ago
lol...i dont imagine your CEO does too...eh? .... too soon? 😂
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
THanks @Erik Osterman (Cloud Posse) @Valdemir sorry I was afk , so I'd say 20 although I am not sure about the exact number but max would be 20 with the SaaS option
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
Do you need some more information or this is enough?
Valdemir
Valdemiralmost 8 years ago
got it. Perhaps we can switch this to email?
Valdemir
Valdemiralmost 8 years ago
What is a good email to reach you on/
Valdemir
Valdemiralmost 8 years ago
?
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
yup good idea
Nikola Velkovski
Nikola Velkovskialmost 8 years ago
pm 🙂
erik
erikalmost 8 years ago
set the channel topic: :codefresh:
No earlier messagesBrowse by dateDecember 2018