#codefresh

codefresh

Archived
02,278

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

erik
erikover 2 years ago
archived the channel
Oliver
Oliverover 5 years ago
Hey guys, question, once you got your tests and deployments automated, what was your strategy for one-off tasks? I mean for those cases where you need to run a command or an app method to quickly fix an issue
btai
btaiover 5 years ago
do end users of codefresh need to do anything about the kubernetes dockershim deprecation in late 2021? I know that it'll break the popular docker in docker pattern that is used by alot of CI providers, so I'm wondering if that's something we need to worry about on our end. https://kubernetes.io/blog/2020/12/02/dont-panic-kubernetes-and-docker/
Michal Matyjek
Michal Matyjekover 5 years ago
trying to figure out array merging with yaml anchors in codefresh.yml

this should work, I think:
indicators:
  - environment:
      &aws_regions
      AWS=us-east-1,us-east-2,us-west-2

steps:
  test:
    environment:
      - *aws_regions
      - CLUSTER=us-1-west

but codefresh validate fails with: "0" must be a string. Current value: [object Object]
dustinvb
dustinvbover 5 years ago
@Erik Osterman (Cloud Posse) Appreciate the attention you brought to Codefresh :superfresh:! Let me know if we can ever help out with things.

I am sure you're already aware but we're committed to maintaining the following Terraform provider for Codefresh.

https://github.com/codefresh-io/terraform-provider-codefresh
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 5 years ago
dustinvb
dustinvbover 5 years ago
@Laurent Rochette See above.
dustinvb
dustinvbover 5 years ago
This is excellent! ☝️ We've got other ways of doing this through GLOB expressions on file changes but this is pretty cool approach as well very dynamic way to generate pipelines with little recoding. I do have to ask though are you seeing more desire for this over our 1 to many pipeline to GIT projects capabilities. I've been working with most prospects and we often make 3 common pipelines. 1 to programmatically update the pipeline other 2 (CI/CD) and GIT Projects associated. I am going to invite our Codefresh TAM working in this area to the channel here to review what you've put together.
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 5 years ago
Also, here's a sample catalog of pipelines for a kubernetes microservice (that we use) https://github.com/cloudposse/codefresh/tree/main/specs/microservice
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 5 years ago
@dustinvb ☝️
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 5 years ago
name: codefresh
on:
  push:
    branches:
      - main
    paths:
      # When this file is merged to the default branch, then perform codefresh CRUD
      - '.github/workflows/codefresh.yml'
  # Synchronize pipelines with Codefresh nightly
  schedule:
    - cron:  '0 0 * * *'

jobs:
  pipeline-creator:
    runs-on: ubuntu-latest
    steps:
      - uses: cloudposse/actions/codefresh/pipeline-creator@0.25.0
        with:
          # GitHub owner and repository name of the application repository
          repo: "${{ github.repository }}"
          # Codefresh project name to host the pipelines
          cf_project: "${{ github.event.repository.name }}"
          # URL of the repository that contains Codefresh pipelines and pipeline specs
          cf_repo_url: "<https://github.com/cloudposse/codefresh.git>"
          # Version of the repository that contains Codefresh pipelines and pipeline specs
          cf_repo_version: "0.1.0"
          # Pipeline spec type (microservice, spa, serverless)
          cf_spec_type: "microservice"
          # A comma separated list of pipeline specs to create the pipelines from
          cf_specs: "preview,build,deploy,release,destroy"
        env:
          GITHUB_USER: "xxxxxxxxx-bot"
          # Global organization secrets
          GITHUB_TOKEN: "${{ secrets.CF_GITHUB_TOKEN }}"
          CF_API_KEY: "${{ secrets.CF_API_KEY }}"
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 5 years ago
this allows for centralized management of pipelines so that individual repos only need to specify a single action referencing a catalog of pipelines (E.g. a microservice catalog, an spa catalog, etc)
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)over 5 years ago
We've released our GitHub action for managing codefresh pipelines: https://github.com/cloudposse/actions/tree/master/codefresh/pipeline-creator
Michal Matyjek
Michal Matyjekover 5 years ago(edited)
conditional execution of Codefresh steps based on files modified pattern?

For monorepos - seems like nothing out of the box that would allow us to execute specific steps only if specific files get modified. For example run stepA, stepB if files in serviceA/* were modifed, but do not run these steps if files in serviceB/* were modified.

Got some good suggestions from Codefresh on scripting this, but wondering if anyone else hit this/has a step ready?
chris
chrisalmost 6 years ago
chris
chrisalmost 6 years ago(edited)
I searched the archives but couldn’t find anything, so hopefully this isn’t a duplicate.
I am trying to post to slack for preview environments but can’t seem to get the url to be clickable. I think if the scheme was included then slack would show it as a link. I tried adding the APP_HOST ENV variable but it doesn’t seem to have an effect.

Any suggestings besides forking build-harness?

Here is my codefresh step
send_slack_notification:
    title: Send notification to Slack channel
    stage: Deploy
    image: cloudposse/build-harness:0.46.0
    working_directory: /build-harness
    environment:
      - GIT_COMMIT_SHORT=${{CF_SHORT_REVISION}}
      - GIT_COMMIT_URL=${{CF_COMMIT_URL}}
      - GIT_COMMIT_MESSAGE=${{CF_COMMIT_MESSAGE}}
      - GIT_COMMIT_AUTHOR=${{CF_COMMIT_AUTHOR}}
      - GIT_BRANCH_TAG=${{CF_BRANCH_TAG_NORMALIZED}}
      - APP_HOST=${{APP_SCHEME}}://${{APP_HOST}}
    commands:
    - make codefresh/notify/slack/deploy/webapp GIT_COMMIT_TIMESTAMP=$((${{CF_BUILD_TIMESTAMP}}/1000))
    when:
      condition:
        any:
          deployLabel: "match('${{CF_PULL_REQUEST_LABELS}}', 'deploy', false) == true"
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 6 years ago
I've deleted the RSS feeds fro mthis channel to reduce the noise
Erik Osterman (Cloud Posse)
Erik Osterman (Cloud Posse)almost 6 years ago
rss
rssalmost 6 years ago
Global volume mounts in the Codefresh runner - documentation ()
(Feed generated with FetchRSS)
rss
rssalmost 6 years ago(edited)
Codefresh Incident - Builds are stuck in Pending
Nov 13, 19:30 UTC
Resolved - This incident has been resolved.Nov 13, 02:09 UTC
Monitoring - We found an issue related to our YAML validation process, resulting in resource exhaustion of its underlying service.
Our engineers have fixed this issue and we are currently monitoring the system.Nov 12, 22:52 UTC
Identified - We have identified the root cause of the issue and working towards recovering the system. You may still experience some performance degradation in our Codefresh appNov 12, 20:45...
rss
rssalmost 6 years ago(edited)
Codefresh Incident - Builds are stuck in Pending
Nov 13, 02:09 UTC
Monitoring - We found an issue related to our YAML validation process, resulting in resource exhaustion of its underlying service.
Our engineers have fixed this issue and we are currently monitoring the system.Nov 12, 22:52 UTC
Identified - We have identified the root cause of the issue and working towards recovering the system. You may still experience some performance degradation in our Codefresh appNov 12, 20:45 UTC
Update - Builds are stuck in "Pending" status.
The team...
rss
rssalmost 6 years ago(edited)
Codefresh Incident - Builds are stuck in Pending
Nov 12, 22:52 UTC
Identified - We have identified the root cause of the issue and working towards recovering the system. You may still experience some performance degradation in our Codefresh appNov 12, 20:45 UTC
Update - Builds are stuck in "Pending" status.
The team is working to resolve the issue.Nov 12, 19:26 UTC
Investigating - We are currently investigating this issue.
rss
rssalmost 6 years ago
Codefresh Incident - Builds are stuck in Pending
Nov 12, 20:45 UTC
Update - Builds are stuck in "Pending" status.
The team is working to resolve the issue.Nov 12, 19:26 UTC
Investigating - We are currently investigating this issue.
rss
rssalmost 6 years ago(edited)
Codefresh Incident - Degraded performance scheduling builds
Nov 12, 19:26 UTC
Investigating - We are currently investigating this issue.
rss
rssalmost 6 years ago(edited)
Codefresh Incident - Degraded performance scheduling builds
Nov 12, 19:26 UTC
Investigating - We are currently investigating this issue.
rss
rssalmost 6 years ago(edited)
Codefresh Incident - Builds are stuck in pending
Nov 12, 18:17 UTC
Resolved - This incident has been resolved.Nov 12, 17:20 UTC
Monitoring - The platform is operational at the moment, we're keep monitoring the situationNov 12, 17:17 UTC
Identified - The issue has been identified and a fix is being implemented.Nov 12, 16:26 UTC
Investigating - We are currently investigating this issue.
rss
rssalmost 6 years ago
Codefresh Incident - Builds are stuck in pending
Nov 12, 17:20 UTC
Monitoring - The platform is operational at the moment, we're keep monitoring the situationNov 12, 17:17 UTC
Identified - The issue has been identified and a fix is being implemented.Nov 12, 16:26 UTC
Investigating - We are currently investigating this issue.
rss
rssalmost 6 years ago(edited)
Codefresh Incident - Builds are stuck in pending
Nov 12, 16:26 UTC
Investigating - We are currently investigating this issue.
rss
rssalmost 6 years ago
Using Google for SSO - documentation ()
(Feed generated with FetchRSS)
rss
rssalmost 6 years ago
Upgrade Codefresh on-prem - documentation ()
(Feed generated with FetchRSS)
rss
rssabout 6 years ago
Setting-up Helm Triggers in your Codefresh pipeline with the Codefresh UI - documentation ()
(Feed generated with FetchRSS)
rss
rssabout 6 years ago
Problem with ArgoCD integration.
Nov 3, 10:49 UTC
Resolved - This incident has been resolved.Nov 3, 10:40 UTC
Update - Bitbucket contexts are now working.Nov 3, 10:00 UTC
Update - Some of Bitbucket contexts are not working, we're working at the moment to fix thisNov 3, 09:54 UTC
Identified - The issue has been identified and a fix is implementing.Nov 3, 09:23 UTC
Investigating - We are currently investigating this issue.
rss
rssabout 6 years ago(edited)
Problem with ArgoCD integration.
Nov 3, 10:40 UTC
Update - Bitbucket contexts are now working.Nov 3, 10:00 UTC
Update - Some of Bitbucket contexts is not working, we're working at the moment to fix thisNov 3, 09:54 UTC
Identified - The issue has been identified and a fix is implementing.Nov 3, 09:23 UTC
Investigating - We are currently investigating this issue.
rss
rssabout 6 years ago
Problem with ArgoCD integration.
Nov 3, 10:00 UTC
Update - Some of Bitbucket contexts is not working, we're working at the moment to fix thisNov 3, 09:54 UTC
Identified - The issue has been identified and a fix is implementing.Nov 3, 09:23 UTC
Investigating - We are currently investigating this issue.
rss
rssabout 6 years ago
Problem with ArgoCD integration.
Nov 3, 09:54 UTC
Identified - The issue has been identified and a fix is being implementing.Nov 3, 09:23 UTC
Investigating - We are currently investigating this issue.
rss
rssabout 6 years ago(edited)
Problem with ArgoCD integration.
Nov 3, 09:23 UTC
Investigating - We are currently investigating this issue.
rss
rssabout 6 years ago
Simplified Git operations with the App Proxy for the Codefresh runner - documentation ()
(Feed generated with FetchRSS)
rss
rssabout 6 years ago
Using the GitHub Container registry as Docker registry - documentation ()
(Feed generated with FetchRSS)
rss
rssabout 6 years ago
Codefresh availability issue
Oct 15, 13:32 UTC
Resolved - This incident has been resolved.Oct 15, 13:31 UTC
Update - We are continuing to monitor for any further issues.Oct 15, 13:30 UTC
Monitoring - A fix has been implemented and we are monitoring the results.Oct 15, 11:09 UTC
Identified - The issue has been identified and a fix will be implemented in ~1 hour.Oct 15, 07:24 UTC
Update - We are continuing to investigate this issue.Oct 15, 07:20 UTC
Investigating - We are currently investigating this issue.
rss
rssabout 6 years ago(edited)
Codefresh availability issue
Oct 15, 13:31 UTC
Update - We are continuing to monitor for any further issues.Oct 15, 13:30 UTC
Monitoring - A fix has been implemented and we are monitoring the results.Oct 15, 11:09 UTC
Identified - The issue has been identified and a fix will be implemented in ~1 hour.Oct 15, 07:24 UTC
Update - We are continuing to investigate this issue.Oct 15, 07:20 UTC
Investigating - We are currently investigating this issue.
rss
rssabout 6 years ago(edited)
Codefresh availability issue
Oct 15, 11:09 UTC
Identified - The issue has been identified and a fix will be implemented in ~1 hour.Oct 15, 07:24 UTC
Update - We are continuing to investigate this issue.Oct 15, 07:20 UTC
Investigating - We are currently investigating this issue.
rss
rssabout 6 years ago(edited)
Codefresh availability issue
Oct 15, 07:24 UTC
Update - We are continuing to investigate this issue.Oct 15, 07:20 UTC
Investigating - We are currently investigating this issue.
rss
rssabout 6 years ago
Codefresh availability issue
Oct 15, 07:24 UTC
Update - We are continuing to investigate this issue.Oct 15, 07:20 UTC
Investigating - We are currently investigating this issue.
rss
rssabout 6 years ago(edited)
Codefresh availability issue
Oct 15, 07:20 UTC
Investigating - We are currently investigating this issue.
rss
rssabout 6 years ago(edited)
Bitbucket has reported an Incident
Oct 7, 06:58 UTC
Resolved - This incident has been resolved.Oct 6, 19:09 UTC
Monitoring - A fix has been implemented and we are monitoring the results.Oct 6, 15:39 UTC
Identified - Update from Bitbucket:
Our team is working on it with highest priority and it also affects PR creation, performance besides webhooks and pipelines.Oct 6, 10:58 UTC
Investigating - Incident description from BitBucket:
We are investigating an issue with webhooks not being triggered that is impacting some...
rss
rssabout 6 years ago(edited)
Bitbucket has reported an Incident
Oct 6, 19:09 UTC
Monitoring - A fix has been implemented and we are monitoring the results.Oct 6, 15:39 UTC
Identified - Update from Bitbucket:
Our team is working on it with highest priority and it also affects PR creation, performance besides webhooks and pipelines.Oct 6, 10:58 UTC
Investigating - Incident description from BitBucket:
We are investigating an issue with webhooks not being triggered that is impacting some Atlassian Bitbucket Cloud customers. We will provide more details...
rss
rssabout 6 years ago(edited)
Bitbucket has reported an Incident
Oct 6, 15:39 UTC
Identified - Update from Bitbucket:
Our team is working on it with highest priority and it also affects PR creation, performance besides webhooks and pipelines.Oct 6, 10:58 UTC
Investigating - Incident description from BitBucket:
We are investigating an issue with webhooks not being triggered that is impacting some Atlassian Bitbucket Cloud customers. We will provide more details within the next hour.

Link: https://bitbucket.status.atlassian.com/incidents/djd8crmbv1cb
rss
rssabout 6 years ago(edited)
Bitbucket has reported an Incident
Oct 6, 10:58 UTC
Investigating - Incident description from BitBucket:
We are investigating an issue with webhooks not being triggered that is impacting some Atlassian Bitbucket Cloud customers. We will provide more details within the next hour.

Link: https://bitbucket.status.atlassian.com/incidents/djd8crmbv1cb
rss
rssabout 6 years ago
DockerHub rate limit issue - documentation ()
(Feed generated with FetchRSS)
rss
rssabout 6 years ago
Codefresh availability
Sep 29, 14:10 UTC
Resolved - This incident has been resolved.Sep 29, 13:44 UTC
Monitoring - Issue have been resolved and system is fully operational, we're still monitoring the statusSep 29, 13:21 UTC
Update - We are continuing to investigate this issue.Sep 29, 13:17 UTC
Investigating - We're experiencing an issue with loading our website, and are investigating the root cause