Skip to content

A GitHub Action to automatically update an Aqueduct workflow

Notifications You must be signed in to change notification settings

RunLLM/update-aqueduct-workflow

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update Aqueduct Workflow GitHub Action

This action installs the aqueduct-sdk package and runs an Aqueduct workflow script. The workflow script can access the Aqueduct server address and the api key via environment variables AQUEDUCT_SERVER_ADDRESS and AQUEDUCT_API_KEY.

Inputs

server_address

Required: The IP address of the Aqueduct server.

port

Optional: Port on which the server is listening; if none is provided, we assume port 8080.

api_key

Required: The API key associated with your Aqueduct server. To find this, you can run aqueduct apikey on the machine where Aqueduct is running.

This should be passed in as a GitHub Actions secret.

path

Required: The path to the workflow script in the repository you're running the action. The script should contain the full definition of the workflow as well as a call to publish_flow.

Example usage

uses: aqueducthq/update-aqueduct-workflow@v1
with:
  server_address: 127.0.0.1
  port: 8080 # Optional
  api_key: ${{ secrets.AQUEDUCT_API_KEY }}
  path: workflow/churn_prediction.py