diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..611e5357324361a80742e2bff8ccff40cb3c0ded 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -0,0 +1,17 @@ +include: + - project: 'paas-tools/infrastructure-ci' + file: 'docker-images-ci-templates/DockerImages.gitlab-ci.yml' + +stages: + - build + - go_test + +variables: + CLUSTER_NAME: drupalsite-operator-ci + RUNTIME_REPO: "https://gitlab.cern.ch/drupal/paas/drupal-runtime.git" + +GoTest: + stage: go_test + image: golang:1.15 + script: + - go test -v -mod=vendor ./... \ No newline at end of file diff --git a/chart/drupalsite-operator/values.yaml b/chart/drupalsite-operator/values.yaml index 8f28cb968a0b93b26b66496048cc983763110424..a0a006a0a884ee47b0f453fc33a1271daf775e2e 100644 --- a/chart/drupalsite-operator/values.yaml +++ b/chart/drupalsite-operator/values.yaml @@ -6,6 +6,7 @@ imagePullPolicy: Always nodeSelector: {} tolerations: [] replicas: 1 + resources: requests: cpu: 100m