Compare commits

..

1 commit

Author SHA1 Message Date
garionion
37682ee6ca
fix formatting
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-08 14:39:55 +02:00
8 changed files with 22 additions and 22 deletions

View file

@ -7,4 +7,4 @@ steps:
commands: commands:
- npm install - npm install
- npm run check - npm run check
- npm run build - npm run build

View file

@ -3,8 +3,8 @@ stages:
- deploy - deploy
variables: variables:
PY_COLORS: "1" PY_COLORS: '1'
ANSIBLE_FORCE_COLOR: "1" ANSIBLE_FORCE_COLOR: '1'
ANSIBLE_PYTHON_INTERPRETER: auto_silent ANSIBLE_PYTHON_INTERPRETER: auto_silent
ANSIBLE_STDOUT_CALLBACK: debug ANSIBLE_STDOUT_CALLBACK: debug

View file

@ -1,5 +1,4 @@
# Ignore artifacts: # Ignore artifacts:
build build
dist coverage
./src/assets/* dist
coverage

View file

@ -1,3 +1,4 @@
# Radiator-Web # Radiator-Web
[![Build Status](https://drone.entr0py.de/api/badges/garionion/radiator-web/status.svg)](https://drone.entr0py.de/garionion/radiator-web)
API URL must be set on Build Time, either via Env `API_URL`(prefered), or via `VITE_API_URL` from [`.env.production`](.env.production) API URL must be set on Build Time, either via Env `API_URL`(prefered), or via `VITE_API_URL` from [`.env.production`](.env.production)

View file

@ -6,5 +6,5 @@ all:
ansible_host: 192.168.200.11 ansible_host: 192.168.200.11
ansible_port: 22 ansible_port: 22
ansible_user: root ansible_user: root
ansible_ssh_extra_args: "-o StrictHostKeyChecking=no" ansible_ssh_extra_args: '-o StrictHostKeyChecking=no'
ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -i "${ANSIBLE_SSH_KEY_PRIVATE}" -W %h:%p root@vserver8.alex-detsch.de -p 52"' ansible_ssh_common_args: '-o ProxyCommand="ssh -o StrictHostKeyChecking=no -i "${ANSIBLE_SSH_KEY_PRIVATE}" -W %h:%p root@vserver8.alex-detsch.de -p 52"'

View file

@ -1,12 +1,12 @@
web: web:
image: registry.alex-detsch.de/fem/radiator/radiator-web image: registry.alex-detsch.de/fem/radiator/radiator-web
restart: always restart: always
healthcheck: healthcheck:
test: "curl localhost" test: "curl localhost"
interval: "60s" interval: "60s"
timeout: "3s" timeout: "3s"
start_period: "5s" start_period: "5s"
retries: 3 retries: 3
stop_grace_period: 3s stop_grace_period: 3s
ports: ports:
- "1499:80" - "1499:80"

View file

@ -5,8 +5,8 @@
"dev": "vite", "dev": "vite",
"build": "vue-tsc --noEmit && vite build", "build": "vue-tsc --noEmit && vite build",
"serve": "vite preview", "serve": "vite preview",
"format": "npx prettier --write .", "format": "npx prettier --write \"src/**/*.(ts|vue)\"",
"check": "prettier --check ." "check": "prettier --check \"src/**/*.(ts|vue)\""
}, },
"dependencies": { "dependencies": {
"@vueuse/core": "^4.7.0", "@vueuse/core": "^4.7.0",

View file

@ -4,6 +4,6 @@ import vue from "@vitejs/plugin-vue";
export default defineConfig({ export default defineConfig({
plugins: [vue()], plugins: [vue()],
define: { define: {
__VUE_OPTIONS_API__: false, __VUE_OPTIONS_API__: false
}, }
}); });