#codefresh (2018-11)

codefresh

Archive: https://archive.sweetops.com/codefresh/

2018-11-11

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
06:26:02 PM

@Erik Osterman (Cloud Posse) has joined the channel

yurchenko avatar
yurchenko
06:26:12 PM

@yurchenko has joined the channel

yurchenko avatar
yurchenko

kk

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Run something like

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

kubectl get nodes

yurchenko avatar
yurchenko

oh

yurchenko avatar
yurchenko

yeh i can interact with the cluster no prob

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Run that as a build step

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Does that work?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

From the build harness container

yurchenko avatar
yurchenko

okay so you mean add that and then redeploy?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Yea just for debugging. Add before upsert

yurchenko avatar
yurchenko

kk 2 mins

yurchenko avatar
yurchenko

k deploying

yurchenko avatar
yurchenko

i got

yurchenko avatar
yurchenko

“the connection to the server localhost:8080 was refused” for ‘get nodes’

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Ok, so there is a problem with the Kubernetes context

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I saw from your earlier screenshot that it was getting set

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Can we be sure that nothing else has changed? Eg security groups

yurchenko avatar
yurchenko

hmm

yurchenko avatar
yurchenko

i did mess around with security groups

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

:-)

yurchenko avatar
yurchenko

but it weird that it is related

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

But not be… just that would be my first guess where to look

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

The kube api needs to be accessible from 0.0.0.0/0

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Has anything changed related to that?

yurchenko avatar
yurchenko

i had an elastic bean with some security groups and i had to remove them manualy

yurchenko avatar
yurchenko

but it’s strange that it affected the kube cluster all in all i am not sure

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Probably not related

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Unless by accident something else was touched

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Are you able to control the cluster from the geodesic shell?

yurchenko avatar
yurchenko

no i dont have that

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I am afk, so cannot easily take a look

yurchenko avatar
yurchenko

understood no problem

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I would explore connectivity problems. E.g. can you telnet to the 443 port of the Kubernetes api endpoint

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

If you can, then we can rule out firewall issues

yurchenko avatar
yurchenko

i cant ping it

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

If you can’t, then I assume something is wrong with it. Ping is probably blocked.

yurchenko avatar
yurchenko

curk -k give unauthorized

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Ok that’s good

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

So not firewall related

yurchenko avatar
yurchenko

its https

yurchenko avatar
yurchenko

also no http

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Yea

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

I don’t have any tips atm, but can take a look later this afternoon

yurchenko avatar
yurchenko

cool Erik i’d appreciate your help if i can’t solve it

Andriy Knysh (Cloud Posse) avatar
Andriy Knysh (Cloud Posse)
06:59:28 PM

@Andriy Knysh (Cloud Posse) has joined the channel

daveyu avatar
daveyu
10:34:15 PM

@daveyu has joined the channel

stobiewankenobi avatar
stobiewankenobi
10:38:46 PM

@stobiewankenobi has joined the channel

Nikola Velkovski avatar
Nikola Velkovski
07:22:15 AM

@Nikola Velkovski has joined the channel

2018-11-12

tobiaswi avatar
tobiaswi
10:12:39 AM

@tobiaswi has joined the channel

nian avatar
nian
03:53:20 PM

@nian has joined the channel

sarkis avatar
sarkis
04:11:44 PM

@sarkis has joined the channel

2018-11-13

tolstikov avatar
tolstikov
09:50:27 AM

@tolstikov has joined the channel

2018-11-14

Yoann avatar
Yoann
07:14:47 AM

@Yoann has joined the channel

2018-11-21

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@yurchenko how are things going?

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

we’ve released the codefresh cli as part of our alpine repo

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
cloudposse/packages

Cloud Posse installer and distribution of native apps, binaries and alpine packages - cloudposse/packages

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

apk add codefresh

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

@dustinvb

1
dustinvb avatar
dustinvb
08:26:09 PM

@dustinvb has joined the channel

2018-11-23

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
11:30:18 PM

2018-11-27

joshmyers avatar
joshmyers
10:31:57 AM

@joshmyers has joined the channel

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
Test reports

How to create and view Test reports in Codefresh

2018-11-28

dustinvb avatar
dustinvb
Codefresh adds built-in reporting for test results and other custom CI/CD reports - Codefresh

One of the pillars of Continuous Integration is the active use of tests as part of the integration process. Each feature is considered “done” only when it passes all required tests on its own as well as part of a release. Codefresh has always supported the running of unit and integration tests as part of …

2
1
Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)
09:47:14 PM

2018-11-29

daveyu avatar

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
daveyu avatar

oh. I don’t yet have a Makefile in the root of my app’s docker image.

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

sorry! been on calls all afternoon

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

sounds like you figured it out

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

here’s a great roadmap of changes: https://github.com/cloudposse/statup/pull/2

Add helmfile and codefresh by osterman · Pull Request #2 · cloudposse/statup

what Add helmfile for deployment with monochart Add codefresh build manifest why Easy deployment to kubernetes

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

this takes a “virgin” app and adapts it to work for our RE strategy

2018-11-30

Nikola Velkovski avatar
Nikola Velkovski

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) avatar
Erik Osterman (Cloud Posse)

hey @Nikola Velkovski!

Erik Osterman (Cloud Posse) avatar
Erik Osterman (Cloud Posse)

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) avatar
Erik Osterman (Cloud Posse)

@Valdemir can get you some more numbers

Valdemir avatar
Valdemir
06:41:49 PM

@Valdemir has joined the channel

Valdemir avatar
Valdemir

I would be more than happy to do so. @Nikola Velkovski how many builds per month do you anticipate doing?

stobiewankenobi avatar
stobiewankenobi

About tree fiddy

2
Valdemir avatar
Valdemir

Christopher, what you doing here is Nikola with Veritone?

stobiewankenobi avatar
stobiewankenobi

No

stobiewankenobi avatar
stobiewankenobi

I just hang out here

Valdemir avatar
Valdemir

lol…i dont imagine your CEO does too…eh? …. too soon?

stobiewankenobi avatar
stobiewankenobi

hahaha no he does not

Valdemir avatar
Valdemir

:) are we in missing the target territory or is there still a shot for the agreement to be signed today?

Nikola Velkovski avatar
Nikola Velkovski

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 avatar
Nikola Velkovski

Do you need some more information or this is enough?

Valdemir avatar
Valdemir

got it. Perhaps we can switch this to email?

Valdemir avatar
Valdemir

What is a good email to reach you on/

Valdemir avatar
Valdemir

?

Nikola Velkovski avatar
Nikola Velkovski

yup good idea

Nikola Velkovski avatar
Nikola Velkovski

pm

    keyboard_arrow_up