Commit 04920b38 authored by Konstantinos Samaras-Tsakiris's avatar Konstantinos Samaras-Tsakiris
Browse files

Build image and run unit tests in CI

parent ec850d72
Pipeline #2303492 passed with stage
in 2 minutes and 35 seconds
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
......@@ -6,6 +6,7 @@ imagePullPolicy: Always
nodeSelector: {}
tolerations: []
replicas: 1
resources:
requests:
cpu: 100m
......
Supports Markdown
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