Questions tagged [codefresh]

19 questions
8
votes
3 answers

How to list Docker images in a Codefresh private registry?

I'm currently using Codefresh's free private registry to store my images. I am using CircleCI for my Docker builds, so from there I use docker login so I can push and pull to the Codefresh registry. This works fine. However, Codefresh only lists…
halfer
  • 19,824
  • 17
  • 99
  • 186
4
votes
0 answers

How to create a drop down pipeline variable in codefresh (CI/CD)

I want to use multiple values for a single pipeline variable in codefresh. For example let say the variable name is ENVIRONMENT and it's values can be env1, env2, env3 ... For such variable creating a dropdown list would immensely helpful I went…
Amit Rout
  • 107
  • 1
  • 7
3
votes
2 answers

Publishing to Gitlab Package Registry with Deploy Tokens

I've created a Codefresh pipeline to deploy an artifact to Gitlab Package Registry. Source code is also in Gitlab. I'm able to publish my artifact using a Gitlab Personal Access Token, but when I try to do it using a Gitlab Deploy Token, it fails…
3
votes
1 answer

Calling a Jenkins job from a Codefresh pipeline fails with: x509: failed to load system roots and no roots provided

I have a Jenkins job which I would like to invoke from my Codefresh pipeline. Using the following example from the Codefresh docs, I have my Codefresh pipeline configured and…
Shemsu
  • 31
  • 1
2
votes
2 answers

How to trigger codefresh hooks based on condition

I am trying to ensure that if our build fails we get notified by slack BUT only for our main branch. Here is our code for the slack notification: hooks: on_fail: steps: notify: image: codefresh/slacknotifier environment: …
Stephen
  • 21
  • 1
1
vote
0 answers

Codefresh allure pytest

I am trying to use allure for code fresh. We are using pytest to generate reports. After I clone the repo, in documentation it is mentioned to running_tests: image: node title: Running Unit tests commands: - npm test - cp -r -f ./allure-results…
Guru
  • 21
  • 3
1
vote
1 answer

Codefresh: How to use assume role in docker registry while adding ecr?

Codefresh takes only 2 params: Access key Secret key I've got assume role to work on local but it requires aws config file etc Any ideas how to use assume role to add ecr to docker registry in Codefresh? Or how to get Access key and Secret key from…
1
vote
1 answer

How do I setup up and deploy Kubeflow with Codefresh

Currently, I deploy python scripts on Kubernetes using Codefresh. I'm looking to incorporate Kubeflow into the deployment plan to get all the Kubeflow goodies such as the UI and all but I'm a little clueless on how to start or where to look. The…
James Lee
  • 25
  • 1
  • 5
0
votes
2 answers

Shell command syntax error in for loop in Codefresh

I have below step to go through for loop. However I'm getting below synatx error. Code: steps: arti_lib_deploy: stage: build image type: freestyle title: "Deploy Libs to Artifactory" image:…
Shabar
  • 2,617
  • 11
  • 57
  • 98
0
votes
0 answers

Codefresh git-commit with husky yarn pre-commit

We are using the git-commit Codefresh step to push updates during a build. We use husky and have pre-commit hooks that rely on yarn. This fails within the step because the dependency is missing. How should we handle these hooks? Here is the current…
0
votes
0 answers

How to export Cypress env vars to pipeline

I am writing an e2e automation with the following Structure setup tests tearDown Each step runs in its docker container How do I export cypress env vars to codefresh pipeline which are created during setup and use them in the container running…
0
votes
1 answer

Trend not appearing within Allure report on Codefresh

Info - https://codefresh.io/docs/docs/testing/test-reports/ allure-testng v2.17.2 aspectjweaver v1.9.6 I currently have test reports being generated within our builds on CodeFresh after following the above document. These are currently being…
0
votes
1 answer

Codefresh Allure Trend

I am using Allure in code fresh. I followed below documentation to configure. https://codefresh.io/docs/docs/testing/test-reports/ But I am not able to see the trends in the allure report. Is there any changes I should do to get trends in the…
Karikaaalan
  • 149
  • 1
  • 8
0
votes
2 answers

C# Selenium Tests on CodeFresh not loading test file

We have a batch of C#/Selenium/xUnit tests running in a CodeFresh pipeline. They all work well apart from 2, these try to upload test files. This works well when run local the code is var filePath = Path.Combine(Environment.CurrentDirectory,…
Kev
  • 121
  • 3
  • 20
0
votes
1 answer

Filtering regressions tests via Docker for CodeFresh

I have a C#/Selenium/Xunit test suite which is running on CodeFresh. The project works well with both the build and run pipelines performing as expect except for one thing, filtering. So in the Test Project we have a set of warmup tests I want to…
Kev
  • 121
  • 3
  • 20
1
2