我使用以下命令在 Google Kubernetes Engine (GKE) 上对私有 Kubernetes 集群进行了地形改造(Terraform 版本 11.10).tf:
module "nat" {
source = "GoogleCloudPlatform/nat-gateway/google"
region = "europe-west1"
network = "default"
subnetwork = "default"
}
resource "google_container_node_pool" "cluster_1_np" {
name = "cluster-1-np"
region = "europe-west1"
cluster = "${google_container_cluster.cluster_1.name}"
initial_node_count = 1
lifecycle {
ignore_changes = ["node_count"]
}
autoscaling {
min_node_count = 1
max_node_count = 50
}
management {
auto_repair = true
auto_upgrade = true
}
node_config {
oauth_scopes = [
"https://www.googleapis.com/auth/compute",
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/logging.write",
"https://www.googleapis.com/auth/monitoring",
"https://www.googleapis.com/auth/pubsub",
]
tags …Run Code Online (Sandbox Code Playgroud) networking google-cloud-platform kubernetes google-kubernetes-engine terraform
我在这里的排毒回购中创建了一个问题.
我有一个React Native应用程序,我使用Jest和Detox进行测试.
在本地排毒测试运行没有问题(在其他开发机器上检查健全).但是,它们在Circleci的macOS盒中运行时从未通过.
Detox的调试输出使得看起来Detox在模拟器上初始应用程序设置后永远忙,但是在此之后没有进展.
涉及的相关版本:
一旦它达到"挂起"状态,排毒日志的片段:
detox verb ws
detox verb ws send: {"type":"reactNativeReload","params":{},"messageId":-1000}
detox verb ws send: {"type":"currentStatus","params":{},"messageId":4}
detox verb ws onMessage: {"type":"currentStatusResult","messageId":4,"params":{"state":"busy","resources":[{"name":"Dispatch Queue","info":{"queue":"<OS_dispatch_queue_main: com.apple.main-thread[0x1112b9dc0] = { xref = -2147483648, ref = -2147483648, sref = 1, target = com.apple.root.default-qos.overcommit[0x1112bb300], width = 0x1, state = 0x001ffe9e00000400, dirty, max qos 6, in-flight = 0, thread = 0x403 }>","prettyPrint":"com.apple.main-thread"}}],"messageId":4}}
detox verb ws
detox …Run Code Online (Sandbox Code Playgroud) circleci ×1
detox ×1
jestjs ×1
kubernetes ×1
networking ×1
react-native ×1
terraform ×1
testing ×1