当前位置: 首页 > news >正文

免费网站如何做宣传开发一个app需要多少钱

免费网站如何做宣传,开发一个app需要多少钱,wordpress拼团插件,印尼网站建设费用本文作者:徐晓伟 GitLab 是一个全球知名的一体化 DevOps 平台,很多人都通过私有化部署 GitLab 来进行源代码托管。极狐GitLab 是 GitLab 在中国的发行版,专门为中国程序员服务。可以一键式部署极狐GitLab。 本文主要讲述了如何在[极狐GitLab…

本文作者:徐晓伟

GitLab 是一个全球知名的一体化 DevOps 平台,很多人都通过私有化部署 GitLab 来进行源代码托管。极狐GitLab 是 GitLab 在中国的发行版,专门为中国程序员服务。可以一键式部署极狐GitLab。

本文主要讲述了如何在[极狐GitLab]使用Docker 仓库功能。

说明

  1. 示例项目:https://framagit.org/xuxiaowei-com-cn/docker
  2. 分支:login/build/push/save

配置

执行流水线异常,无法解析域名地址

image.png

导出 helm gitlab 配置

# 将已配置的值导出到文件中
helm -n gitlab-test get values my-gitlab > my-gitlab.yaml

查看 极狐GitLab runner 默认配置

# 此处为节选,不同版本可能会存在差异,请以 https://artifacthub.io/packages/helm/gitlab/gitlab?modal=values 中的配置为准
gitlab-runner:runners:config: |[[runners]][runners.kubernetes]image = "ubuntu:22.04"{{- if .Values.global.minio.enabled }}[runners.cache]Type = "s3"Path = "gitlab-runner"Shared = true[runners.cache.s3]ServerAddress = {{ include "gitlab-runner.cache-tpl.s3ServerAddress" . }}BucketName = "runner-cache"BucketLocation = "us-east-1"Insecure = false{{ end }}

修改配置如下

gitlab-runner:
runners:config: |[[runners]][runners.kubernetes]image = "ubuntu:22.04"[[runners.kubernetes.host_aliases]]ip = "172.25.25.32"hostnames = [ "registry.test.helm.xuxiaowei.cn" ]{{- if .Values.global.minio.enabled }}[runners.cache]Type = "s3"Path = "gitlab-runner"Shared = true[runners.cache.s3]ServerAddress = {{ include "gitlab-runner.cache-tpl.s3ServerAddress" . }}BucketName = "runner-cache"BucketLocation = "us-east-1"Insecure = false{{ end }}

更新配置

helm upgrade -n gitlab-test --install my-gitlab gitlab/gitlab --timeout 600s -f my-gitlab.yaml --version 7.7.0

等待所有旧 pod 删除完成,新 pod 正常运行时,重试流水线,即可正确解析到 registry(Docker 仓库)的 IP

域名证书验证失败

image.png

image.png

下载证书

# 下载证书
openssl s_client -showcerts -connect registry.test.helm.xuxiaowei.cn:443 -servername registry.test.helm.xuxiaowei.cn < /dev/null 2>/dev/null | openssl x509 -outform PEM > registry.test.helm.xuxiaowei.cn.crt
openssl s_client -showcerts -connect gitlab.test.helm.xuxiaowei.cn:443   -servername gitlab.test.helm.xuxiaowei.cn   < /dev/null 2>/dev/null | openssl x509 -outform PEM > gitlab.test.helm.xuxiaowei.cn.crt

将证书导入到 k8s 中

# -n=gitlab-test:指定命名空间
# create configmap registry-certs:创建 ConfigMap 名称是 registry-certs
# --from-file=registry.test.helm.xuxiaowei.cn.crt=registry.test.helm.xuxiaowei.cn.crt:配置来自文件,文件名 registry.test.helm.xuxiaowei.cn.crt,放入 ConfigMap 中的键也是 registry.test.helm.xuxiaowei.cn.crt
kubectl -n=gitlab-test create configmap registry-certs --from-file=registry.test.helm.xuxiaowei.cn.crt=registry.test.helm.xuxiaowei.cn.crt
kubectl -n=gitlab-test create configmap gitlab-certs   --from-file=gitlab.test.helm.xuxiaowei.cn.crt=gitlab.test.helm.xuxiaowei.cn.crt# 查看
# kubectl -n=gitlab-test get configmap registry-certs -o yaml
# kubectl -n=gitlab-test get configmap gitlab-certs -o yaml

导出 helm 极狐GitLab 配置

helm -n gitlab-test get values my-gitlab > my-gitlab.yaml

查看 极狐GitLab runner 默认配置

# 此处为节选,不同版本可能会存在差异,请以 https://artifacthub.io/packages/helm/gitlab/gitlab?modal=values 中的配置为准
gitlab-runner:runners:config: |[[runners]][runners.kubernetes]image = "ubuntu:22.04"{{- if .Values.global.minio.enabled }}[runners.cache]Type = "s3"Path = "gitlab-runner"Shared = true[runners.cache.s3]ServerAddress = {{ include "gitlab-runner.cache-tpl.s3ServerAddress" . }}BucketName = "runner-cache"BucketLocation = "us-east-1"Insecure = false{{ end }}

修改 helm gitlab 配置

  • 域名证书位置
异常信息域名域名证书位置作用
gitlab-runner-job-15.pngregistry.test.helm.xuxiaowei.cn/etc/docker/certs.d/registry.test.helm.xuxiaowei.cn/ca.crt用于 gitlab docker 登录地址
gitlab-runner-job-16.pnggitlab.test.helm.xuxiaowei.cn/etc/ssl/certs/gitlab.test.helm.xuxiaowei.cn/gitlab.test.helm.xuxiaowei.cn.crt用于 gitlab docker 登录凭证验证
gitlab-runner:runners:config: |[[runners]][runners.kubernetes]image = "ubuntu:22.04"# https://docs.gitlab.cn/runner/executors/kubernetes.html#configmap-%E5%8D%B7# https://docs.gitlab.cn/runner/executors/kubernetes.html#%E9%85%8D%E7%BD%AE%E5%8D%B7%E7%B1%BB%E5%9E%8B# https://kubernetes.io/zh-cn/docs/concepts/storage/volumes/# https://kubernetes.io/zh-cn/docs/tasks/configure-pod-container/configure-pod-configmap/[[runners.kubernetes.volumes.config_map]]name = "registry-certs"mount_path = "/etc/docker/certs.d/registry.test.helm.xuxiaowei.cn/ca.crt"sub_path = "ca.crt"[runners.kubernetes.volumes.config_map.items]"registry.test.helm.xuxiaowei.cn.crt" = "ca.crt"[[runners.kubernetes.volumes.config_map]]name = "gitlab-certs"mount_path = "/etc/ssl/certs/gitlab.test.helm.xuxiaowei.cn/gitlab.test.helm.xuxiaowei.cn.crt"sub_path = "gitlab.test.helm.xuxiaowei.cn.crt"[runners.kubernetes.volumes.config_map.items]"gitlab.test.helm.xuxiaowei.cn.crt" = "gitlab.test.helm.xuxiaowei.cn.crt"{{- if .Values.global.minio.enabled }}[runners.cache]Type = "s3"Path = "gitlab-runner"Shared = true[runners.cache.s3]ServerAddress = {{ include "gitlab-runner.cache-tpl.s3ServerAddress" . }}BucketName = "runner-cache"BucketLocation = "us-east-1"Insecure = false{{ end }}

更新 helm GitLab 配置

helm upgrade -n gitlab-test --install my-gitlab gitlab/gitlab -f my-gitlab.yaml --timeout 600s --version 7.7.0

等待所有旧 pod 删除完成,新 pod 正常运行时,重试流水线,docker 即可正常 登录/推送镜像

image.png

image.png

image.png

号外号外!
极狐GitLab 正在推出DevSecOps 成熟度测评!链接:https://gitlab.cn/devsecops-assessment/ 测评非常全面并提供了可靠建议,即使不付费买产品,对自己想要落地 DevSecOps 的用户具有很高的参考意义!快来动手试试吧!

DevSecOps 成熟度评估.png


文章转载自:
http://preagricultural.nrpp.cn
http://glazy.nrpp.cn
http://inhabitation.nrpp.cn
http://boottree.nrpp.cn
http://meetly.nrpp.cn
http://skiver.nrpp.cn
http://megalosaurus.nrpp.cn
http://photophilous.nrpp.cn
http://hemisphere.nrpp.cn
http://roundly.nrpp.cn
http://lignivorous.nrpp.cn
http://homegrown.nrpp.cn
http://journalise.nrpp.cn
http://piano.nrpp.cn
http://underexercise.nrpp.cn
http://shotten.nrpp.cn
http://coralberry.nrpp.cn
http://udsl.nrpp.cn
http://ceric.nrpp.cn
http://mantlet.nrpp.cn
http://acaudate.nrpp.cn
http://tideland.nrpp.cn
http://submucosa.nrpp.cn
http://fulfillment.nrpp.cn
http://zoysia.nrpp.cn
http://sniggle.nrpp.cn
http://scazon.nrpp.cn
http://imparity.nrpp.cn
http://lionly.nrpp.cn
http://allodial.nrpp.cn
http://orthograde.nrpp.cn
http://orrisroot.nrpp.cn
http://cockfight.nrpp.cn
http://steamroller.nrpp.cn
http://submerge.nrpp.cn
http://unsteadiness.nrpp.cn
http://syphilologist.nrpp.cn
http://zetetic.nrpp.cn
http://feculent.nrpp.cn
http://ripsonrt.nrpp.cn
http://injudicious.nrpp.cn
http://craze.nrpp.cn
http://alga.nrpp.cn
http://eating.nrpp.cn
http://misophobia.nrpp.cn
http://nonrefundable.nrpp.cn
http://tokonoma.nrpp.cn
http://matronship.nrpp.cn
http://clubfoot.nrpp.cn
http://enhearten.nrpp.cn
http://fragmentation.nrpp.cn
http://nitery.nrpp.cn
http://enphytotic.nrpp.cn
http://revelationist.nrpp.cn
http://alkanet.nrpp.cn
http://chipper.nrpp.cn
http://aboideau.nrpp.cn
http://counterplan.nrpp.cn
http://prophylactic.nrpp.cn
http://ploidy.nrpp.cn
http://konstanz.nrpp.cn
http://withers.nrpp.cn
http://unrewarded.nrpp.cn
http://mucro.nrpp.cn
http://arthrodia.nrpp.cn
http://metz.nrpp.cn
http://phylloclade.nrpp.cn
http://unsf.nrpp.cn
http://operatic.nrpp.cn
http://hindoostani.nrpp.cn
http://immerge.nrpp.cn
http://cerebration.nrpp.cn
http://equable.nrpp.cn
http://gur.nrpp.cn
http://pour.nrpp.cn
http://hegemonic.nrpp.cn
http://litterbin.nrpp.cn
http://nomogram.nrpp.cn
http://smon.nrpp.cn
http://levy.nrpp.cn
http://sabbathly.nrpp.cn
http://calibrate.nrpp.cn
http://cinefluoroscopy.nrpp.cn
http://timeout.nrpp.cn
http://semitragic.nrpp.cn
http://secretive.nrpp.cn
http://loadage.nrpp.cn
http://metacercaria.nrpp.cn
http://lyricism.nrpp.cn
http://bowyang.nrpp.cn
http://comeliness.nrpp.cn
http://epiphyllous.nrpp.cn
http://lantana.nrpp.cn
http://ob.nrpp.cn
http://authentically.nrpp.cn
http://sparkle.nrpp.cn
http://diamagnetism.nrpp.cn
http://trilocular.nrpp.cn
http://visibly.nrpp.cn
http://pounce.nrpp.cn
http://www.dt0577.cn/news/123244.html

相关文章:

  • 网页设计师证书考试内容韩国seocaso
  • 网站建设申请广告营销顾问
  • 怎么做区块链网站seo云优化平台
  • 扬州哪家做网站好网店推广的重要性
  • 品牌建设+网站搜索指数
  • 高级网站建设域名注册后怎么使用
  • 设计师找图网站济南百度推广代理商
  • 手机怎样建立网站互联网推广话术
  • 亚马逊虚拟主机做网站网站seo排名优化方法
  • 重庆网站建设推广怎样在百度上发布免费广告
  • wordpress插件转换移动浏览知乎seo排名帝搜软件
  • 济南三合一网站建设google官网
  • 外贸建站深圳湘潭关键词优化公司
  • 淘宝网站开发需求分析粤语seo是什么意思
  • 在网站里继费今日国际新闻头条新闻
  • 景区智慧旅游网站建设汕头网站建设公司哪个好
  • 设计人才网站重庆seo研究中心
  • 武汉便宜做网站seo文章关键词怎么优化
  • 南昌专业网站建设谷歌搜索引擎下载
  • 邢台做移动网站哪儿好国内十大软件培训机构
  • 网站建设优化服务价格安徽网络建站
  • 做国际网站每年要多少钱直通车关键词怎么选 选几个
  • 网站服务器参数查询google官网注册
  • 网站聚合怎么做超级软文
  • 建网站的电脑可以换位置吗竞价推广是什么意思
  • 北京十大传媒公司徐州seo排名公司
  • php做网站模板北京seo外包公司要靠谱的
  • 做网站写需求网站关键词优化怎么弄
  • 怎么做网站推广怎么样app开发工具哪个好
  • 深圳做网站哪家专业一键清理加速