我已经设置了一个Concourse服务器(在裸机上),并且一切都进行得很顺畅,除了我无法开始任何工作,这时我完全处于亏损状态。任何帮助或建议,将不胜感激!
以本教程的hello世界为例,出现以下错误:
$ fly -t tutorial execute -c task_hello_world.yml
executing build 55 at https://{{full hostname}}/builds/55
initializing
resource script '/opt/resource/check []' failed: exit status 1
stderr:
failed to ping registry: 2 error(s) occurred:
* ping https: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
* ping http: Get http://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
errored
Run Code Online (Sandbox Code Playgroud)
仔细查看日志中关于docker的任何提及,我得到以下信息(并且syslog中没有其他错误):
1月11日03:39:11 {{host}}大厅[13704]:{“ timestamp”:“ 1515641951.825016260”,“ source”:“ worker”,“ message”:“ worker.garden.extract-resources.extract.already -extracted“,” log_level“:1,” data“:{” resource-type“:” …
从 Google 文档开始,如下所示:
* Item
Run Code Online (Sandbox Code Playgroud)
我希望进行一系列 API 调用,将文档变成:
* Item
- Subitem
Run Code Online (Sandbox Code Playgroud)
但是,我不知道如何使用 API 来做到这一点。ACreateParagraphBulletRequest没有我可以指定的缩进级别。文档建议:
每个段落的嵌套级别将通过计算每个段落前面的前导制表符来确定。为了避免项目符号和相应段落之间出现过多空间,此请求将删除这些前导选项卡。这可能会更改文本部分的索引。
但是,将制表符添加到 an 的开头InsertTextRequest将会添加制表符,而不是更改缩进:
* Item
* Subitem
Run Code Online (Sandbox Code Playgroud)
有人对我可能做错了什么有任何想法吗?
Gradle 是否具有与为 JOOQ 类型检查器注释处理器 ( https://www.jooq.org/doc/latest/manual/tools/checker-framework/ )描述的 Maven 配置等效的配置?Maven 版本是:
<dependency>
<groupId>org.jooq</groupId>
<artifactId>jooq-checker</artifactId>
<version>3.10.5</version>
</dependency>
Run Code Online (Sandbox Code Playgroud)
和
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<fork>true</fork>
<annotationProcessors>
<annotationProcessor>org.jooq.checker.SQLDialectChecker</annotationProcessor>
</annotationProcessors>
<compilerArgs>
<arg>-Xbootclasspath/p:1.8</arg>
</compilerArgs>
</configuration>
</plugin>
Run Code Online (Sandbox Code Playgroud)
但是,虽然我可以将编译依赖项添加到 Gradle 中,但我不确定该放在哪里annotationProcessor。任何帮助将不胜感激!