-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feat/add-tutorial-to-secure-a-firearm
- Loading branch information
Showing
31 changed files
with
485 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Build and push Filebeat rootless image | ||
|
||
on: workflow_dispatch | ||
|
||
jobs: | ||
push_to_registry: | ||
name: Push Docker image to Docker Hub | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Login to GHCR | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Build and push Docker image | ||
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671 | ||
with: | ||
file: ./infra/filebeat.Dockerfile | ||
push: true | ||
tags: ghcr.io/datalab-mi/basegun/filebeat-rootless:6.5.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Sync DSO gitlab repository | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
|
||
jobs: | ||
sync: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
curl "https://gitlab.apps.c6.numerique-interieur.com/api/v4/projects/62/trigger/pipeline" \ | ||
-X POST \ | ||
--fail \ | ||
-F token=${{ secrets.DSO_TOKEN }} \ | ||
-F ref=main \ | ||
-F variables[GIT_BRANCH_DEPLOY]=${{ github.ref_name }} \ | ||
-F variables[PROJECT_NAME]=infra |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ logs/ | |
temp/ | ||
*openrc.sh | ||
.terraform* | ||
.secrets | ||
*.secrets* | ||
version.txt | ||
*.crt | ||
*.pem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
include: | ||
- project: $CATALOG_PATH | ||
file: vault-ci.yml | ||
ref: main | ||
- project: $CATALOG_PATH | ||
file: kaniko-ci.yml | ||
ref: main | ||
|
||
default: | ||
image: alpine:latest | ||
|
||
variables: | ||
TAG: "${CI_COMMIT_REF_SLUG}" | ||
REGISTRY_URL: "${REGISTRY_HOST}/${PROJECT_PATH}" | ||
|
||
stages: | ||
- read-secret | ||
- docker-build | ||
|
||
read_secret: | ||
stage: read-secret | ||
extends: | ||
- .vault:read_secret | ||
|
||
docker-build-frontend: | ||
variables: | ||
WORKING_DIR: "frontend" | ||
IMAGE_NAMES: basegun-frontend:${CI_COMMIT_REF_SLUG} basegun-frontend:${CI_COMMIT_SHORT_SHA} | ||
DOCKERFILE: "frontend/Dockerfile" | ||
BUILD_ARGS: --build-arg=VERSION=1.1.1 | ||
stage: docker-build | ||
extends: | ||
- .kaniko:build-push | ||
|
||
docker-build-backend: | ||
variables: | ||
WORKING_DIR: "backend" | ||
IMAGE_NAMES: basegun-backend:${CI_COMMIT_REF_SLUG} basegun-backend:${CI_COMMIT_SHORT_SHA} | ||
DOCKERFILE: "backend/Dockerfile" | ||
BUILD_ARGS: --build-arg=VERSION=1.1.1 | ||
stage: docker-build | ||
extends: | ||
- .kaniko:build-push |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--extra-index-url https://download.pytorch.org/whl/cpu | ||
fastapi==0.68.0 | ||
uvicorn==0.14.0 | ||
python-multipart>=0.0.5 | ||
gelf-formatter==0.2.1 | ||
pyyaml>=5.4.1 | ||
user-agents==2.2.0 | ||
ua-parser==0.10.0 | ||
boto3==1.28.39 | ||
torch==1.13.0 | ||
torchvision==0.14.0 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.