This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update prefect auth action to use Prefect version 3 (#9)
* 3.0-auth * Cleanup * Lint * Equal to as well
- Loading branch information
Showing
5 changed files
with
18 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import json | ||
|
||
import requests | ||
from prefect import flow | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,24 @@ | ||
# File for configuring project / deployment build, push and pull steps | ||
|
||
# Generic metadata about this project | ||
--- | ||
name: simple | ||
prefect-version: 2.10.4 | ||
prefect-version: 3.0.0 | ||
|
||
# build section allows you to manage and build docker images | ||
build: null | ||
|
||
# push section allows you to manage if | ||
# and how this project is uploaded to remote locations | ||
push: null | ||
|
||
# pull section allows you to provide instructions | ||
# for cloning this project in remote locations | ||
pull: | ||
- prefect.projects.steps.git_clone_project: | ||
- prefect.deployments.steps.git_clone: | ||
repository: [email protected]:PrefectHQ/actions-prefect-deploy.git | ||
branch: main | ||
access_token: "{{ prefect.blocks.secret.simple-github-pat }}" | ||
|
||
deployments: | ||
- name: Simple | ||
description: A simple example | ||
entrypoint: flow.py:call_api | ||
parameters: {} | ||
schedule: {} | ||
work_pool: | ||
job_variables: | ||
image: prefecthq/prefect:3-latest | ||
name: simple-pool |