Compare commits

..
9 Commits
Author SHA1 Message Date
aminecmi 59b138be5e Removed badge.
continuous-integration/drone/push Build is passing
2022-07-23 22:45:09 +02:00
aminecmi fa83860c0a Cleaning code.
continuous-integration/drone Build is passing
2022-07-23 13:31:02 +02:00
aminecmi 1b8f85606f Variaables. 2022-07-22 21:46:00 +02:00
aminecmi da23d9cda0 Sonar scanner. 2022-07-22 20:45:41 +02:00
aminecmi c20329d2b3 Updated badge. 2022-07-20 08:59:27 +02:00
aminecmi e875af8e49 Sonar integration not working. 2022-07-20 08:58:43 +02:00
aminecmi 58a1e109ce Trying sonar. 2022-07-20 08:54:22 +02:00
aminecmi 0c67cbf6da Main only. 2022-07-19 21:59:26 +02:00
Amine Louveauandaminecmi b124bc8c3a drone (#5)
Co-authored-by: aminecmi <aminecmi@gmail.com>
Reviewed-on: https://gitea.amine-louveau.fr/AmineL/liste-de-courses-www/pulls/5
2022-07-19 19:57:14 +00:00
6 changed files with 20 additions and 17 deletions

No files matched your search

+17
View File
@@ -2,6 +2,20 @@ kind: pipeline
type: docker
steps:
- name: code-analysis
image: sonarsource/sonar-scanner-cli
detach: true
failure: ignore
commands:
- ls -la
- sonar-scanner -Dsonar.projectKey=LDC-WWW -Dsonar.sources=. -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN
environment:
SONAR_HOST_URL:
from_secret: sonarScannerHostUrl
SONAR_LOGIN:
from_secret: sonarScannerLogin
- name: build
image: node:14
commands:
@@ -23,3 +37,6 @@ steps:
port: 22
target: /home/ubuntu/courses
source: dist/*
when:
branch:
- main
-2
View File
@@ -1,7 +1,5 @@
# An alternative front to Google Keep
[![Build Status](http://18.0.0.7:46053/api/badges/AmineL/liste-de-courses-www/status.svg?ref=refs/heads/main)](http://18.0.0.7:46053/AmineL/liste-de-courses-www)
## HOW TO USE
- Change the api url
-4
View File
@@ -71,7 +71,3 @@ export default {
}
}
</script>
<style scoped>
</style>
+1 -1
View File
@@ -157,7 +157,7 @@ export default {
body: JSON.stringify({content: this.searchQ})
}).then(r => {
return r.json();
}).then(result => {
}).then(() => {
this.searchQ = '';
this.fetchListAndItems(true);
})
+2 -6
View File
@@ -72,8 +72,8 @@ export default {
'Content-Type': 'application/json;charset=utf-8',
'X-API-KEY': localStorage.getItem('KEY')
}
}).then(r => {
if (r.status !== 404) {
}).then(result => {
if (result.status !== 404) {
this.lists = this.lists.filter(r => r.id !== item.id);
}
});
@@ -103,7 +103,3 @@ export default {
}
}
</script>
<style scoped>
</style>
-4
View File
@@ -46,7 +46,3 @@ export default {
}
}
</script>
<style scoped>
</style>