Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/icy/jaloc
Just another laptop on the cloud
https://github.com/icy/jaloc
cd ci continuous-delivery continuous-deployment devops
Last synced: 8 days ago
JSON representation
Just another laptop on the cloud
- Host: GitHub
- URL: https://github.com/icy/jaloc
- Owner: icy
- Created: 2020-03-31T17:51:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-06T13:43:47.000Z (almost 4 years ago)
- Last Synced: 2024-10-28T14:25:13.427Z (about 2 months ago)
- Topics: cd, ci, continuous-delivery, continuous-deployment, devops
- Size: 1.95 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Description
`jaloc` is just another laptop on the cloud;
it collects some ideas to design your devops things.## Deploy from a fixed tag
A popular way is to deploy from a specific tag or branch.
Normally you do as following```
$ git tag v1.0.2
$ git push v1.0.2
$ circleci --please --deploy --my-tag "v1.0.2"$ git checkout -b my-qa-branch
$ git push my-qa-branch
$ circleci --please --deploy --my-branch "my-qa-branch"
```What's happening here? When you look at your git history, you don't
know where your deployment point is. You have to learn your branches
or tags.Let's do this
```
$ git tag production-ready -f
$ git push --force production-ready
$ circleci --please --deploy --my-tag "production-ready"
```This way helps
1. You learn the deployment point from git history (`git tag`).
2. It's easy to convert your deployment script to a poll/pull-based
deployment script.
3. It's very easy to move your deployment to a different point
by overriding the tag.Deployment tag works like a pointer and it can be resolved to arbitary
commit in your repository.There may be some problems
1. It's easier to make mistake with wrong tag (but the same issue applies with other methods too)
2. If anyone can push tag, that would cause a lot of headache ^^ (but the same issue applies with other methods too)Note, it's better to use annotated tag...