Questions

Page 1
question

Pipeline run status doesn't terminate to `failed` or similar when there is an error

Hello,

I'm integrating with the pipeline API, and it seems like pipeline runs don't go to a final state assigned when they error out. I’ve created and queried a couple of errored out runs and they all have a status block like this:

        "state":
        {
            "changed": "2024-08-21T04:07:43.786Z",
            "error":
            {
                "message": "could not find cycle.json in repo"
            },
            "current": "running"
        },

Note that current is still running eventhough the run ended hours ago with a pretty permanent error. I would expect the current status to be something like failed, so I can pick it up and determine the run is done (and cooked).

avatar
1
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
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
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
question

Does it help to have the service containers on the same server as the application containers?

I have a cluster with two servers that are roughly in the same region. I have my production environment set up in such a way that all of the service containers (i.e., load balancer, discovery, and VPN) are located on one server and the main application containers are located on the other.

The "Neighbor Latency" panel says the latency between the servers is 8 ms.

With that being said, would it be better to have the service containers on the same server? Is there a standard practice for where the service containers should be deployed?

Any advice or insight would be appreciated!

avatar
2
question

How to add profile photo to the community forum?

How can I upload a profile picture to the community forum?

avatar
1
question

Possible to enable ipv4 after the environment has been created?

Is it possible to enable ipv4 (a.k.a. legacy mode networking) after the environment has been created?

avatar
1
question

RDS + AWS VPC Peering

Wondering how to setup VPC Peering into one of my environments, specifically want to use for RDS. Trying to keep infra as locked down as possible and don’t want RDS instances exposed public internet.

avatar
1
question

Discovery: HA vs Manual deployment

I am having trouble understanding the docs related to Discovery setup and deployment with a mix of HA and Manual.

The docs say:

"High Availability - mark the discovery service for high availability, Cycle will attempt to create 3 instances of discovery spread between the available infrastructure based on geographic distance and provider."

https://docs.cycle.io/reference/environments/services/discovery/#managing-discovery

--

If I manually deploy to a dedicated server for Discovery type services. Will the HA flag also deploy 2 other nodes for me or does the manual deployment over ride the HA?

avatar
2
question

When is the native v1 load balancer coming out of beta

The v1 load balancer is currently still in beta, as I've been using this for several months I was just wondering when it might be losing the beta tag.

avatar
platform
1
v2024.08.14.01 © 2024 Petrichor Holdings, Inc.