From 96f344118b9950f886fa4f651d90cb6718da0ee0 Mon Sep 17 00:00:00 2001 From: Joao M Date: Thu, 25 Aug 2022 00:47:22 +0000 Subject: [PATCH] Remove more obsolete files --- .travis.yml | 26 ------------ _config.yml | 66 ------------------------------ resource-temp.yml | 79 ------------------------------------ pytest.ini => src/pytest.ini | 0 4 files changed, 171 deletions(-) delete mode 100644 .travis.yml delete mode 100644 _config.yml delete mode 100644 resource-temp.yml rename pytest.ini => src/pytest.ini (100%) diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ed1f6e6..0000000 --- a/.travis.yml +++ /dev/null @@ -1,26 +0,0 @@ -language: python - -services: - - docker - - -jobs: - include: - - stage: test - if: (type IN (pull_request)) - install: - - pip install -r requirements.txt - script: - - pytest -s tests/ - - - stage: build docker - if: (branch = master) AND (NOT (type IN (pull_request))) - install: - - docker pull byjg/k8s-ci - script: - - docker run --privileged -v /tmp/z:/var/lib/containers -it --rm -v $PWD:/work -w /work -e DOCKER_USERNAME=$DOCKER_USERNAME -e DOCKER_PASSWORD=$DOCKER_PASSWORD -e DOCKER_REGISTRY=$DOCKER_REGISTRY byjg/k8s-ci /work/build-multiarch.sh - - - stage: documentation - if: (branch = master) AND (NOT (type IN (pull_request))) - install: skip - script: "curl https://opensource.byjg.com/add-doc.sh | bash /dev/stdin devops docker-easy-haproxy" diff --git a/_config.yml b/_config.yml deleted file mode 100644 index 3935400..0000000 --- a/_config.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: docker-easy-haproxy - -project: - version: 1.0.0 - download_url: https://github.com/byjg/docker-easy-haproxy/releases - -license: - software: MIT - software_url: https://opensource.org/licenses/MIT - - docs: MIT - docs_url: https://opensource.org/licenses/MIT - -git_edit_address: https://github.com/byjg/docker-easy-haproxy/blob/master/ - -links: - header: - - title: GitHub - url: https://github.com/byjg/docker-easy-haproxy - - title: ByJG - url: https://opensource.byjg.com/ - footer: - - title: GitHub - url: https://github.com/byjg/docker-easy-haproxy - - title: Issues - url: https://github.com/byjg/docker-easy-haproxy/issues - -ui: - header: - color1: "#080331" - color2: "#0033cc" - trianglify: true - -social: - github: - user: byjg - repo: docker-easy-haproxy - twitter: - enabled: false - via: - hash: opensourcebyjg - account: - facebook: - enabled: true - url: https://opensource.byjg.com/ - profileUrl: - -author: - twitter: byjg - -twitter: - card: summary - username: byjg - -logo: https://opensource.byjg.com/images/logo_byjg.png - -analytics: - google: UA-130014324-1 - -plugins: - - jekyll-seo-tag - -# Build settings -markdown: kramdown -remote_theme: byjg/jekyll-docs-theme - diff --git a/resource-temp.yml b/resource-temp.yml deleted file mode 100644 index 2954285..0000000 --- a/resource-temp.yml +++ /dev/null @@ -1,79 +0,0 @@ ---- -apiVersion: v1 -kind: Namespace -metadata: - name: parking - ---- -apiVersion: extensions/v1beta1 -kind: Ingress -metadata: - name: parking-valida-me - namespace: parking - annotations: - kubernetes.io/ingress.class: easyhaproxy -spec: - rules: - - host: valida.me - http: - paths: - - backend: - serviceName: parking-valida-me - servicePort: 80 - - host: www.valida.me - http: - paths: - - backend: - serviceName: parking-valida-me - servicePort: 80 ---- -apiVersion: v1 -kind: Service -metadata: - name: parking-valida-me - namespace: parking -spec: - type: ClusterIP - ports: - - port: 80 - targetPort: 8080 - name: http - selector: - app: parking-valida-me ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: parking-valida-me - namespace: parking -spec: - replicas: 1 - revisionHistoryLimit: 10 - strategy: - rollingUpdate: - maxSurge: 1 - maxUnavailable: 0 - type: RollingUpdate - selector: - matchLabels: - app: parking-valida-me - template: - metadata: - labels: - app: parking-valida-me - spec: - containers: - - name: parking-valida-me - image: byjg/static-httpserver - ports: - - containerPort: 8080 - resources: - limits: - cpu: '0.05' - memory: '20Mi' - requests: - cpu: '0.05' - memory: '20Mi' - env: - - name: TITLE - value: "valida.me" diff --git a/pytest.ini b/src/pytest.ini similarity index 100% rename from pytest.ini rename to src/pytest.ini