test-dashboard
gitea-lenape/dashboard-hw/pipeline/head This commit looks good

This commit is contained in:
jacqueskingram committed 2025-03-02 12:26:52 -05:00
1 parent 27be6ae90a
commit d79aa9b109
3 files changed
+117

No files matched your search

Vendored Executable
+55
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'
}
}
}
}}
Executable
+31
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
Executable
+31
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