test-dashboard
All checks were successful
gitea-lenape/dashboard-hw/pipeline/head This commit looks good

This commit is contained in:
jacqueskingram
2025-03-02 12:26:52 -05:00
parent 27be6ae90a
commit d79aa9b109
3 changed files with 117 additions and 0 deletions

55
Jenkinsfile vendored Executable file
View File

@@ -0,0 +1,55 @@
pipeline {
agent none
options {
disableConcurrentBuilds(abortPrevious: true)
buildDiscarder(logRotator(numToKeepStr: '1'))
}
stages {
stage('docker compose build') {
agent {
label "xochi"
}
steps {
dir('.') {
sh 'docker compose build'
}
}
}
stage('docker compose push') {
agent {
label "xochi"
}
steps {
dir('.') {
sh 'docker compose push'
}
}
}
}}

31
compose.bash Executable file
View File

@@ -0,0 +1,31 @@
#!/bin/bash
##
set -e
set -x
##
reset
clear
##
previousDir=`pwd`
cd src/main/resources/templates/
bash cascade.bash
cd $previousDir
##
docker compose down --remove-orphans
docker compose up --build -d

31
compose.yaml Executable file
View File

@@ -0,0 +1,31 @@
services:
shinobi-notus-react-dashboard:
container_name: shinobi-notus-react-dashboard
image: jacqueskingram/test-dashboard
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
ports:
- "8080:80"
environment:
DB_HOST: garuda-agile-ops-database
DB_PORT: 3306
DB_NAME: garudaops
DB_USER: garudaops
DB_PASS: garudaops