Skip to content
Snippets Groups Projects
Select Git revision
  • fe43ec53f26c619772a06425a089538cf772e287
  • prerel default protected
  • remove-unused-upload
  • dependabot/go_modules/github.com/valyala/fasthttp-1.65.0
  • dependabot/go_modules/github.com/redis/go-redis/v9-9.12.1
  • dependabot/go_modules/golang.org/x/crypto-0.41.0
  • dependabot/go_modules/golang.org/x/mod-0.27.0
  • dependabot/go_modules/github.com/coreos/go-oidc/v3-3.15.0
  • dependabot/go_modules/github.com/olekukonko/tablewriter-1.0.9
  • dependabot/go_modules/github.com/gofiber/fiber/v2-2.52.9
  • dependabot/go_modules/github.com/gofiber/template/mustache/v2-2.0.14
  • dependabot/go_modules/github.com/go-sql-driver/mysql-1.9.3
  • dependabot/go_modules/github.com/zachmann/go-oidfed-0.4.0
  • master protected
  • dependabot/go_modules/github.com/coreos/go-oidc/v3-3.8.0
  • dependabot/go_modules/golang.org/x/mod-0.14.0
  • dependabot/go_modules/github.com/gofiber/fiber/v2-2.51.0
  • dependabot/go_modules/github.com/valyala/fasthttp-1.51.0
  • dependabot/go_modules/golang.org/x/oauth2-0.15.0
  • dependabot/go_modules/github.com/lestrrat-go/jwx-1.2.27
  • dependabot/go_modules/golang.org/x/term-0.15.0
  • v0.10.1
  • v0.10.0
  • v0.9.2
  • v0.9.1
  • v0.9.0
  • v0.8.1
  • v0.8.0
  • v0.7.2
  • v0.7.1
  • v0.7.0
  • v0.6.1
  • v0.6.1-c
  • v0.6.1-b
  • v0.6.1-a
  • v0.6.0
  • v0.5.4
  • v0.5.3
  • v0.5.2
  • v0.5.1
  • v0.5.0
41 results

.gitlab-ci.yml

Blame
  • .gitlab-ci.yml 2.02 KiB
    include:
      - 'https://codebase.helmholtz.cloud/m-team/tools/ci-voodoo/-/raw/master/ci-include/github-status-sync.yml'
    
    variables:
      UPSTREAM_PROJECT: oidc-mytoken/server
    
    image: golang:1.19
    stages:
      - build
      - test
      - lint
      - release
      - deploy
    
    default:
      tags:
        - linux
      cache:
        paths:
          - .cache
    
    
    before_script:
      - mkdir -p .cache
      - export GOPATH=${CI_PROJECT_DIR}/.cache
    
    test:
      stage: test
      script:
        - go test -v ./...
    
    test_race:
      stage: test
      script:
        - go test -race -v ./...
    
    staticcheck:
      stage: lint
      before_script:
        - go install honnef.co/go/tools/cmd/staticcheck@latest
      script:
        - staticcheck ./...
    
    vet:
      stage: lint
      script:
        - go vet ./...
    
    build_server:
      stage: build
      script:
        - go build github.com/oidc-mytoken/server/cmd/mytoken-server
    
    build_setup:
      stage: build
      script:
        - go build github.com/oidc-mytoken/server/cmd/mytoken-server/mytoken-setup
    
    build_migratedb:
      stage: build
      script:
        - go build github.com/oidc-mytoken/server/cmd/mytoken-server/mytoken-migratedb
    
    prerelease:
      stage: release
      image:
        name: goreleaser/goreleaser
        entrypoint: [ "" ]
      services:
        - docker:dind