Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
梦境迷离
Zio Redis
提交
c0f6f91b
Z
Zio Redis
项目概览
梦境迷离
/
Zio Redis
10 个月 前同步成功
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
Zio Redis
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
c0f6f91b
编写于
4月 04, 2020
作者:
D
Dejan Mijić
提交者:
GitHub
4月 04, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Run redis container in CI (#23)
上级
7874cbdf
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
25 addition
and
22 deletion
+25
-22
.circleci/config.yml
.circleci/config.yml
+25
-22
未找到文件。
.circleci/config.yml
浏览文件 @
c0f6f91b
...
@@ -16,7 +16,7 @@ machine_ubuntu: &machine_ubuntu
...
@@ -16,7 +16,7 @@ machine_ubuntu: &machine_ubuntu
machine
:
machine
:
image
:
ubuntu-1604:201903-01
image
:
ubuntu-1604:201903-01
install_
jdk
:
&install_jdk
install_
deps
:
&install_jdk
-
run
:
-
run
:
name
:
Install JDK
name
:
Install JDK
command
:
|
command
:
|
...
@@ -58,10 +58,10 @@ save_cache: &save_cache
...
@@ -58,10 +58,10 @@ save_cache: &save_cache
-
save_cache
:
-
save_cache
:
key
:
sbt-zio-redis-cache
key
:
sbt-zio-redis-cache
paths
:
paths
:
-
"
~/.ivy2/cache"
-
"
~/.ivy2/cache"
-
"
~/.sbt"
-
"
~/.sbt"
-
"
~/.m2"
-
"
~/.m2"
-
"
~/.cache"
-
"
~/.cache"
filter_tags
:
&filter_tags
filter_tags
:
&filter_tags
tags
:
tags
:
...
@@ -90,6 +90,9 @@ test: &test
...
@@ -90,6 +90,9 @@ test: &test
-
checkout
-
checkout
-
<<
:
*load_cache
-
<<
:
*load_cache
-
<<
:
*install_jdk
-
<<
:
*install_jdk
-
run
:
name
:
Run Redis
command
:
docker run -d redis:5-alpine
-
run
:
-
run
:
name
:
Run tests
name
:
Run tests
command
:
./sbt ++${SCALA_VERSION}! test
command
:
./sbt ++${SCALA_VERSION}! test
...
@@ -97,23 +100,23 @@ test: &test
...
@@ -97,23 +100,23 @@ test: &test
release
:
&release
release
:
&release
steps
:
steps
:
-
checkout
-
checkout
-
run
:
-
run
:
name
:
Fetch git tags
name
:
Fetch git tags
command
:
git fetch --tags
command
:
git fetch --tags
-
<<
:
*load_cache
-
<<
:
*load_cache
-
run
:
-
run
:
name
:
Write sonatype credentials
name
:
Write sonatype credentials
command
:
echo "credentials += Credentials(\"Sonatype Nexus Repository Manager\", \"oss.sonatype.org\", \"${SONATYPE_USER}\", \"${SONATYPE_PASSWORD}\")" > ~/.sbt/1.0/sonatype.sbt
command
:
echo "credentials += Credentials(\"Sonatype Nexus Repository Manager\", \"oss.sonatype.org\", \"${SONATYPE_USER}\", \"${SONATYPE_PASSWORD}\")" > ~/.sbt/1.0/sonatype.sbt
-
run
:
-
run
:
name
:
Write PGP public key
name
:
Write PGP public key
command
:
echo -n "${PGP_PUBLIC}" | base64 -di > /tmp/public.asc
command
:
echo -n "${PGP_PUBLIC}" | base64 -di > /tmp/public.asc
-
run
:
-
run
:
name
:
Write PGP secret key
name
:
Write PGP secret key
command
:
echo -n "${PGP_SECRET}" | base64 -di > /tmp/secret.asc
command
:
echo -n "${PGP_SECRET}" | base64 -di > /tmp/secret.asc
-
run
:
-
run
:
name
:
Release artifacts
name
:
Release artifacts
command
:
./sbt ++${SCALA_VERSION}! ci-release
command
:
./sbt ++${SCALA_VERSION}! ci-release
jobs
:
jobs
:
lint
:
lint
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录