-
Notifications
You must be signed in to change notification settings - Fork 6
35 lines (30 loc) · 1.18 KB
/
example-requirements-txt.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Requirements.txt Example
on: push
jobs:
requirements-txt-example:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
# Configure access to ECR, for this example
# If you are using another registry, your steps may differ
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
- name: Login to ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- name: Cache Docker builds
uses: satackey/[email protected]
continue-on-error: true
- name: Run Dagster Cloud CI/CD action
# Here, use `uses: dagster-io/dagster-cloud-cicd-action/deploy@{version}`
# e.g. `uses: dagster-io/dagster-cloud-cicd-action/[email protected]`
uses: ./deploy
with:
location-file: ./example/requirements-txt/locations.yaml
dagit-url: https://elementl.dogfood.dagster.cloud/dev
api-token: ${{ secrets.DAGSTER_AGENT_TOKEN }}