gitlab CI/CD持续集成
摘要:Git CI/CD 一、什么Gitlab CI GitLab CI 是 GitLab 为了提升其在软件开发工程中作用,完善 DevOPS 理念所加入的 CI/CD 基础功能。可以便捷的融入软件开发环节中。通过 GitLab CI 可以定义完善的 CI/CD Pipeline。 优势 GitLab C
阅读全文
posted @
2021-04-27 10:47
凉城旧巷
阅读(1100)
推荐(1) 编辑
使用go mod管理依赖时,build出现问题
摘要:Golang build失败 使用go mod管理依赖时,build出现问题 复现 $ go build test.go 出现以下错误: test.go:9:8: no required module provides package github.com/Unknwon/goconfig: wor
阅读全文
posted @
2021-04-16 17:18
凉城旧巷
阅读(6621)
推荐(0) 编辑
坑(十八)—— docker启动容器时挂载没有权限问题
摘要:docker启动容器时挂载没有权限问题 复现 centos 7系统 docker run ...... 出现一下错误: docker chown: changing ownership of '/var/lib/XXX': Permission denied 原因 Centos7安全Selinux禁
阅读全文
posted @
2021-04-13 19:52
凉城旧巷
阅读(1569)
推荐(0) 编辑
第三方接口——钉钉机器人
摘要:调用钉钉API发消息 一、自动获取access_token #!/usr/bin/env python # -*- coding: utf-8 -*- # 2017-8-20 钉钉API发送消息 import urllib, urllib2 import requests import json i
阅读全文
posted @
2021-04-09 11:39
凉城旧巷
阅读(713)
推荐(0) 编辑
git修改指定tag的bug
摘要:git tag修复bug 1、环境搭建 cd test_tag git init git remote git add a.txt git commit -m "first commit" # 打tag git tag -a v1.0 -m "v1.0版本发布" # 或 git tag v1.0 #
阅读全文
posted @
2021-04-01 14:08
凉城旧巷
阅读(1183)
推荐(0) 编辑