Skip to content

Commit 7b5d3cb

Browse files
committed
CICD run - 1
1 parent 9b1baf3 commit 7b5d3cb

3 files changed

Lines changed: 38 additions & 10 deletions

File tree

.dvc/config

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
[core]
2-
remote = mylocal
2+
remote = myremote
33
['remote "mylocal"']
44
url = ../local_s3
5+
['remote "myremote"']
6+
url = s3://sentiment-classification-e1a89ee8

.github/workflows/deploy.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI Pipeline
2+
3+
on: push
4+
5+
jobs:
6+
project-testing:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: checkout code
11+
uses: actions/checkout@v3
12+
13+
- name: setup python
14+
uses: actions/setup-python@v2
15+
with:
16+
python-version: '3.10'
17+
18+
- name: Cache pip dependencies
19+
uses: actions/cache@v3
20+
with:
21+
path: ~/.cache/pip
22+
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
23+
restore-keys: |
24+
${{ runner.os }}-pip-
25+
26+
- name: install dependencies
27+
run: |
28+
pip install -r requirements.txt
29+
30+
- name: run pipeline
31+
# env:
32+
# CAPSTONE_TEST: ${{ secrets.CAPSTONE_TEST }}
33+
run: |
34+
dvc repro

requirements.txt

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,7 @@ boto3==1.34.131
4343
botocore==1.34.131
4444
s3transfer==0.10.2
4545

46-
# =========================
47-
# API / Serving (future-ready)
48-
# =========================
49-
Flask==3.0.3
50-
gunicorn==22.0.0
51-
waitress==3.0.0
52-
Werkzeug==3.0.3
53-
54-
# =========================
46+
# ========================
5547
# Config & HTTP
5648
# =========================
5749
PyYAML==6.0.1

0 commit comments

Comments
 (0)