#codefresh - May 2019

btai
btaiover 7 years ago
whats the new unlimited builds pricing model for codefresh going to be like?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
@Oriel Belzer can help
Oriel Belzer
Oriel Belzerover 7 years ago
@Oriel Belzer has joined the channel
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
for additional context see #gitops
Oriel Belzer
Oriel Belzerover 7 years ago
@btai we’re looking to have the model which will be per concurrent steps, so no matter how many build you’re running overall it’s all about the concurrency of steps. Are you looking for specific pricing? Or just general idea of how it will work?
btai
btaiover 7 years ago
Curious what the specific pricing will be
Mark Grube
Mark Grubeover 7 years ago
When are you guys going to roll out the new pricing schema @Oriel Belzer?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
hahah! love this image
dustinvb
dustinvbover 7 years ago
In case anyone missed it (New Features Webinar): https://www.youtube.com/watch?v=z3u5cCV7glo&feature=youtu.be
Michael Kolb
Michael Kolbover 7 years ago
How do you turn off the new projects feature…. It is breaking my ability to work with and launch pipelines
dustinvb
dustinvbover 7 years ago
@Michael Kolb Can you send this information to support@codefresh.io along with some additional details around what items are no longer working after the Project Features implementation? Thank you.
rss
rssover 7 years ago
Docker Hub Planned Maintenance
THIS IS A SCHEDULED EVENT May 4, 16:00 UTC  -  May 5, 02:15 UTC
May 4, 15:04 UTC
Scheduled - Docker Hub will be performing scheduled maintenance this Saturday May 4, 2019 from approximately 9:00AM to 7:15PM, US Pacific Daylight Time (UTC-7). During this window, Docker Hub will be operating in a read-only mode. Registry logins and image pulls will continue to work for a majority of this time frame. Pushes however will generally be unavailable. Maintenance activities, approximate timelines...
rss
rssover 7 years ago
Docker Hub Planned Maintenance
May 4, 16:00 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.
May 4, 15:04 UTC
Scheduled - Docker Hub will be performing scheduled maintenance this Saturday May 4, 2019 from approximately 9:00AM to 7:15PM, US Pacific Daylight Time (UTC-7). During this window, Docker Hub will be operating in a read-only mode. Registry logins and image pulls will continue to work for a majority of this time frame. Pushes however will generally be...
rss
rssover 7 years ago
Docker Hub Planned Maintenance
May 5, 02:16 UTC
Completed - The scheduled maintenance has been completed.
May 4, 16:00 UTC
In progress - Scheduled maintenance is currently in progress. We will provide updates as necessary.
May 4, 15:04 UTC
Scheduled - Docker Hub will be performing scheduled maintenance this Saturday May 4, 2019 from approximately 9:00AM to 7:15PM, US Pacific Daylight Time (UTC-7). During this window, Docker Hub will be operating in a read-only mode. Registry logins and image pulls will continue to work...
rss
rssover 7 years ago
codefresh.io website is down
May 6, 16:00 UTC
Monitoring - Consumer website is back up. We are monitoring.
May 6, 15:59 UTC
Update - We are continuing to work on a fix for this issue.
May 6, 15:56 UTC
Identified - Our consumer facing website is down but you can still log into your services at https://g.codefresh.io

Our hosting provider for our consumer facing site is looking into server issues.
rss
rssover 7 years ago
codefresh.io website is down
May 6, 16:36 UTC
Resolved - This incident has been resolved.
May 6, 16:00 UTC
Monitoring - Consumer website is back up. We are monitoring.
May 6, 15:59 UTC
Update - We are continuing to work on a fix for this issue.
May 6, 15:56 UTC
Identified - Our consumer facing website is down but you can still log into your services at https://g.codefresh.io

Our hosting provider for our consumer facing site is looking into server issues.
rss
rssover 7 years ago
Build initialization issue
May 7, 10:50 UTC
Resolved - We had experienced a 30 minutes issue which affected initializing new builds.
2:51 am - 3:19 am PDT
Nikola Velkovski
Nikola Velkovskiover 7 years ago
You will need to run docker compose in daemon mode.
Nikola Velkovski
Nikola Velkovskiover 7 years ago(edited)
so that execution can continue and you can do testing.
Nikola Velkovski
Nikola Velkovskiover 7 years ago
the database should be inside the docker-compose
Nikola Velkovski
Nikola Velkovskiover 7 years ago
and you will need a waiting script.
Nikola Velkovski
Nikola Velkovskiover 7 years ago
what I do is stick this in the docker-compose for the app

    command:
      - /bin/sh
      - -c
      - |
        while ! nc -z mysql-test 3306; do
          echo "Database is not ready yet."
          sleep 1
        done
Nikola Velkovski
Nikola Velkovskiover 7 years ago
mysql-test is the name of the service in docker-compose
Nikola Velkovski
Nikola Velkovskiover 7 years ago
does this help ?
Nikola Velkovski
Nikola Velkovskiover 7 years ago
also -exit-code-from is helpful https://docs.docker.com/compose/reference/up/
rss
rssover 7 years ago
Codefresh UI doesn't load
May 12, 16:02 UTC
Investigating - We are currently investigating an issue where Codefresh UI doesn't load. Build automatic triggers are not affected.
rss
rssover 7 years ago
Codefresh UI doesn't load
May 12, 16:20 UTC
Resolved - The incident has been resolved
May 12, 16:02 UTC
Investigating - We are currently investigating an issue where Codefresh UI doesn't load. Build automatic triggers are not affected.
dustinvb
dustinvbover 7 years ago
@Olivier Vanden Bos please join me here. We run this community Slack in partnership with Cloud Posse.
Olivier Vanden Bos
Olivier Vanden Bosover 7 years ago
@Olivier Vanden Bos has joined the channel
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
@Olivier Vanden Bos welcome!
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
doing public office hours now: https://zoom.us/j/684901853
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
if anyone has questions on codefresh...
Olivier Vanden Bos
Olivier Vanden Bosover 7 years ago
Can I invite some of my developers to this slack channel ?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
please do - it's open for everyone
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Olivier Vanden Bos
Olivier Vanden Bosover 7 years ago
Question About pushing images to dockerhub
Olivier Vanden Bos
Olivier Vanden Bosover 7 years ago
Freestyle npm step stuck
Michal Matyjek
Michal Matyjekover 7 years ago(edited)
Did you know https://codecov.io/ works with codefresh: https://docs.codecov.io/docs/supported-ci-providers?

I did not realize, since we did code coverage in composition and env variables did not get passed, but after passing these into the composition candidate made it "just work":

- CODECOV_SLUG=${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}
- CF_BUILD_URL=${{CF_BUILD_URL}}
- CF_BUILD_ID=${{CF_BUILD_ID}}
- CF_BRANCH=${{CF_BRANCH}}
- CF_REVISION=${{CF_REVISION}}

(on top of CODECOV_TOKEN)
Michal Matyjek
Michal Matyjekover 7 years ago
^^ we had codecov working on codefresh already, but that just adds extra metadata on the codecov side - like link to build etc.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Thanks for sharing
Mat Geist
Mat Geistover 7 years ago
playing with codefresh, ran into an interesting issue where not including the tag key for the build step, despite it being marked as having a default value in the docs, was throwing this error TypeError: Cannot read property 'branch' of undefined during the initialization process. couldnt find anything about this anywhere so hopefully this helps someone
Mat Geist
Mat Geistover 7 years ago
trying to use the codefresh build-harness to setup pipelines ( https://github.com/cloudposse/build-harness/tree/master/modules/codefresh ), running into an issue Error: Default git context is not specified. according to the spec, context is optional ( https://codefresh-io.github.io/cli/pipelines/spec/ ), and i cant find a reference to what the "auto select branch" option should be. looking at the yaml from an existing pipeline shows only the same 3 options im trying to provide in the spec template (location, repo, path)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Olivier Vanden Bos
Olivier Vanden Bosover 7 years ago
Running out of resources @dustinvb
Olivier Vanden Bos
Olivier Vanden Bosover 7 years ago
General questions about best strategy to generate artifacts ala Jenkins
Mat Geist
Mat Geistover 7 years ago
ive traced my issue down to codefresh create -f failing no matter what i give it, giving me Error: "{\"status\":500,\"code\":\"1001\",\"name\":\"INTERNAL_SERVER_ERROR\",\"message\":\"Internal server error\",\"context\":{}}" not really sure where to go from here
jafow
jafowover 7 years ago
It seems like a step in my codefresh.yml ends and proceeds to the next step before the final command exits
Alejandro Rivera
Alejandro Riveraover 7 years ago
Hi, I'm trying to get a list of files that changed from current branch off a different branch. e.g. git diff $BRANCH --name-only on a pipeline. Seems that that other branches don't get fetched so I ran a git fetch $BRANCH, but git asks for credentials. Got ssh key in place as suggested on the documentation but it's not getting picked up by git. Any ideas on what I'm missing or a workaround for this?
Olivier Vanden Bos
Olivier Vanden Bosover 7 years ago
Cache wiped out on a yml change. is it expected ?
rss
rssover 7 years ago
GitHub Incident: delay in notification deliveries
May 22, 17:18 UTC
Identified - GitHub is experiencing an incident related to their Notifications.
This impacts email and webhook deliveries.

More information here: https://www.githubstatus.com/incidents/nf4gcjtcsqdb
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Public/Free Office Hours with Cloud Posse starting now!!

https://zoom.us/j/684901853
rss
rssover 7 years ago
GitHub Incident: delay in notification deliveries
May 22, 23:46 UTC
Resolved - This incident has been resolved.
May 22, 17:18 UTC
Identified - GitHub is experiencing an incident related to their Notifications.
This impacts email and webhook deliveries.

More information here: https://www.githubstatus.com/incidents/nf4gcjtcsqdb
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
public #office-hours starting now! join us here: https://zoom.us/j/684901853
btai
btaiover 7 years ago
what is happening in “Initializing Process”
btai
btaiover 7 years ago
just started using codefresh and im getting “TypeError: Cannot read property ‘branch’ of undefined”
Mat Geist
Mat Geistover 7 years ago
adding a tag key to the build step fixed that error for me
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
can you share your yaml as a snippet?
btai
btaiover 7 years ago
version: '1.0'
stages:
  - prepare
  - build
steps:
  main_clone:
    title: Cloning repo
    type: git-clone
    repo: '${{CF_REPO_OWNER}}/${{CF_REPO_NAME}}'
    revision: '${{CF_REVISION}}'
    stage: prepare
    git: github
  build_docker_image:
    title: Building Docker Image
    type: build
    stage: build
    image_name: bug-tracker
    working_directory: ./
    dockerfile: Dockerfile
btai
btaiover 7 years ago
haha
btai
btaiover 7 years ago
adding tag to build_docker_image
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
aha! yes
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
btai
btaiover 7 years ago
do we get docker layer caching automatically w/codefresh
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
yes
btai
btaiover 7 years ago
the ui is so nice :party_parrot:
erik
erikover 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
example of layer caching working ☝️
btai
btaiover 7 years ago
i see a borken image
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
in slack?
btai
btaiover 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
wierd
Mat Geist
Mat Geistover 7 years ago
yeah slack does that sometimes.. refreshing or clicking will show it
Andriy Knysh (Cloud Posse)
Andriy Knysh (Cloud Posse)over 7 years ago
if you click on it, it shows
btai
btaiover 7 years ago
i see it now
btai
btaiover 7 years ago
do you guys use the codefresh image registry too?
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
yep
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
we use that and ECR
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
for simpler setups without the requirements of ECR use the codefresh registry
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
ECR is trickier plus max 1000 tags per repo
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
(which means you cannot use same repo for prod and ci)
btai
btaiover 7 years ago
i see
btai
btaiover 7 years ago
bout to test out this layer caching 😛
btai
btaiover 7 years ago(edited)
circle charges for it and its super fickle (barely ever works). but i believe codefresh has a persistent volume per account
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
PV per pipeline
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
i believe
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
@dustinvb
btai
btaiover 7 years ago
amazing
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
here are our pipelines to get you started
btai
btaiover 7 years ago
how come your build_image doesnt require tag 🤔
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago
i think this is a recent thing
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 7 years ago(edited)
none of our pipelines have it, but they started breaking
btai
btaiover 7 years ago
ah
dustinvb
dustinvbover 7 years ago
Yes, very recent. Already contacted my team about this to update in our docs.
dustinvb
dustinvbover 7 years ago
And Yes PV per pipeline. When successful volume stored for next pipeline execution./
btai
btaiover 7 years ago
are we supposed to setup the webhook in gh ourselves or does codefresh do that automatically for us?
btai
btaiover 7 years ago
btai
btaiover 7 years ago
i see that, but no webhook was created in my repo
btai
btaiover 7 years ago
i just created it myself (not sure if the above is a bug or im understanding it incorrectly)
dustinvb
dustinvbover 7 years ago
This should be happening automatically. Can you send me the time you setup the GIT Trigger, Trigger Name and the Pipeline you created this trigger on? I am also assuming you're using GH SaaS?
btai
btaiover 7 years ago
what do you mean GH Saas?
dustinvb
dustinvbover 7 years ago(edited)
btai
btaiover 7 years ago
yeah
btai
btaiover 7 years ago
So i had a git push that didnt trigger at this time Thu May 30 13:07:03 2019 -0700
btai
btaiover 7 years ago
thats PST btw
dustinvb
dustinvbover 7 years ago
You said the webhook was not under the repository settings?
dustinvb
dustinvbover 7 years ago
You had to add manually?
btai
btaiover 7 years ago
dming you privately
btai
btaiover 7 years ago
is there a way to resync your github repositories on codefresh? I created a new repo for shared codefresh configs (build, deploy, etc) and I’m trying to select that repo in the dropdown but it doesn’t show up
dustinvb
dustinvbover 7 years ago
This should be syncing automatically but we could be seeing some cache at work here. Can you gather your OS and Browser and send that over to our support team using the Intercom Chat Bubble widget?
btai
btaiover 7 years ago
is there a way to delete/update helm repos in the codefresh ui?