- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在关注此tutorial,并且在编译此repo时在“部署到测试”阶段面临构建失败。失败的原因是sc-pipelines.yml
用eureka
定义了coordinate: scpipelines/github-eureka:latest
服务,该服务没有被编译成等效的target\k8s\eureka.yml
。编译后的yml具有容器图像的image: :
。有人可以帮我如何用scpipelines/github-eureka:latest
填充此图像值吗?
12:39:25 Logging in to Kubernetes API [kubernetes.default:443], with cluster name [gke_kubproject-210508_asia-south1-b_cluster-1] and user [default]
12:39:25 Cluster "gke_kubproject-210508_asia-south1-b_cluster-1" set.
12:39:25 User "default" set.
12:39:25 Context "gke_kubproject-210508_asia-south1-b_cluster-1" created.
12:39:25 Switched to context "gke_kubproject-210508_asia-south1-b_cluster-1".
12:39:25 CLI version
12:39:25 Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.2", GitCommit:"bb9ffb1654d4a729bb4cec18ff088eacc153c239", GitTreeState:"clean", BuildDate:"2018-08-07T23:17:28Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}
12:39:25 Server Version: version.Info{Major:"1", Minor:"9+", GitVersion:"v1.9.7-gke.5", GitCommit:"9b635efce81582e1da13b35a7aa539c0ccb32987", GitTreeState:"clean", BuildDate:"2018-08-02T23:42:40Z", GoVersion:"go1.9.3b4", Compiler:"gc", Platform:"linux/amd64"}
12:39:25 Pipeline descriptor already parsed - will not parse it again
12:39:25 Deleting all possible entries with name [rabbitmq-github-webhook]
12:39:26 Error from server (NotFound): secrets "rabbitmq-github-webhook" not found
12:39:26 Error from server (NotFound): persistentvolumeclaims "rabbitmq-github-webhook" not found
12:39:26 Error from server (NotFound): pods "rabbitmq-github-webhook" not found
12:39:26 Error from server (NotFound): deployments.extensions "rabbitmq-github-webhook" not found
12:39:26 service "rabbitmq-github-webhook" deleted
12:39:26 Will deploy service with type [rabbitmq] name [rabbitmq-github-webhook] and coordinates []
12:39:26 Waiting for RabbitMQ to start
12:39:26 replicationcontroller "rabbitmq-github-webhook" deleted
12:39:26 Error from server (NotFound): error when deleting "target/k8s/rabbitmq-service.yml": services "rabbitmq-github-webhook" not found
12:39:26 Failed to delete app by [target/k8s/rabbitmq-service.yml] file. Continuing with the script
12:39:27 replicationcontroller/rabbitmq-github-webhook replaced
12:39:27 service/rabbitmq-github-webhook replaced
12:39:27 Deleting all possible entries with name [mysql-github-webhook]
12:39:27 secret "mysql-github-webhook" deleted
12:39:27 Error from server (NotFound): persistentvolumeclaims "mysql-github-webhook" not found
12:39:27 pod "mysql-github-webhook" deleted
12:39:44 Error from server (NotFound): deployments.extensions "mysql-github-webhook" not found
12:39:44 service "mysql-github-webhook" deleted
12:39:44 Will deploy service with type [mysql] name [mysql-github-webhook] and coordinates []
12:39:44 Waiting for MySQL to start
12:39:44 Generating secret with name [mysql-github-webhook]
12:39:45 Error from server (NotFound): secrets "mysql-github-webhook" not found
12:39:45 Failed to delete secret [mysql-github-webhook]. Continuing with the script
12:39:45 secret/mysql-github-webhook created
12:39:45 Error from server (NotFound): error when deleting "target/k8s/mysql.yml": pods "mysql-github-webhook" not found
12:39:45 Failed to delete app by [target/k8s/mysql.yml] file. Continuing with the script
12:39:45 Error from server (NotFound): error when deleting "target/k8s/mysql-service.yml": services "mysql-github-webhook" not found
12:39:45 Failed to delete app by [target/k8s/mysql-service.yml] file. Continuing with the script
12:39:45 pod/mysql-github-webhook replaced
12:39:46 service/mysql-github-webhook replaced
12:39:46 Deleting all possible entries with name [eureka-github-webhook]
12:39:46 Error from server (NotFound): secrets "eureka-github-webhook" not found
12:39:46 Error from server (NotFound): persistentvolumeclaims "eureka-github-webhook" not found
12:39:46 Error from server (NotFound): pods "eureka-github-webhook" not found
12:39:47 Error from server (NotFound): deployments.extensions "eureka-github-webhook" not found
12:39:47 Error from server (NotFound): services "eureka-github-webhook" not found
12:39:47 Will deploy service with type [eureka] name [eureka-github-webhook] and coordinates []
12:39:47 Deploying Eureka. Options - image name [:], app name [eureka-github-webhook], env [TEST]
12:39:47 error: error parsing target/k8s/eureka.yml: error converting YAML to JSON: yaml: line 13: mapping values are not allowed in this context
12:39:47 Failed to delete app by [target/k8s/eureka.yml] file. Continuing with the script
12:39:47 Error from server (NotFound): error when deleting "target/k8s/eureka-service.yml": services "eureka-github-webhook" not found
12:39:47 Failed to delete app by [target/k8s/eureka-service.yml] file. Continuing with the script
12:39:47 error: error parsing target/k8s/eureka.yml: error converting YAML to JSON: yaml: line 13: mapping values are not allowed in this context
12:39:47 Build step 'Execute shell' marked build as failure
12:39:47 Archiving artifacts
12:39:48 Finished: FAILURE
test:
# list of required services
services:
- type: rabbitmq
name: rabbitmq-github-webhook
- type: mysql
name: mysql-github-webhook
database: example
- type: eureka
name: eureka-github-webhook
coordinates: scpipelines/github-eureka:latest
image
键的值为空。
1 apiVersion: extensions/v1beta1
2 kind: Deployment
3 metadata:
4 name: eureka-github-webhook
5 spec:
6 replicas: 1 # tells deployment to run 2 pods matching the template
7 template: # create pods using pod definition in this template
8 metadata:
9 labels:
10 name: eureka-github-webhook
11 spec:
12 containers:
13 - name: eureka-github-webhook
14 image: :
15 ports:
16 - containerPort: 8761
17 env:
18 - name: PORT
19 value: "8761"
20 - name: eureka_client_serviceUrl_defaultZone
21 value: "http://eureka-github-webhook.sc-pipelines-prod:8761/eureka/"
22 livenessProbe:
最佳答案
这是一个错误https://github.com/spring-cloud/spring-cloud-pipelines/issues/187。请使用master分支中的最新提交重试
关于spring - 协调不会在Spring Cloud Pipelines中进行编译时生效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51946775/
例如,如果运行 1 正在等待批准并触发运行 2,则应拒绝运行 1。 最佳答案 “待批准”状态具体来自 Approval Gates功能。 虽然您不能在触发新运行时明确拒绝“待批准”步骤,但您可以通过在
在 Azure DevOps Pipelines 中,似乎有两种我无法区分的概念和处理“工件”的方法。 管道工件 https://learn.microsoft.com/en-us/azure/dev
不确定是否有办法做到这一点,但我想查看之前运行的 yaml 管道中的参数,以便查看管道运行时输入或选择的内容。那可能吗?我发现的唯一解决方法是根据每个参数添加标签。 最佳答案 您可以从 Build 查
我正在运行我所有的测试用例,其中一些用例有时会失败,管道检测到它并使步骤和构建失败。这会阻止要执行的下一步(压缩报告文件夹)。我想将该 zip 文件作为电子邮件附件发送。 这是我的 bitbucket
我正在数据工厂中定义管道,我纠正了一些错误。第一个事件是调用 usql 脚本进行一些聚合,我更改了脚本很多时间,但错误仍然是: [{"errorId":"E_CSC_USER_SYNTAXERROR"
我正在尝试使用运行命令VSTS扩展名对VSTS版本定义执行helm命令,但问题是它无法在我配置的自定义生成代理上找到kubeconfig文件。我认为这是因为定义的构建步骤在单独的过程中运行。当我运行
我无法弄清楚 sklearn.pipeline.Pipeline 是如何工作的。 doc 中有一些解释.例如它们是什么意思: Pipeline of transforms with a final e
我在 azure 管道中有两个管道(也称为“构建定义”),一个正在执行系统测试,一个正在执行性能测试。两者都使用相同的测试环境。我必须确保系统测试管道运行时不会触发性能管道,反之亦然。 到目前为止我已
我遵循了这个指令 https://confluence.atlassian.com/bitbucket/use-ssh-keys-in-bitbucket-pipelines-847452940.ht
当使用 YAML 完成另一个管道时尝试触发 Azure 管道。有documentation表明您可以添加管道资源: resources: # types: pipelines | builds |
我正在尝试根据我发布到的每个环境对我的 Web.config 进行文件转换。大多数情况下,一切看起来都很好,直到我在发布管道上部署到我的 UAT 阶段。 在我的构建管道中,这是我正在使用的 YAML
脚本化管道中是否有任何方法可以将某个阶段标记为不稳定,但仅将该阶段显示为不稳定,而不在输出中将每个阶段标记为不稳定? 我可以做这样的事情: node() { stage("Stage1") {
我有针对特定环境(dev、qa、uat)的特定配置文件和另一个根 web.config。部署的代码读取 web.config。所以我一直在尝试复制内容或重命名 Azure Pipelines 中的文件
我的 Jenkins 中有很多 Pipeline 项目。我想将它们转换为多分支管道。是否可以不删除管道并创建新的多分支管道?怎么办? 最佳答案 假设您的管道位于 Jenkinsfile 中,则无需进行
我们正在使用扩展功能以安全的方式在我们的管道中重用模板。为了更轻松地定义模板的参数,我想使用变量,但我觉得这是不可能的。 但由于我在官方文档中找不到答案,所以我在这一轮提问。 我的 yml 文件如下所
如何访问UID Jenkins 管道工作中的变量? 我收到了 null什么时候: pipeline { agent any environment { def user
我正在摆弄管道以尝试减少整体运行时间。我想做的一件事是执行 docker pull ...在开始时,以便以后,当我真正需要它时,它已经为我准备好了。我想将它作为后台工作解雇,并让它在该任务结束后继续存
From here我了解到 Bitbucket Pipeline 支持 ifs 语句。 如何在 if 语句中执行多行块? 这不计算: script: - if [ $BITBUCK
我在运行 Jenkins 服务器(在 docker 容器内)的谷歌云中运行虚拟机。我正在尝试为我的应用程序构建一个 Docker 镜像,并使用 Jenkins 管道将其推送到 Google Conta
在构建和部署 docker image.Getting Unexpected value 'Steps' 在第 27 行之前,我试图将视频文件从 GPM 复制到 app/dist/asset/imag
我是一名优秀的程序员,十分优秀!