Răsfoiți Sursa

Merge branch 'master' of http://git.hobbystocks.cn/AHX-Bid/deployments

zhiqiang.yu 1 lună în urmă
părinte
comite
a6336a93f1
2 a modificat fișierele cu 1 adăugiri și 5 ștergeri
  1. 0 4
      poyee-mall/DEV/Jenkinsfile
  2. 1 1
      poyee-mall/DEV/deployment.yaml

+ 0 - 4
poyee-mall/DEV/Jenkinsfile

@@ -24,7 +24,6 @@ node {
             JAR = CONFIG.service.jar
             sh """cat > ${pathOfDockerfile}/Dockerfile<<EOF
 FROM openjdk:17-alpine as final
-ADD skywalking-agent /app/skywalking-agent
 ADD ${module}target/${JAR} /app/target/${JAR}
 EOF
 """
@@ -33,9 +32,6 @@ EOF
 
         String[] JAVA_ARGS = ["-Djava.security.egd=file:/dev/./urandom",
             "-Djava.awt.headless=true",
-            "-javaagent:/app/skywalking-agent/skywalking-agent.jar",
-            "-Dskywalking.agent.service_name=${CONFIG.service.name}",
-            "-Dskywalking.collector.backend_service=${CONFIG.skywalking.address}",
             "-Xmx1024m",
             "-Dspring.profiles.active=dev",
             "-Dserver.port=80",

+ 1 - 1
poyee-mall/DEV/deployment.yaml

@@ -2,7 +2,7 @@ apiVersion: apps/v1
 kind: Deployment
 metadata:
   name: <service_name><service_version>
-  namespace: default
+  namespace: ahxpm
 spec:
   selector:
     matchLabels: