JFrog Workers is a service in the JFrog Platform that provides a serverless execution environment. You can create workers that react to events in the JFrog Platform similar to AWS Lambda services. Workers service provides more flexibility to accomplish your use cases. You can use these workers to perform certain tasks that extend the capabilities of the JFrog Platform according to your requirements.
See the full documentation here.
This repository contains a collection of sample workers for common use cases. Feel free to use, modify, and extend these samples to accomplish your use cases.
We have created these TypeScript samples based on Artifactory User Plugin Samples.
Please submit a pull request if you have other valuable samples.
The samples are located under the samples directory with the following layout <APPLICATION>/<EVENT_TYPE>/<worker>.
Each sample folder has been generated with the JFrog CLI.
The worker code resides in a file named worker.ts.
For an introduction on how to develop JFrog Workers using the JFrog CLI checkout this blogpost.
You can also refer to the documentation to discover how to setup and use workers.
Feel free to contribute new samples, and please create issues if you need our support.
Copyright © 2023-* JFrog Ltd.