Compare commits
5 Commits
58a1e109ce
...
fa83860c0a
Author | SHA1 | Date | |
---|---|---|---|
|
fa83860c0a | ||
|
1b8f85606f | ||
|
da23d9cda0 | ||
|
c20329d2b3 | ||
|
e875af8e49 |
18
.drone.yml
18
.drone.yml
@ -3,12 +3,18 @@ type: docker
|
||||
|
||||
steps:
|
||||
- name: code-analysis
|
||||
image: aosapps/drone-sonar-plugin
|
||||
settings:
|
||||
sonar_host:
|
||||
from_secret: sonar_host
|
||||
sonar_token:
|
||||
from_secret: sonar_token
|
||||
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
|
||||
|
@ -1,6 +1,6 @@
|
||||
# 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)
|
||||
[![Build Status](https://cicd.amine-louveau.fr/api/badges/AmineL/liste-de-courses-www/status.svg?ref=refs/heads/main)](https://cicd.amine-louveau.fr/AmineL/liste-de-courses-www)
|
||||
|
||||
## HOW TO USE
|
||||
|
||||
|
@ -71,7 +71,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
@ -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);
|
||||
})
|
||||
|
@ -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>
|
||||
|
@ -46,7 +46,3 @@ export default {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user