Latest Threads

Page 2
question

Function container execution

How to execute function container (B) from another function container (A)? More details: I want to execute container A function and inside execution process I want to decide (based on some paramaters passed to the function and additional logic) how many function B I want to execute (how many containers with B function I want to start).

avatar
5
random

YAML is one of my least favorite things.

I've never liked YAML ... probably for the same reason I've never liked python. Indent-sensitive configs? Gross.

... but I know so many of you love YAML. :(

avatar
platform
3
feature-request

Cancel pipeline runs

Sometimes, especially when building new pipelines, I've found it all too easy to trigger a new pipeline run, only to realize shortly afterward that I need to make a minor update before being satisfied with the result.

In these situations, I often wish I could stop the ongoing pipeline run and trigger a fresh one immediately. Currently, I have to wait until the queued pipeline runs finish before I can test the most up-to-date version of the pipeline I'm working on.

avatar
2
feature-request

Support Build Secrets (--secret) flag when building a docker image

Add support for Build Secrets (--secret) when building an image. Not sure how it'd work but currently the only way I can see for how to pass authentication credentials that are usable down-stream within the Dockerfile is to pass build args, which is insecure and emitted in Depot etc

Specific use-case is npm authentication.

avatar
2
feature-request

Support Magic Variables in Pipelines -> Create Image Source

I'd like to set up a pipeline which can take the branch name as an argument and spins up a new environment using that branch, however it appears that Magic Variables aren't supported in the "Git Repo Branch" or Ref Type -> "Ref Value"

avatar
3
feature-request

Inconsistency in UI between Soruces -> Create Source and Pipelines -> Create Source

Minor nitpick here, but it initially lead me down the path of thinking that one couldn't use git as a source for Create Image in Pipelines. Please see attached images :)

avatar
6
feature-request

Cannot edit replies to posts, cannot scroll reply box on mobile

If we can edit the original post, it kind of makes sense to me that we should be able to edit replies?

Also, the reply text box cannot be scrolled by swiping up and down on Android, need to select the cursor and drag it up and down đź‘Ť

avatar
3
feature-request

Support pasting 2fa codes when logging in on android

Currently when signing in on Android, the 2FA code cannot be pasted in (only pastes the first number in the first box).

avatar
2
feature-request

Support using worker nodes for docker builds

I have a docker builds which takes more than 10 minutes, and it times out on Depot. I'd prefer to use some of the compute I'm already paying for in my worker nodes for building, so I think it'd make sense to be able to select one of the clusters in the hub as a target for where the docker image will build. Also potentially moves some of the load off the built in cycle builder.

avatar
4
feature-request

Saving Credentials/Fields

Saved Credentials/fields

→ Proposed basis

→ → Can be singular fields, not provider-specific → → Can be used anywhere text can be used → → Maybe two variants, one for cleartext fields and one for sensitive fields.

→ Use case

→ → For configuring multiple entities/objects that utilize the same keys, most providers don’t allow you to view credentials after generating, so would be handy.

avatar
4
question

Instances

I am looking to restart an instance using the Cycle API based on some application logic. I tried going through the documentation but could not find anything to restart an instance through the API. Am I missing something? Any help would be appreciated. Docs I was going through: https://api.docs.cycle.io/tag/Instances Thank you!

avatar
2
question

How to mount a file in a container via stack files

I'm using a stack file (cycle.json) in my repo and I have a container for grafana which needs a config file mounted in the container. I know I can update this file in the portal but is there a way to define the file in the stack file so I can just update it in code?

avatar
1
question

[FAQ] Mounting Files in Containers on Cycle

This post is made by a Cycle employee highlighting a commonly asked question. It's being placed here for visibility, questions, feedback, feature requests, and general discussion.

The most direct way to do this is by using the file type scoped variable. This allows a user to mount a file at either a default path, provided by the platform, or at the path of their choosing. For binary file types, there is a base64 decode feature that will automatically decode any base64 encoded file on read.

Another popular way to mount files into container(s) is through shared mounts. This allows a remote filesystem (like EFS) to be mounted to a server and then allows containers on that server to opt into those files being available.

Have a specific use case you can't quite decided which approach is right for? Want some feedback on your implementation?

We'd love to hear your questions or successes here in the replies!

avatar
platform
0
question

[FAQ] Docker Compose Converter to Cycle Stack File

This post is made by a Cycle employee highlighting a commonly asked question. It's being placed here for visibility, questions, feedback, feature requests, and general discussion.

If you're moving a project from Docker Compose to a Cycle Stack File, converting from one format to the other is a process worth automating.

Users can now visit the Docker Compose Converter from the Toolbox section of the website and they can easily paste in a docker compose file and get a cycle.json file out.

If you've used this tool we'd love to hear about your experience in the replies or creating a new thread with feedback, questions, or a request for new functionality!

avatar
platform
0
question

Deployments for monorepos

How should I structure a deployment for multiple services inside a monorepo?

avatar
2
question

Where do I find the build log for a stack image

I've hit an error creating a stack and I wanted to find the build log for a stack image but Im not seeing it.

avatar
3
feedback

Cycle Portal and Community Logout

I just noticed something with the community site. When I log out of the Cycle portal, it doesn't log me out of the community site. I have to log out manually from the community site.

However, if I log out of the community site, it logs me out of the Cycle portal.

Sometimes I have to log in to different Cycle accounts depending on the project I'm working on, so I almost posted as someone else on the community site by accident even though I logged into my main account on the portal.

avatar
3
feedback

curl IPv6 Race Condition and Discovery Service Workaround

My team and I recently ran into an issue with curl where it would randomly error out with "host not found" when trying to ping a specific URL.

Here is how the Cycle team described it to me:

"it's a race condition that exists within that version of curl where it doesn't know what to do when it gets a "no ip found" for ipv6"

While this has been fixed in newer versions, those aren't available on our version of Debian.

As a workaround, we've added a custom DNS resolution record for that URL in the Discovery service in Cycle.

I hope this helps anyone else facing the same issue! Thank you to the Cycle team for your help with this.

avatar
3
question

How to set files into specific path during the deployment?

Hi There,

We want to deploy the latest update to production. But.. there are some RSA pair keys that we need to have when the release deployed to production. The RSA key files are not pushed into git repository for security reason.

So.. the idea is, we need those key pair to be available in our production server everytime we deploy the latest update into production. How we can do that? Similar like ENV variables, but this time the value is "file"

avatar
1
feedback

Love the immediate support for any and every issue that comes up in deployment.

Chris and Jake have been invaluable to us on countless occasions answering questions and getting to the bottom of any concerns of ours along the deployment process. Props to them and Cycle for top-tier support!

avatar
2
v2024.10.16 © 2024 Petrichor Holdings, Inc.