mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-10 07:01:01 +00:00
getting scheduling to work
This commit is contained in:
parent
8690160dd4
commit
624975e123
1 changed files with 35 additions and 6 deletions
|
|
@ -24,6 +24,8 @@ stages:
|
|||
golangci-lint:
|
||||
image: golangci/golangci-lint:v1.39.0
|
||||
stage: lint
|
||||
except:
|
||||
- schedules
|
||||
extends: .go-cache
|
||||
allow_failure: false
|
||||
rules:
|
||||
|
|
@ -34,6 +36,8 @@ golangci-lint:
|
|||
|
||||
build lattice:
|
||||
stage: test
|
||||
except:
|
||||
- schedules
|
||||
image: node:14
|
||||
variables:
|
||||
CI: "false"
|
||||
|
|
@ -54,6 +58,8 @@ build lattice:
|
|||
|
||||
run jest tests:
|
||||
stage: test
|
||||
except:
|
||||
- schedules
|
||||
image: node:14
|
||||
variables:
|
||||
CI: "true"
|
||||
|
|
@ -70,6 +76,8 @@ run jest tests:
|
|||
|
||||
run go tests:
|
||||
stage: test
|
||||
except:
|
||||
- schedules
|
||||
image: golang:$GOVERSION
|
||||
extends: .go-cache
|
||||
rules:
|
||||
|
|
@ -84,6 +92,8 @@ run go tests:
|
|||
|
||||
run go tests future:
|
||||
stage: test
|
||||
except:
|
||||
- schedules
|
||||
image: golang:1.17.3
|
||||
extends: .go-cache
|
||||
rules:
|
||||
|
|
@ -99,6 +109,8 @@ run go tests future:
|
|||
|
||||
run go tests with output:
|
||||
stage: test
|
||||
except:
|
||||
- schedules
|
||||
image: golang:$GOVERSION
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "push"'
|
||||
|
|
@ -111,6 +123,8 @@ run go tests with output:
|
|||
|
||||
upload to sonarcloud:
|
||||
stage: test
|
||||
except:
|
||||
- schedules
|
||||
image: sonarsource/sonar-scanner-cli:4.6
|
||||
variables:
|
||||
SONAR_TOKEN: $SONAR_TOKEN
|
||||
|
|
@ -125,6 +139,8 @@ upload to sonarcloud:
|
|||
|
||||
build for linux amd64:
|
||||
stage: build
|
||||
except:
|
||||
- schedules
|
||||
image: golang:$GOVERSION
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "push"'
|
||||
|
|
@ -140,6 +156,8 @@ build for linux amd64:
|
|||
|
||||
build for linux arm64:
|
||||
stage: build
|
||||
except:
|
||||
- schedules
|
||||
image: golang:$GOVERSION
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "push"'
|
||||
|
|
@ -155,6 +173,8 @@ build for linux arm64:
|
|||
|
||||
build for darwin amd64:
|
||||
stage: build
|
||||
except:
|
||||
- schedules
|
||||
image: golang:$GOVERSION
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "push"'
|
||||
|
|
@ -170,6 +190,8 @@ build for darwin amd64:
|
|||
|
||||
build for darwin arm64:
|
||||
stage: build
|
||||
except:
|
||||
- schedules
|
||||
image: golang:$GOVERSION
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "push"'
|
||||
|
|
@ -186,6 +208,8 @@ build for darwin arm64:
|
|||
package for linux amd64:
|
||||
stage: build
|
||||
image: golang:$GOVERSION
|
||||
except:
|
||||
- schedules
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "push"'
|
||||
variables:
|
||||
|
|
@ -204,6 +228,8 @@ package for linux amd64:
|
|||
build container fb:
|
||||
image: docker:stable
|
||||
stage: build
|
||||
except:
|
||||
- schedules
|
||||
needs:
|
||||
- "build for linux amd64"
|
||||
tags:
|
||||
|
|
@ -222,6 +248,8 @@ build container fb:
|
|||
# diabling for now - will come back and refactor POK
|
||||
# deploy node for linux amd64:
|
||||
# stage: integration
|
||||
# except:
|
||||
# - schedules
|
||||
# image: registry.gitlab.com/gitlab-org/cloud-deploy/aws-base:latest
|
||||
# variables:
|
||||
# PROFILE: "default"
|
||||
|
|
@ -256,9 +284,11 @@ gauntlet:
|
|||
AWS_SSH_PRIVATE_KEY: $AWS_FBCI_SSH_KEY
|
||||
AWS_ACCESS_KEY_ID: $AWS_FBCI_ACCESS_KEY_ID
|
||||
AWS_SECRET_ACCESS_KEY: $AWS_FBCI_SECRET_ACCESS_KEY
|
||||
# TODO: For now, run always
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
# rules:
|
||||
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
only:
|
||||
- schedules
|
||||
- web
|
||||
before_script:
|
||||
- apt-get update && apt-get install -y gnupg software-properties-common curl git
|
||||
- curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add -
|
||||
|
|
@ -284,7 +314,6 @@ gauntlet:
|
|||
- export PATH=$PATH:/usr/local/go/bin
|
||||
script:
|
||||
- ./qa/scripts/setupSamsungGauntlet.sh
|
||||
- ./qa/scripts/testSamsungGauntlet.sh
|
||||
# - ./qa/scripts/testSamsungGauntlet.sh
|
||||
after_script:
|
||||
- ./qa/scripts/teardownSamsungGauntlet.sh
|
||||
needs: ["build for linux arm64"]
|
||||
- ./qa/scripts/teardownSamsungGauntlet.sh
|
||||
Loading…
Add table
Reference in a new issue