Skip to content

Commit

Permalink
Fixed merge conflict with development-branch
Browse files Browse the repository at this point in the history
  • Loading branch information
MLumme committed Nov 21, 2024
2 parents aff05f7 + b17d0d5 commit 8086032
Show file tree
Hide file tree
Showing 405 changed files with 3,957 additions and 3,477 deletions.
3 changes: 0 additions & 3 deletions .ember-cli

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Lint

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v4
with:
node-version: 16.20.0
cache: 'npm'
- run: npm install cross-env eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser @angular-eslint/eslint-plugin @angular-eslint/eslint-plugin-template @angular-eslint/template-parser
- run: npm run lint:all
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ node {
stage('Deploy staging') {
if (currentBuild.result == 'SUCCESS' || currentBuild.result == 'UNSTABLE') {
milestone()
sh 'scp -r dist [email protected].26:/data/dev_laji_fi/'
sh 'scp -r dist [email protected].57:/data/dev_laji_fi/'
slackSend(color: 'good', message: "dev.laji.fi - #$BUILD_NUMBER Success")
} else {
slackSend(color: 'danger', message: "dev.laji.fi - #$BUILD_NUMBER Failed")
Expand Down
12 changes: 6 additions & 6 deletions JenkinsfileBeta
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ node {
sh 'mkdir test-results'
sh 'rm -rf test-results/*'
}
// stage('Run integration tests') {
// sh 'rsync -r /home/node/config/beta.laji.fi/ $WORKSPACE'
// sh 'npm run test:docker -- --project chromium --project firefox --reporter junit'
// sh 'docker cp $(docker ps -alq):/app/test-results.xml test-results.xml'
// junit allowEmptyResults: true, testResults: 'test-results.xml'
// }
stage('Run integration tests') {
sh 'rsync -r /home/node/config/beta.laji.fi/ "$WORKSPACE"'
sh 'npm run test:docker -- --project chromium --project firefox --reporter junit'
sh 'docker cp $(docker ps -alq):/app/test-results.xml test-results.xml'
junit allowEmptyResults: true, testResults: 'test-results.xml'
}
stage('Build beta') {
milestone()
sh 'rm -rf dist'
Expand Down
2 changes: 1 addition & 1 deletion JenkinsfileProduction
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ node {
stage('Prepare environment') {
cleanWs()
git branch: 'master', url: 'https://github.com/luomus/laji.git'
sh 'npm ci # CI has too old python3 & g++ for node 16, so we load packages from Redhat SCL'
sh 'npm ci'
}
stage('Build embedded') {
milestone()
Expand Down
Loading

0 comments on commit 8086032

Please sign in to comment.