Compare commits

...

76 Commits

Author SHA1 Message Date
dd9c9bf82e Address update
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
2024-11-21 14:44:07 +01:00
5976f7d0de Update dependency tslib to v2.8.1
Some checks failed
renovate/artifacts Artifact file update failure
charlyghislain/charlyghislaindotcom/pipeline/pr-master Build started...
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
2024-11-20 01:00:38 +00:00
8254626762 Update dependency tslib to v2.6.3
Some checks failed
renovate/artifacts Artifact file update failure
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2024-07-31 01:00:58 +00:00
d3270979d0 Update dependency karma to v6.4.4
Some checks failed
renovate/artifacts Artifact file update failure
charlyghislain/charlyghislaindotcom/pipeline/pr-master Build started...
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
2024-07-30 01:00:57 +00:00
87a0b4ecb7 Update dependency jasmine-core to v4.6.1
Some checks failed
renovate/artifacts Artifact file update failure
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
2024-07-29 01:00:44 +00:00
aef8eafa4f Update dependency ts-node to v10.9.2 2024-05-24 01:04:01 +00:00
5d08a87412 Update dependency karma to v6.4.3
Some checks failed
renovate/artifacts Artifact file update failure
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2024-05-24 01:01:06 +00:00
8d4249e1aa Update dependency tslib to v2.6.2
Some checks failed
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
charlyghislain/charlyghislaindotcom/pipeline/head There was a failure building this commit
2023-11-14 01:02:25 +00:00
089b63f180 Update dependency luxon to v3.4.4
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-11-13 01:02:31 +00:00
530075895e Update dependency karma-jasmine-html-reporter to v2.1.0
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-11-12 01:02:31 +00:00
9d26be8a4d Update dependency @types/jasmine to ~4.6.0
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-11-11 01:02:29 +00:00
9a70884f30 Update dependency @types/node to v16.18.61
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-11-10 01:02:19 +00:00
3c700afb32 Update dependency @types/jasminewd2 to v2.0.13
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-11-09 01:02:27 +00:00
52d04a7462 Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-06-05 01:03:18 +00:00
9ae0cfcd04 Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-05-29 01:03:31 +00:00
31049fdc64 Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-05-22 01:03:26 +00:00
4210e1d6ab Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-05-15 01:03:27 +00:00
3d6d68e67a Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-05-08 01:03:11 +00:00
a7f07d4d97 Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-05-01 01:03:35 +00:00
baef59b8dd Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-04-24 01:03:32 +00:00
4d4e8e62ff Update dependency karma-chrome-launcher to ~3.2.0
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-04-21 01:02:26 +00:00
54e4e98bf4 Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-04-17 01:03:28 +00:00
7b363ac7b1 Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-04-10 01:03:38 +00:00
578cbd9899 Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-04-08 01:08:55 +00:00
966bd27981 Update dependency @angular/localize to ~13.4.0
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-04-07 01:01:52 +00:00
d787fdb759 Update dependency jasmine-core to ~4.6.0
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
2023-03-16 01:02:17 +00:00
4f404ea761 Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-03-13 01:03:44 +00:00
8e583b3375 Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-03-06 01:02:54 +00:00
c994b0c428 Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-02-27 01:03:00 +00:00
8eb30e63ec Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-02-20 01:02:55 +00:00
c72d6864a5 Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-02-13 01:02:45 +00:00
955dd25cc6 Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-02-06 01:02:12 +00:00
ab90a5bb1c Update dependency karma-jasmine to ~5.1.0
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-02-02 01:01:45 +00:00
b3af496476 Update dependency karma to ~6.4.0
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-02-01 01:01:44 +00:00
80e4425449 Update dependency @types/jasmine to ~4.3.0
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-01-31 01:02:56 +00:00
881f8e6bbc Lock file maintenance
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2023-01-30 01:02:38 +00:00
110406e460 Update dependency jasmine-core to ~4.5.0
Some checks reported errors
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
charlyghislain/charlyghislaindotcom/pipeline/head Something is wrong with the build of this commit
2022-10-30 01:01:17 +00:00
1b6ef75747 Merge pull request 'Update dependency luxon to v3' (#49) from renovate_luxon-3.x into master
Some checks failed
charlyghislain/charlyghislaindotcom/pipeline/head There was a failure building this commit
Reviewed-on: #49
2022-10-22 14:53:04 +00:00
38c0f6c5e5 Merge pull request 'Update dependency karma-jasmine-html-reporter to v2' (#31) from renovate_karma-jasmine-html-reporter-2.x into master
Some checks are pending
charlyghislain/charlyghislaindotcom/pipeline/head Build queued...
Reviewed-on: #31
2022-10-22 14:52:04 +00:00
1fb1323645 Merge pull request 'Update dependency ts-node to ~10.9.0' (#29) from renovate_ts-node-10.x into master
Some checks failed
charlyghislain/charlyghislaindotcom/pipeline/head There was a failure building this commit
Reviewed-on: #29
2022-10-22 14:51:53 +00:00
8e01f22039 Update dependency luxon to v3
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2022-07-20 01:00:40 +00:00
9b596be26e Update dependency ts-node to ~10.9.0
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2022-07-14 01:00:30 +00:00
75271b46c4 Update dependency karma-jasmine-html-reporter to v2
Some checks failed
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
charlyghislain/charlyghislaindotcom/pipeline/head There was a failure building this commit
2022-05-27 01:00:30 +00:00
6974ac1663 Merge pull request 'Update dependency jasmine-core to v4' (#22) from renovate_jasmine-core-4.x into master
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
Reviewed-on: #22
2022-04-18 15:50:21 +00:00
0ec96c5922 Jenkinsfile: Use npm ci
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
2022-04-18 17:49:01 +02:00
35e1cdbb4a Update dependency jasmine-core to v4
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2022-04-18 15:47:45 +00:00
d97658cae4 Merge pull request 'Update dependency @types/jasmine to v4' (#19) from renovate_jasmine-4.x into master
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
Reviewed-on: #19
2022-04-18 15:46:58 +00:00
7f56d65448 Merge pull request 'Update dependency jasmine-spec-reporter to v7' (#23) from renovate_jasmine-spec-reporter-7.x into master
Some checks are pending
charlyghislain/charlyghislaindotcom/pipeline/head Build queued...
Reviewed-on: #23
2022-04-18 15:46:49 +00:00
b1355c1e58 Update dependency jasmine-spec-reporter to v7
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2022-04-18 15:44:14 +00:00
5d95b4b697 Update dependency @types/jasmine to v4
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2022-04-18 15:44:06 +00:00
e1d392aaa2 Merge pull request 'Update dependency karma-jasmine to v5' (#25) from renovate_karma-jasmine-5.x into master
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
Reviewed-on: #25
2022-04-18 15:42:22 +00:00
e7a454d09a Merge pull request 'Update dependency rxjs to v7' (#26) from renovate_rxjs-7.x into master
Reviewed-on: #26
2022-04-18 15:42:14 +00:00
6a9bff01bb Merge pull request 'Update dependency jasmine-core to ~3.99.0' (#3) from renovate_jasmine-core-3.x into master
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
Reviewed-on: #3
2022-04-18 15:41:54 +00:00
7b2d169cb7 Merge pull request 'Update dependency @types/jasmine to ~3.10.0' (#2) from renovate_jasmine-3.x into master
Some checks are pending
charlyghislain/charlyghislaindotcom/pipeline/head Build queued...
Reviewed-on: #2
2022-04-18 15:41:44 +00:00
f70f7fe9d9 Update dependency rxjs to v7
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2022-04-18 15:39:21 +00:00
9ab391332d Update dependency karma-jasmine to v5
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2022-04-18 15:39:17 +00:00
a013158615 Update dependency jasmine-core to ~3.99.0
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2022-04-18 15:38:59 +00:00
ef0e1458f1 Update dependency @types/jasmine to ~3.10.0
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2022-04-18 15:38:55 +00:00
381a7a450e Merge pull request 'Update dependency ts-node to v10' (#27) from renovate_ts-node-10.x into master
Some checks failed
charlyghislain/charlyghislaindotcom/pipeline/head There was a failure building this commit
Reviewed-on: #27
2022-04-18 15:35:50 +00:00
8e7225fc60 Update dependency ts-node to v10
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/pr-master This commit looks good
2022-04-18 15:31:57 +00:00
97ceb9ae86 Jenkinsfile: do not deploy feature branches
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
2022-04-18 13:46:02 +02:00
66318bcd77 Jenkinsfile: run new release job
All checks were successful
charlyghislain/charlyghislaindotcom/pipeline/head This commit looks good
2022-04-18 12:54:15 +02:00
0a52e84933 Update dockerfile
Some checks failed
charlyghislain/charlyghislaindotcom/pipeline/head There was a failure building this commit
2022-04-18 01:55:11 +02:00
c50cd318cc Update jenkinsfile
Some checks failed
charlyghislain/charlyghislaindotcom/pipeline/head There was a failure building this commit
2022-04-18 01:16:01 +02:00
e0a0f26560 Migrate moment to luxon
Some checks failed
charlyghislain/charlyghislaindotcom/pipeline/head There was a failure building this commit
2022-04-18 01:06:06 +02:00
f551c1c004 Ignore angular cache
Some checks failed
charlyghislain/charlyghislaindotcom/pipeline/head There was a failure building this commit
2022-04-17 23:46:38 +02:00
8983d19c9d dependencies updte 2022-04-17 23:45:45 +02:00
9c5dbe084a ng update 2022-04-17 23:43:46 +02:00
2bb6c2bc47 ng update 2022-04-17 23:42:47 +02:00
e674ed713b Merge pull request 'Configure Renovate' (#1) from renovate/configure into master
Reviewed-on: #1
2022-04-16 16:31:10 +00:00
a74dbda5ac Bump nodejs agent 2022-04-16 18:25:36 +02:00
3c2bd37673 chore(deps): add renovate.json
Some checks failed
charlyghislain/charlyghislaindotcom/pipeline/head There was a failure building this commit
charlyghislain/charlyghislaindotcom/pipeline/pr-master There was a failure building this commit
2022-04-16 15:48:57 +00:00
8bd33efcdd jenkinsfile: update repo
Some checks reported errors
charlyghislain gitea/charlyghislaindotcom/pipeline/head There was a failure building this commit
charlyghislain/charlyghislaindotcom/pipeline/head Something is wrong with the build of this commit
2021-08-13 01:23:11 +02:00
e3899e7e96 jenkinsfile: update repo 2021-08-13 01:19:35 +02:00
6bb424e5c5 Update upstream image 2021-08-13 01:18:57 +02:00
dcc151923a Remove jenkins dsl 2021-08-13 00:06:38 +02:00
11 changed files with 4675 additions and 10514 deletions

View File

@ -1,5 +1,5 @@
.idea/
e2e/
jenkins/
../../../valuya/cluster/valuya-cluster-state/charlyghislaindotcom/jenkins/
node_modules/
src/

1
.gitignore vendored
View File

@ -1,4 +1,5 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
.angular/
# compiled output
/dist

View File

@ -1,10 +1,9 @@
FROM docker.charlyghislain.com/front-apache:2.4.39-a
FROM docker.valuya.com/apache-front:2.4.52
ARG CLANG=en
COPY docker/httpd.conf /var/run/httpd.conf.tmp
RUN apk add gettext \
&& mkdir /var/run/httpd \
&& cat /var/run/httpd.conf.tmp | envsubst > /var/run/httpd/charlyghislaindotcom.conf
RUN mkdir -p /var/run/httpd \
&& (cat /var/run/httpd.conf.tmp | envsubst > /var/run/httpd/charlyghislaindotcom.conf)
# dist/fr/fr/ -> /var/www/html/fr/
COPY dist/${CLANG}/${CLANG}/ /var/www/html/${CLANG}/

14
Jenkinsfile vendored
View File

@ -13,7 +13,7 @@ pipeline {
description: 'Image to push (suffixed -fr or -en)'
)
string(
name: 'REPO', defaultValue: 'docker.charlyghislain.com',
name: 'REPO', defaultValue: 'docker.valuya.com',
description: 'Repo to push'
)
credentials(
@ -24,11 +24,11 @@ pipeline {
stages {
stage ('Build') {
steps {
nodejs(nodeJSInstallationName: 'node 10', configId: 'npm-global-config') { catchError {
nodejs(nodeJSInstallationName: 'node 16', configId: 'npm-global-config') { catchError {
ansiColor('xterm') {
sh '''
rm -rfv dist*
npm install
npm ci
export DATE="$(date -Iseconds)"
export COMMIT="$(git rev-parse --short HEAD)"
@ -69,16 +69,14 @@ pipeline {
stage ('Update cluster') {
when {
allOf {
expression { return env.BRANCH_NAME == 'master' }
expression { return params.SKIP_PUBLISH != true }
expression { return params.SKIP_CLUSTER_UPDATE != true }
}
}
steps {
build job: 'infra/cluster-conf-update', parameters: [
string(name:"STACK", value:"charlyghislaindotcom"),
string(name:"VALUES_FILE", value:"values.yaml"),
string(name:"VALUES_KEY", value:".deployment.imageTag"),
string(name:"VALUES_VALUE", value:"\"${VERSION}\""),
build job: 'cghislai-releases/charlyghislaindotcom-release/master', parameters: [
string(name:"IMAGE_TAG", value:"\"${VERSION}\""),
]
}
}

View File

@ -1 +0,0 @@
folder('charlyghislaindotcom')

View File

@ -1,43 +0,0 @@
multibranchPipelineJob('charlyghislaindotcom/charlyghislaindotcom') {
branchSources {
branchSource {
source {
git {
id('charlyghislaindotcom-front_repo') // IMPORTANT: use a constant and unique identifier
remote('ssh://git@gitea.charlyghislain.com:2022/cghislai/charlyghislaindotcom.git')
credentialsId('jenkins-jenkins-ssh-key')
traits {
gitBranchDiscovery()
wipeWorkspaceTrait()
}
}
}
strategy {
namedBranchesDifferent {
namedExceptions {
named {
name('master')
props {
suppressAutomaticTriggering()
}
}
}
}
}
}
}
triggers {
periodic(30)
}
orphanedItemStrategy {
discardOldItems {
daysToKeep(7)
}
}
factory {
workflowBranchProjectFactory {
scriptPath('Jenkinsfile')
}
}
}

15262
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -11,40 +11,41 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^11.2.0",
"@angular/common": "^11.2.0",
"@angular/compiler": "^11.2.0",
"@angular/core": "^11.2.0",
"@angular/forms": "^11.2.0",
"@angular/localize": "~11.2.0",
"@angular/platform-browser": "^11.2.0",
"@angular/platform-browser-dynamic": "^11.2.0",
"@angular/router": "^11.2.0",
"@angular/animations": "^13.3.3",
"@angular/common": "^13.3.3",
"@angular/compiler": "^13.3.3",
"@angular/core": "^13.3.3",
"@angular/forms": "^13.3.3",
"@angular/localize": "~13.4.0",
"@angular/platform-browser": "^13.3.3",
"@angular/platform-browser-dynamic": "^13.3.3",
"@angular/router": "^13.3.3",
"core-js": "^2.6.12",
"moment-es6": "^1.0.0",
"rxjs": "^6.6.3",
"luxon": "^3.0.0",
"rxjs": "^7.0.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.3"
"zone.js": "~0.11.5"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1102.0",
"@angular/cli": "~11.2.0",
"@angular/compiler-cli": "^11.2.0",
"@angular/language-service": "^11.2.0",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "^2.0.8",
"@types/node": "^12.11.1",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"@angular-devkit/build-angular": "~13.3.3",
"@angular/cli": "~13.3.3",
"@angular/compiler-cli": "^13.3.3",
"@angular/language-service": "^13.3.3",
"@types/jasmine": "~4.6.0",
"@types/jasminewd2": "^2.0.10",
"@types/node": "^16.11.27",
"@types/luxon": "^3.0.0",
"codelyzer": "^6.0.2",
"jasmine-core": "~4.6.0",
"jasmine-spec-reporter": "~7.0.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "^2.0.0",
"protractor": "~7.0.0",
"ts-node": "~5.0.1",
"ts-node": "~10.9.0",
"tslint": "~6.1.0",
"typescript": "~4.1.5"
"typescript": "~4.6.3"
}
}

6
renovate.json Normal file
View File

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>valuya.com-infra/renovate-config"
]
}

View File

@ -3,7 +3,7 @@ import {BuildInfoService} from './build-info.service';
import {Observable, of} from 'rxjs';
import {catchError, defaultIfEmpty, filter, map, publishReplay, refCount} from 'rxjs/operators';
import {BuildInfo} from './build-info';
import moment from 'moment-es6';
import {DateTime} from 'luxon';
@Component({
selector: 'app-root',
@ -36,7 +36,7 @@ export class AppComponent implements OnInit {
}
private parseDate(dateString: string) {
const dateMoment = dateString == null ? moment() : moment(dateString);
return dateMoment.format('DD/MM/YYYY HH:mm:ss');
const parsedDateString = dateString == null ? undefined : DateTime.fromISO(dateString).toISODate();
return parsedDateString;
}
}

View File

@ -21,9 +21,9 @@
charlyghislain SRL
</li>
<li class="address">
Rue Godefroid 50/1
Rue Jean Francois, 5
<br/>
5000 Namur (Belgium)
4500 Ben-Ahin (Belgium)
</li>
<li class="number">
BE0736581871