Commit 82f0cfbd authored by Zivi's avatar Zivi

ci pipeline

parent f26ffa04
lint Helm Charts:
image:
name: linkyard/docker-helm
entrypoint: ["/bin/sh", "-c"]
stage: test
script:
- helm lint charts/*
pages:
image:
name: linkyard/docker-helm
entrypoint: ["/bin/sh", "-c"]
stage: deploy
script:
- helm init --client-only
- mkdir -p ./public
- "echo \"User-Agent: *\nDisallow: /\" > ./public/robots.txt"
- helm package charts/* --destination ./public
- helm repo index --url https://${CI_PROJECT_NAMESPACE}.source.dodis.ch/${CI_PROJECT_NAME} .
- mv index.yaml ./public
artifacts:
paths:
- public
only:
- master
......@@ -20,51 +20,51 @@ affinity:
- jobs
jobs:
# - name: csv-link-producer
# image:
# repository: source.dodis.ch:4577/histhub/csv-link-producer
# resources:
# limits:
# memory: "128Mi"
# cpu: 0.1
# - name: csv-link-producer-urls
# image:
# repository: source.dodis.ch:4577/histhub/csv-link-producer-url
# resources:
# limits:
# memory: "128Mi"
# cpu: 0.1
# - name: dodis
# image:
# repository: source.dodis.ch:4577/histhub/dodis
# buildSitemap: true
# resources:
# limits:
# memory: "128Mi"
# cpu: 0.2
# cronjob:
# schedule: "59 23 * * 2"
# - name: fundmuenzen
# image:
# repository: source.dodis.ch:4577/histhub/fundmuenzen
# resources:
# limits:
# memory: "256Mi"
# cpu: 0.1
# cronjob:
# schedule: "59 23 * * 3"
# - name: geonames-dump-producer
# image:
# repository: source.dodis.ch:4577/histhub/geonames-dump-producer
# resources:
# limits:
# memory: "1Gi"
# cpu: 1
# requests:
# memory: "512Mi"
# cpu: 0.4
# cronjob:
# schedule: "59 23 10 * *"
- name: csv-link-producer
image:
repository: source.dodis.ch:4577/histhub/csv-link-producer
resources:
limits:
memory: "128Mi"
cpu: 0.1
- name: csv-link-producer-urls
image:
repository: source.dodis.ch:4577/histhub/csv-link-producer-url
resources:
limits:
memory: "128Mi"
cpu: 0.1
- name: dodis
image:
repository: source.dodis.ch:4577/histhub/dodis
buildSitemap: true
resources:
limits:
memory: "128Mi"
cpu: 0.2
cronjob:
schedule: "59 23 * * 2"
- name: fundmuenzen
image:
repository: source.dodis.ch:4577/histhub/fundmuenzen
resources:
limits:
memory: "256Mi"
cpu: 0.1
cronjob:
schedule: "59 23 * * 3"
- name: geonames-dump-producer
image:
repository: source.dodis.ch:4577/histhub/geonames-dump-producer
resources:
limits:
memory: "1Gi"
cpu: 1
requests:
memory: "512Mi"
cpu: 0.4
cronjob:
schedule: "59 23 10 * *"
- name: ortsnamen
image:
repository: source.dodis.ch:4577/histhub/ortsnamen
......@@ -84,19 +84,19 @@ jobs:
requests:
memory: "512Mi"
cpu: 0.4
# - name: ethz
# image:
# repository: source.dodis.ch:4577/histhub/ethz
# cronjob:
# schedule: "59 23 * * 6"
- name: ethz
image:
repository: source.dodis.ch:4577/histhub/ethz
cronjob:
schedule: "59 23 * * 6"
deployments: {}
# - name: wikidata-live-feed
# image:
# repository: source.dodis.ch:4577/histhub/wikidata-live-feed
# resources:
# limits:
# cpu: 0.2
# memory: "256Mi"
# requests:
# memory: "128Mi"
deployments:
- name: wikidata-live-feed
image:
repository: source.dodis.ch:4577/histhub/wikidata-live-feed
resources:
limits:
cpu: 0.2
memory: "256Mi"
requests:
memory: "128Mi"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment