Skip to content

Commit

Permalink
user-ingest: Add User Ingest Server
Browse files Browse the repository at this point in the history
  • Loading branch information
raimannma committed Oct 7, 2024
1 parent f32506f commit 1b663c3
Show file tree
Hide file tree
Showing 15 changed files with 2,460 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
target/
bin/
obj/
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ indent_style = tab
[Makefile]
indent_style = tab

[.secrets.baseline]
[{.secrets.baseline,Cargo.lock}]
indent_size = unset
7 changes: 7 additions & 0 deletions .env-example
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ STEAM_PASSWORD=
# Monitoring
GF_SECURITY_ADMIN_USER=
GF_SECURITY_ADMIN_PASSWORD=

# S3
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
S3_ENDPOINT=
S3_REGION=
S3_BUCKET_NAME=
2 changes: 1 addition & 1 deletion .github/workflows/docker-image-spectator.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: docker-image
name: docker-image-spectator

on:
workflow_dispatch:
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/docker-image-user-ingest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: docker-image-user-ingest

on:
workflow_dispatch:
push:
branches:
- 'main'
paths:
- 'user-ingest/**'

env:
IMAGE_TAG_OWNER: opensource-deadlock-tools
IMAGE_TAG_NAME: devlock

permissions:
contents: read
packages: write

concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Compose
uses: docker/build-push-action@v6
with:
push: true
tags: ghcr.io/${{ env.IMAGE_TAG_OWNER }}/${{ env.IMAGE_TAG_NAME }}/user-ingest:latest
context: user-ingest
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ fabric.properties
debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

Expand Down
Loading

0 comments on commit 1b663c3

Please sign in to comment.