Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change backend to rust #1

Merged
merged 43 commits into from
Mar 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
0fe522e
functional rust code to query k8s remote, and save to local sqlite
slackspace-io Mar 19, 2024
29ed623
functional getting metadata, storing, and refreshing
slackspace-io Mar 19, 2024
c63ca5b
update nextjs to use rust
slackspace-io Mar 19, 2024
e090d9f
update gitignore
slackspace-io Mar 19, 2024
9bb604b
update gitignore
slackspace-io Mar 19, 2024
5d1be00
functional code to fetch from docker, but not handling tags yet.
slackspace-io Mar 19, 2024
7c0fdde
functional rust backend to do notifications via ntfy, and semver comp…
slackspace-io Mar 20, 2024
80c62b6
add github actions to build rust
slackspace-io Mar 20, 2024
71d0a5c
disable broken buttons towards rust
slackspace-io Mar 20, 2024
e45cb3b
create builds on rust branch
slackspace-io Mar 20, 2024
0008c9a
change builder for rust dockerfil
slackspace-io Mar 20, 2024
6b2a3b1
change builder for rust dockerfil
slackspace-io Mar 20, 2024
372b168
try to debug github actions
slackspace-io Mar 21, 2024
0161824
cargo files were just not added
slackspace-io Mar 21, 2024
eac78cb
try diff base image
slackspace-io Mar 21, 2024
39ba269
try diff base image
slackspace-io Mar 21, 2024
bd38eb0
update dockerfile
slackspace-io Mar 21, 2024
0e2cb28
update dockerfile
slackspace-io Mar 21, 2024
834e26f
update dockerfile
slackspace-io Mar 21, 2024
294f443
update dockerfile
slackspace-io Mar 21, 2024
1c77f20
update dockerfile
slackspace-io Mar 21, 2024
24b45a6
update dockerfile
slackspace-io Mar 21, 2024
7715051
update dockerfile
slackspace-io Mar 21, 2024
a549df6
update dockerfile
slackspace-io Mar 21, 2024
454a53d
update dockerfile
slackspace-io Mar 21, 2024
db3dfb7
update dockerfile
slackspace-io Mar 21, 2024
7a95a40
way too big image but it works
slackspace-io Mar 21, 2024
5590d16
way too big image but it works
slackspace-io Mar 21, 2024
550e982
way too big image but it works
slackspace-io Mar 21, 2024
d73ae04
way too big image but it works
slackspace-io Mar 21, 2024
a2d871a
way too big image but it works
slackspace-io Mar 21, 2024
cf3ca14
way too big image but it works
slackspace-io Mar 21, 2024
f72f47e
fix config format
slackspace-io Mar 21, 2024
e9ce54c
fix config format
slackspace-io Mar 21, 2024
c93016b
fix config path
slackspace-io Mar 21, 2024
1a05606
change bind
slackspace-io Mar 21, 2024
e6ab00b
add refresh button to website
slackspace-io Mar 21, 2024
ba24cb3
change rust to backend folder
slackspace-io Mar 22, 2024
ad6c2cd
change rust to backend folder
slackspace-io Mar 22, 2024
a585384
change rust to backend folder
slackspace-io Mar 22, 2024
42f3c9c
change rust to backend folder..add files back that didn't get added
slackspace-io Mar 22, 2024
3602424
change rust to backend folder..add files back that didn't get added
slackspace-io Mar 22, 2024
09b8d36
Functional scheduler.rs reading from toml configuration
slackspace-io Mar 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Build and Push Backend Docker Image
name: Build and Push Rust Docker Image

on:
push:
branches:
- main
- rust
paths:
- 'backend/**'
- '.github/workflows/backend.yml'
Expand All @@ -27,4 +27,4 @@ jobs:
context: ./backend
file: ./backend/Dockerfile
push: true
tags: ghcr.io/slackspace-io/slackwatch-be:latest,ghcr.io/slackspace-io/slackwatch-be:dev,ghcr.io/slackspace-io/slackwatch-be:${{ github.sha }}
tags: ghcr.io/slackspace-io/slackwatch-rs:latest,ghcr.io/slackspace-io/slackwatch-rs:dev,ghcr.io/slackspace-io/slackwatch-rs:${{ github.sha }}
1 change: 1 addition & 0 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- rust
paths:
- 'frontend/**'
- '.github/workflows/frontend.yml'
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/old_backend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build and Push Backend Docker Image

on:
push:
branches:
- main
paths:
- 'backend/**'
- '.github/workflows/backend.yml'

jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Log in to GitHub Container Registry
run: docker login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v2
with:
context: ./backend
file: ./backend/Dockerfile
push: true
tags: ghcr.io/slackspace-io/slackwatch-be:latest,ghcr.io/slackspace-io/slackwatch-be:dev,ghcr.io/slackspace-io/slackwatch-be:${{ github.sha }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ dist/
.env.development.local
.env.test.local
.env.production.local
.env*

# IDEs and editors
.vscode/
Expand Down Expand Up @@ -38,3 +39,5 @@ src/node_modules/
docker-compose*.yml
*.dockerignore
**/.dockerignore
/backend/.env.example
/backend/.env.dev
Binary file removed .slackwatch
Binary file not shown.
Loading
Loading