diff --git a/sites/ant.k8s.vxm.cz/.eslintrc.json b/sites/ant.k8s.vxm.cz/.eslintrc.json deleted file mode 100644 index bffb357..0000000 --- a/sites/ant.k8s.vxm.cz/.eslintrc.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "next/core-web-vitals" -} diff --git a/sites/ant.k8s.vxm.cz/.gitignore b/sites/ant.k8s.vxm.cz/.gitignore deleted file mode 100644 index bbac7be..0000000 --- a/sites/ant.k8s.vxm.cz/.gitignore +++ /dev/null @@ -1,42 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -/node_modules -/.pnp -.pnp.js - -# testing -/coverage - -# next.js -/.next/ -/out/ - -# misc -.DS_Store -*.pem - -# debug -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# local env files -.env.local -.env.development.local -.env.test.local -.env.production.local - -# vercel -.vercel - -# typescript -*.tsbuildinfo - -.yarn/* -!.yarn/cache -!.yarn/patches -!.yarn/plugins -!.yarn/releases -!.yarn/sdks -!.yarn/versions diff --git a/sites/ant.k8s.vxm.cz/.gitlab-ci.yml b/sites/ant.k8s.vxm.cz/.gitlab-ci.yml deleted file mode 100644 index 0850650..0000000 --- a/sites/ant.k8s.vxm.cz/.gitlab-ci.yml +++ /dev/null @@ -1,32 +0,0 @@ -stages: - - build - - deploy - -variables: - IMAGE: vmcr.cz/ant.k8s.vxm.cz - IMAGE_TAG: $CI_COMMIT_SHORT_SHA - -build: - stage: build - image: sikalabs/ci-node - before_script: - - docker info - script: - - cd sites/ant.k8s.vxm.cz - - yarn install --frozen-lockfile - - yarn build - - docker build --tag $IMAGE:$IMAGE_TAG --file ./build/Containerfile . - - docker push $IMAGE:$IMAGE_TAG - -deploy: - stage: deploy - image: python:latest - before_script: - - python --version - - pip install virtualenv - - virtualenv venv - - source venv/bin/activate - script: - - cd sites/ant.k8s.vxm.cz - - pip install requests - - python ci/gitlab-commit.py diff --git a/sites/ant.k8s.vxm.cz/.vscode/settings.json b/sites/ant.k8s.vxm.cz/.vscode/settings.json deleted file mode 100644 index f62af99..0000000 --- a/sites/ant.k8s.vxm.cz/.vscode/settings.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "editor.formatOnSave": true, - "editor.defaultFormatter": "esbenp.prettier-vscode", - "[javascript]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - } -} diff --git a/sites/ant.k8s.vxm.cz/NEXT.README.md b/sites/ant.k8s.vxm.cz/NEXT.README.md deleted file mode 100644 index c87e042..0000000 --- a/sites/ant.k8s.vxm.cz/NEXT.README.md +++ /dev/null @@ -1,34 +0,0 @@ -This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). - -## Getting Started - -First, run the development server: - -```bash -npm run dev -# or -yarn dev -``` - -Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. - -You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. - -[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. - -The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. - -## Learn More - -To learn more about Next.js, take a look at the following resources: - -- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. -- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. - -You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! - -## Deploy on Vercel - -The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. - -Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. diff --git a/sites/ant.k8s.vxm.cz/README.md b/sites/ant.k8s.vxm.cz/README.md deleted file mode 100644 index 8889033..0000000 --- a/sites/ant.k8s.vxm.cz/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# signpost.mareshq.com - -Crossroad for all my services currently running diff --git a/sites/ant.k8s.vxm.cz/build/Containerfile b/sites/ant.k8s.vxm.cz/build/Containerfile deleted file mode 100644 index 4fcf548..0000000 --- a/sites/ant.k8s.vxm.cz/build/Containerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM nginx:mainline-alpine as nginx - -COPY ./build/nginx/site.conf /etc/nginx/conf.d/default.conf - -COPY ./out /website/ diff --git a/sites/ant.k8s.vxm.cz/build/nginx/site.conf b/sites/ant.k8s.vxm.cz/build/nginx/site.conf deleted file mode 100644 index b926496..0000000 --- a/sites/ant.k8s.vxm.cz/build/nginx/site.conf +++ /dev/null @@ -1,15 +0,0 @@ -server { - listen 80; - - location /security.txt { - return 308 /.well-known/security.txt; - } - - location / { - root /website; - index index.html index.htm; - } - - error_page 404 /404.html; - #error_page 500 502 503 504 /50x.html; -} diff --git a/sites/ant.k8s.vxm.cz/ci/gitlab-commit.py b/sites/ant.k8s.vxm.cz/ci/gitlab-commit.py deleted file mode 100644 index 694eeaa..0000000 --- a/sites/ant.k8s.vxm.cz/ci/gitlab-commit.py +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env python3 - -import requests -import os -import sys - -pushToken = os.getenv("CI_PUSH_TOKEN") -image = os.getenv("IMAGE") -imageTag = os.getenv("IMAGE_TAG") - -print(f"image: {image}:{imageTag}") - -r = requests.put( - "https://gitlab.mareshq.com/api/v4/projects/60/repository/files/signpost%2Fvalues%2Eyaml", - data={ - "branch": "main", - "author_email": "ci@gitlab.mareshq.com", - "author_name": "GitLab CI [bot]", - "content": f"image: {image}:{imageTag}", - "commit_message": f"[auto] build(signpost): update image to {image}:{imageTag}" - }, - headers={ - "PRIVATE-TOKEN": pushToken - } -) - -print(r.status_code, r.reason) - -if r.status_code != 200: - sys.exit(1) - -sys.exit(0) diff --git a/sites/ant.k8s.vxm.cz/content/sections.json b/sites/ant.k8s.vxm.cz/content/sections.json deleted file mode 100644 index 72a3c49..0000000 --- a/sites/ant.k8s.vxm.cz/content/sections.json +++ /dev/null @@ -1,58 +0,0 @@ -[ - { - "name": "DevOps", - "items": [ - { - "name": "Argo CD", - "url": "https://argocd.ant.k8s.vxm.cz" - }, - { - "name": "GitLab (MaresHQ / GitOps)", - "url": "https://gitlab.mareshq.com/mareshq/gitops" - } - ] - }, - { - "name": "Monitoring", - "items": [ - { - "name": "Prometheus", - "url": "https://ant.k8s.vxm.cz/prometheus" - }, - { - "name": "Alert Manager", - "url": "https://ant.k8s.vxm.cz/alertmanager" - }, - { - "name": "Grafana", - "url": "https://grafana.ant.k8s.vxm.cz/" - } - ] - }, - { - "name": "Cluster / Nodes", - "items": [ - { - "name": "Platypus (platypus.vxm.cz)", - "url": "https://platypus.vxm.cz" - }, - { - "name": "Kangaroo (kangaroo.vxm.cz)", - "url": "https://kangaroo.vxm.cz" - }, - { - "name": "Wombat (wombat.vxm.cz)", - "url": "https://wombat.vxm.cz" - } - ] - }, - { - "name": "Cluster / Storage", - "items": [ - { - "name": "Longhorn Dashboard", - "url": "https://ant.k8s.vxm.cz/longhorn/" - } - ] - } -] diff --git a/sites/ant.k8s.vxm.cz/next-env.d.ts b/sites/ant.k8s.vxm.cz/next-env.d.ts deleted file mode 100644 index 9bc3dd4..0000000 --- a/sites/ant.k8s.vxm.cz/next-env.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -/// -/// -/// - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/sites/ant.k8s.vxm.cz/next.config.js b/sites/ant.k8s.vxm.cz/next.config.js deleted file mode 100644 index b95cb7c..0000000 --- a/sites/ant.k8s.vxm.cz/next.config.js +++ /dev/null @@ -1,10 +0,0 @@ -/** @type {import('next').NextConfig} */ -module.exports = { - reactStrictMode: true, -}; - -const withTM = require('next-transpile-modules')([ - '@themes/signpost', -]); - -module.exports = withTM(module.exports); diff --git a/sites/ant.k8s.vxm.cz/package.json b/sites/ant.k8s.vxm.cz/package.json deleted file mode 100644 index 26c4017..0000000 --- a/sites/ant.k8s.vxm.cz/package.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "name": "@sites/ant.k8s.vxm.cz", - "private": true, - "version": "0.0.0", - "scripts": { - "dev": "next dev", - "build": "next build && next export", - "start": "next start", - "lint": "next lint", - "fmt": "prettier --write .", - "fmt-check": "prettier --check ." - }, - "dependencies": { - "next": "12.0.7", - "react": "17.0.2", - "react-dom": "17.0.2" - }, - "devDependencies": { - "@types/node": "16.11.7", - "@types/react": "17.0.34", - "autoprefixer": "^10.4.0", - "eslint": "7", - "eslint-config-next": "12.0.3", - "next-transpile-modules": "^9.0.0", - "postcss": "^8.3.11", - "tailwindcss": "^3.0.8", - "typescript": "4.4.4" - } -} diff --git a/sites/ant.k8s.vxm.cz/pages/_app.tsx b/sites/ant.k8s.vxm.cz/pages/_app.tsx deleted file mode 100644 index b3c651a..0000000 --- a/sites/ant.k8s.vxm.cz/pages/_app.tsx +++ /dev/null @@ -1,8 +0,0 @@ -import '../styles/globals.css'; -import type { AppProps } from 'next/app'; - -function App({ Component, pageProps }: AppProps) { - return ; -} - -export default App; diff --git a/sites/ant.k8s.vxm.cz/pages/index.tsx b/sites/ant.k8s.vxm.cz/pages/index.tsx deleted file mode 100644 index 2fff219..0000000 --- a/sites/ant.k8s.vxm.cz/pages/index.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import type { NextPage } from 'next'; -import Head from 'next/head'; -import Layout from '@themes/signpost/components/Layout'; -import Grid from '@themes/signpost/components/Grid'; -import sections from '../content/sections.json'; - -const Home: NextPage = () => { - return ( - <> - - ant.k8s.vxm.cz - - - - - -

ant.k8s.vxm.cz

- -
-

- Ant Kubernetes Cluster Signpost -

- - -
-
- - ); -}; - -export default Home; diff --git a/sites/ant.k8s.vxm.cz/postcss.config.js b/sites/ant.k8s.vxm.cz/postcss.config.js deleted file mode 100644 index 12a703d..0000000 --- a/sites/ant.k8s.vxm.cz/postcss.config.js +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - plugins: { - tailwindcss: {}, - autoprefixer: {}, - }, -}; diff --git a/sites/ant.k8s.vxm.cz/public/favicon.ico b/sites/ant.k8s.vxm.cz/public/favicon.ico deleted file mode 100644 index 718d6fe..0000000 Binary files a/sites/ant.k8s.vxm.cz/public/favicon.ico and /dev/null differ diff --git a/sites/ant.k8s.vxm.cz/styles/globals.css b/sites/ant.k8s.vxm.cz/styles/globals.css deleted file mode 100644 index b5c61c9..0000000 --- a/sites/ant.k8s.vxm.cz/styles/globals.css +++ /dev/null @@ -1,3 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; diff --git a/sites/ant.k8s.vxm.cz/tailwind.config.js b/sites/ant.k8s.vxm.cz/tailwind.config.js deleted file mode 100644 index 65e72de..0000000 --- a/sites/ant.k8s.vxm.cz/tailwind.config.js +++ /dev/null @@ -1,10 +0,0 @@ -module.exports = { - content: ['./**/*.tsx', './../../themes/signpost/**/*.tsx'], - theme: { - extend: {}, - }, - variants: { - extend: {}, - }, - plugins: [], -}; diff --git a/sites/ant.k8s.vxm.cz/tsconfig.json b/sites/ant.k8s.vxm.cz/tsconfig.json deleted file mode 100644 index 99710e8..0000000 --- a/sites/ant.k8s.vxm.cz/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "lib": ["dom", "dom.iterable", "esnext"], - "allowJs": true, - "skipLibCheck": true, - "strict": true, - "forceConsistentCasingInFileNames": true, - "noEmit": true, - "esModuleInterop": true, - "module": "esnext", - "moduleResolution": "node", - "resolveJsonModule": true, - "isolatedModules": true, - "jsx": "preserve", - "incremental": true - }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"] -}