Skip to content
Snippets Groups Projects
Select Git revision
  • 55fe64fa79b43907113472c715564245acc38e9c
  • 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
  • user avatar
    cicd authored
    55fe64fa
    History
    .gitlab-ci.yml 1.39 KiB
    image: golang:1.19
    stages:
      - build
      - test
      - lint
      - release
    
    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 ./...
    
    lint:
      stage: lint
      before_script:
        - go install golang.org/x/lint/golint@latest
      script:
        - golint -set_exit_status ./...
    
    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: docker:stable
      services:
        - docker:dind
      only:
        refs:
          - tags
          - prerel
      tags:
        - linux
      variables:
    #    GIT_DEPTH: 0