Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
凌波微步_大先生
dashboard
提交
2b1ffab0
D
dashboard
项目概览
凌波微步_大先生
/
dashboard
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dashboard
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
2b1ffab0
编写于
6月 19, 2020
作者:
S
Sebastian Florek
提交者:
GitHub
6月 19, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Remove Travis in favor of Github Workflows (#5281)
上级
c871a4c1
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
0 addition
and
106 deletion
+0
-106
.travis.yml
.travis.yml
+0
-106
未找到文件。
.travis.yml
已删除
100644 → 0
浏览文件 @
c871a4c1
# Travis continuous integration system configuration file.
# Read more follows:
# * https://docs.travis-ci.com/user/customizing-the-build/
# * https://docs.travis-ci.com/user/reference/bionic/
# * https://docs.travis-ci.com/user/installing-dependencies/
# * https://docs.travis-ci.com/user/firefox/
# * https://config.travis-ci.com/ref/job/addons/apt
sudo
:
required
dist
:
bionic
language
:
node_js
node_js
:
12.16.0
addons
:
firefox
:
"
latest"
apt
:
packages
:
-
google-chrome
sources
:
-
google-chrome-stable
update
:
true
git
:
depth
:
500
quiet
:
true
cache
:
directories
:
-
.cached_tools
-
~/.cache
-
node_modules
before_install
:
-
export NG_CLI_ANALYTICS=ci
-
export DOCKER_CLI_EXPERIMENTAL=enabled
-
export GO111MODULE=on
-
export GOPROXY=https://proxy.golang.org
-
export PATH=$PATH:$GOPATH/bin
-
export NODE_OPTIONS=--max-old-space-size=8192
-
eval "$(gimme 1.13.9)"
# `npm ci` will run between `before_install` and `before_script`.
before_script
:
-
echo "Recheck versions before job."
-
go version
-
docker --version
-
google-chrome-stable --version
-
firefox --version
jobs
:
include
:
-
stage
:
test
name
:
"
Code
check
&
linting"
before_script
:
-
aio/scripts/install-codegen.sh
script
:
npm run check
-
name
:
"
Unit
tests"
script
:
npm run test:coverage
after_success
:
-
rm -rf $TRAVIS_BUILD_DIR/.tmp
-
bash <(curl -s https://codecov.io/bash)
-
name
:
"
Helm
linting"
cache
:
false
install
:
-
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
-
wget https://github.com/garethr/kubeval/releases/download/0.14.0/kubeval-linux-amd64.tar.gz
-
mkdir kubeval
-
tar xf kubeval-linux-amd64.tar.gz -C kubeval
-
export PATH="$PATH:$(pwd)/kubeval"
before_script
:
skip
# We don't need Docker nor Go
script
:
-
aio/scripts/helm-lint.sh
-
name
:
"
e2e
tests"
script
:
npm run cluster:start && npm run e2e
-
stage
:
deploy
name
:
"
Development
release"
script
:
-
docker login -u $DOCKER_USER -p $DOCKER_PASS
-
npm run docker:push:head
-
stage
:
release
name
:
"
Release"
script
:
-
docker login -u $DOCKER_RELEASE_USER -p $DOCKER_RELEASE_PASS
-
npm run docker:push
# Manual step for now since it requires to add a GitHub Token to Travis which would be a security issue
# - name: "Helm repository generation"
# cache: false
# install:
# - curl -L https://git.io/get_helm.sh | bash && helm init --skip-refresh --client-only
# - git remote set-branches origin '*' && git fetch --unshallow
# # GTHUB_WRITE_TOKEN is a travis secret variable that is generated from https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line
# - git remote set-url origin https://x-access-token:${GITHUB_WRITE_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
# before_script: skip # We don't need Docker nor Go
# script:
# - sh ./aio/scripts/
stages
:
-
test
-
name
:
deploy
if
:
branch = master AND type != pull_request
-
name
:
release
if
:
tag IS present AND type != pull_request
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录