问题标签 [wercker]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
5704 浏览

winapi - 没有 Visual Studio 的 Visual C++ 12 工具链

我正在尝试构建一个可以构建 C++ Visual Studio 2013 (Visual C++ 12) 项目的 windows wercker盒子。

传统上,如果只有工具链,您需要安装 Windows SDK。但在最新版本,即8.1中,他们删除了编译器工具链。

有没有办法在不安装 Visual Studio 2013 的情况下安装编译器工具链?

我看起来眼睛很痛,每次构建时都安装整个 Visual Studio 似乎是个坏主意。我联系了这些人,看看他们是否可以在他们的基本 Windows 框中包含 Visual C++ 工具链。另一方面,wercker 的理念是,如果您没有找到您需要构建自己的机器并且它工作得很棒,除了默认的基本机器是 Ubuntu Linux。添加一个小工具没什么大不了的,但是安装Visual Studio 2013的整个,只是为了编译器?

0 投票
1 回答
2126 浏览

ruby-on-rails - 一个测试套件有多长?

我正在 Rails 上创建一个网站,到目前为止一直在使用 travis-ci 进行持续集成。我也在尝试使用 wercker 进行持续集成和部署。wercker 上的测试步骤失败了,因为它运行了超过 25 分钟,我突然想到,由于某种原因,我的测试可能花费了异常长的时间。

我正在开发的网站规模很大,但并不庞大。我使用 rspec 和 capybara 进行测试,使用 webkit 进行集成测试。我编写了相当彻底的集成测试,试图确保我涵盖了每个功能。在 travis-ci 上,整个过程需要 25-30 分钟才能运行(包括安装包)。

对于这个论坛来说,这可能是一个模糊的问题,但我还是想得到一些意见。测试套件运行半小时或更长时间是不可接受的吗?对于一组集成测试,您通常会经历哪些测试套件时间?

0 投票
2 回答
1779 浏览

node.js - Deploying a repository on an OpenShift node.js server

I'm using the Wercker Continuous Integration & Delivery Platform to test and deploy a BitBucket repository on a node.js OpenShift server. Wercker loads in the BitBucket repository, builds it, tests it in the node.js environment, and passes it without any issue. It's also checking the code with jsHint, and returns without any errors.

Wercker also indicates that the deployment passes without errors, as does OpenShift. The problem is that when I check the application URL provided to me by OpenShift, it results with a server error:

In troubleshooting this, I restarted the server (I'm running the basic account, and I have that option) but that doesn't seem to resolve the issue. Neither Wercker or Openshift indicate that there is a problem, but for some reason, I'm simply unable to access that domain without error.

How can I fix this (with the most basic tier)?

0 投票
2 回答
801 浏览

ruby-on-rails - Wercker 测试无法打开临时文件

在我的代码中,我有以下块

这段代码在本地和生产环境中都可以正常工作......问题是我已经设置了Wercker应用程序来自动化测试和部署,但是上面提到的块在 wercker 上失败并返回以下错误

任何想法如何解决这个问题,以便 wercker 上的构建通过?

0 投票
2 回答
2318 浏览

heroku - 如何使用子目录中的主包将 Go 应用程序部署到 Heroku?

我目前正在尝试使用 wercker 将 Go 应用程序部署到 Heroku。Heroku 希望 main.go 位于存储库根目录中,但如果可能的话,我希望我的存储库目录看起来像这样。

理想情况下,我希望 Procfile 看起来像这样:

我已经阅读了这篇文章,但由于我使用 wercker Go box 部署到 Heroku,我不确定配置它的最佳方法是什么。有人成功部署过这样的应用程序吗?

0 投票
2 回答
1421 浏览

git - Copying an untracked folder to another branch

Is there a way to copy an untracked folder to another branch?

I know you can copy tracked folders to another branch by doing something like this:

But is there a way to copy a folder that isn't tracked on master, but is tracked on the branch I want to copy to?

I'm trying to do this for GitHub pages and I'm following this guide, but he commits to master and pushes it to upstream gh-pages. I don't want to do that. I just want my build to generate the docs and copy the untracked docs to another branch and then push them upstream.

0 投票
1 回答
291 浏览

maven - Wercker 部署到云服务器 - 部署脚本上的 pernission 被拒绝

我是一个 wercker 菜鸟。我正在尝试通过 scp 将我的 maven 构建结果部署到服务器。我有一个简单的脚本来实现这一点,但是构建过程没有执行它的权限。

部署输出

和部署脚本

bash 脚本

0 投票
1 回答
259 浏览

github-pages - 尝试使用 wercker 将 hugo 博客部署到 github 页面没有响应后命令超时

我正在尝试使用 Wercker 将我的 Hugo 博客自动部署到 Github 页面。构建阶段没问题,我可以用我的博客静态文件构建我的公共目录。但是我在尝试将我的 hugo 博客部署到 github 页面时没有响应错误后命令超时。

这是我的 wercker.yml 文件

box: python:wheezy no-response-timeout: 15 build: steps: - arjen/hugo-build: theme: hd-theme flags: --disableSitemap=true deploy: steps: - lukevivier/gh-pages@0.2.1: token: $GIT_TOKEN repo: herveDarritchon/herveDarritchon.github.io basedir: public

我有一条超时消息,我试图提高超时时间以防万一,但有 1500 万我也遇到了超时。

任何帮助表示赞赏,

埃尔韦

0 投票
2 回答
71 浏览

docker - 使用 wercker login 命令时 wercker 文件中的语法错误

vagrant用来托管我的docker环境。我按照wercker安装页面上的说明进行操作,当我输入 时wercker login,我得到以下... /usr/local/bin/wercker: line 1: syntax error: unexpected "("

0 投票
1 回答
179 浏览

continuous-integration - wercker.yml 在子目录中

有一个 Bitbucket 存储库,应该在子目录中构建一个项目。我也想wercker.yml在这个子目录中。

我试图向WERCKER_ROOT包含子目录的管道添加一个环境变量:/here-is-werckerfile,根据wercker devcenter似乎没有效果。

有任何想法吗?