https://github.com/shenxianpeng/devops-toolkit
https://github.com/shenxianpeng/devops-toolkit
artifactory devops devops-tools git jenkins
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shenxianpeng/devops-toolkit
- Owner: shenxianpeng
- Created: 2020-06-02T02:33:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-17T05:29:55.000Z (almost 6 years ago)
- Last Synced: 2026-04-07T16:41:32.651Z (3 months ago)
- Topics: artifactory, devops, devops-tools, git, jenkins
- Language: Shell
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `devops-toolkit`
List same of toolkit when I am a DevOps engineer.
## Artifactory
[Artifactory REST API](https://www.jfrog.com/confluence/display/JFROG/Artifactory+REST+API) implement in shell
These shell also refer to other [examples](https://github.com/jfrog/project-examples.git)
**When using these scripts, be sure to test adequately in your test environment to understand expectations. At one's own risk.**
## Have implemented
1. Deploy a local file to Artifactory keeping the same file name\
`$ deploy-file.sh localFilePath targetFolder`
2. Recursively deploys folder content. Attempt checksum deploy first to optimize upload time.
`$ deploy-folder-by-checksum.sh localFileFolder targetRepoName`
3. Download a date range of files from Artifactory
`$ download-in-date-range.sh`
4. Cleanup a date range of files form Artifactory
`$ cleanup-artifacts.sh`
TODO: cleanup empty folder.