Skip to main content

2 posts tagged with "promises"

View All Tags

Speeding up local dev: fast feedback when building pipelines

· 11 min read
Aslan Avci
Engineer @ Syntasso
Derik Evangelista
Engineer @ Syntasso

Are you building Pipelines and unsure about the best way to test and iterate over them? Worry not. Your questions are about to be answered!

In this blog post, you will gain insights into how you can get faster feedback on your Pipeline development by:

  • Running the pipeline stage locally
  • Running automated tests
  • Testing imperative actions
  • Running the stage as a container

We will also look into how to more effectively run system-level tests by

  • Populating the image cache
  • Setting the image pull policy
  • Automating end-to-end (e2e) tests

Click "read more" below to continue!


How to write Compound Promises

· 19 min read
Derik Evangelista
Engineer @ Syntasso

So you read the guide on Compound Promises and tried out the Workshop, and decided that a compound promise is the right abstraction to expose in your platform. You are about to start writing it, but you are still wondering how you would really go about writing one.

We hear you.

In this blog post, we will build a Compound Promise from scratch. Consider this the ultimate guide on how to build compound promises effectively.

You can follow this guide and build the Promise along with us, or you can use it as a reference when building your own Compound Promises. The Promise we will build is available here.

After reading this post you will:

  • Learn about some basic Kratix concepts
  • Learn how to write a Compound Promise
    • By transforming an user's request into a series of sub-requests
    • By sending those sub-requests to the Platform cluster (and why you need it)
    • By defining the sub-Promises that the parent Promise depends on

Click on "read more" to continue!