Compare commits
7 Commits
97a01656a1
...
master
Author | SHA1 | Date | |
---|---|---|---|
1efd0f4588 | |||
e3361e25f5 | |||
d532b353c4 | |||
677ca4ffdf | |||
676995b22c | |||
cb844082e6 | |||
c04e8df12a |
22
.devcontainer/devcontainer.json
Normal file
22
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,22 @@
|
||||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
||||
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
|
||||
{
|
||||
"name": "Node.js",
|
||||
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
||||
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm"
|
||||
|
||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||
// "features": {},
|
||||
|
||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||
// "forwardPorts": [],
|
||||
|
||||
// Use 'postCreateCommand' to run commands after the container is created.
|
||||
// "postCreateCommand": "yarn install",
|
||||
|
||||
// Configure tool-specific properties.
|
||||
// "customizations": {},
|
||||
|
||||
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
||||
// "remoteUser": "root"
|
||||
}
|
3
.devcontainer/noop.txt
Normal file
3
.devcontainer/noop.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
This file copied into the container along with environment.yml* from the parent
|
||||
folder. This file is included to prevents the Dockerfile COPY instruction from
|
||||
failing if no environment.yml is found.
|
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
@@ -1,17 +1,22 @@
|
||||
pipeline {
|
||||
agent any
|
||||
agent {
|
||||
kubernetes {
|
||||
cloud 'rsys-devel'
|
||||
defaultContainer 'nodejs'
|
||||
inheritFrom 'nodejs'
|
||||
}
|
||||
}
|
||||
|
||||
stages {
|
||||
stage("install") {
|
||||
steps {
|
||||
sh 'mamba env update --file environment.yml --prefix ./env || mamba env create --force --file environment.yml --prefix ./env'
|
||||
sh 'node --version && npm --version'
|
||||
sh 'npm install'
|
||||
}
|
||||
}
|
||||
stage("test") {
|
||||
steps {
|
||||
sh 'npm run test:junit'
|
||||
junit 'junit/*.xml'
|
||||
recordCoverage(tools: [[parser: 'JUNIT', pattern: 'junit/*.xml']])
|
||||
}
|
||||
}
|
||||
stage("build") {
|
||||
@@ -23,7 +28,7 @@ pipeline {
|
||||
stage("generate docs") {
|
||||
steps {
|
||||
sh 'npm run docs'
|
||||
publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: true, reportDir: './docs', reportFiles: 'index.html', reportName: 'AudioShowKit Docs', reportTitles: ''])
|
||||
publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: true, reportDir: './docs', reportFiles: 'index.html', reportName: 'Documentation', reportTitles: ''])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -2,16 +2,11 @@ name: audioshowkit
|
||||
channels:
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- _libgcc_mutex=0.1
|
||||
- _openmp_mutex=4.5
|
||||
- ca-certificates=2022.9.24
|
||||
- icu=70.1
|
||||
- libgcc-ng=12.2.0
|
||||
- libgomp=12.2.0
|
||||
- libstdcxx-ng=12.2.0
|
||||
- libuv=1.44.2
|
||||
- libzlib=1.2.13
|
||||
- nodejs=18.12.1
|
||||
- openssl=3.0.7
|
||||
- zlib=1.2.13
|
||||
- ca-certificates
|
||||
- icu
|
||||
- libuv
|
||||
- libzlib
|
||||
- nodejs=20
|
||||
- openssl
|
||||
- zlib
|
||||
prefix: ./env
|
Reference in New Issue
Block a user