Skip to content

Commit 668d68c

Browse files
committed
Add initial file structure and CI action to dockerize the repo setup.
1 parent 51d1473 commit 668d68c

4 files changed

Lines changed: 61 additions & 0 deletions

File tree

.env.example

Whitespace-only changes.

.github/workflows/ci.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches-ignore: [ "main" ]
6+
paths-ignore:
7+
- '**.md'
8+
pull_request:
9+
types: [opened, reopened]
10+
branches: [ "*" ]
11+
paths-ignore:
12+
- '**.md'
13+
14+
# Adds ability to run this workflow manually
15+
workflow_dispatch:
16+
17+
18+
jobs:
19+
yamllint:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: ibiqlik/action-yamllint@v3
24+
with:
25+
file_or_dir: ".github/workflows docker-compose.yml"
26+
27+
28+
shellcheck:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v4
32+
- uses: ludeeus/action-shellcheck@v2
33+
with:
34+
scandir: '.'
35+
36+
37+
build:
38+
if: false # Skip this job for now
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/checkout@v4
42+
- uses: docker/setup-buildx-action@v3
43+
- uses: docker/build-push-action@v6
44+
with:
45+
context: .
46+
file: scraper/Dockerfile
47+
push: false

.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Dev related deploy
2+
Dockerfile.dev
3+
docker-compose-override-dev.yaml
4+
requirements-dev.txt
5+
dependencies_license.txt
6+
7+
# Environments
8+
.env
9+
.venv
10+
env/
11+
venv/
12+
13+
# Dev logs
14+
*.log

docker-compose.yml

Whitespace-only changes.

0 commit comments

Comments
 (0)