How to work with Artifactory aka Artifactory Workflow

DevOps

MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

What is the Maven Version Type?

  • SNAPSHOT e.g 3.4-SNAPSHOT – Not a Production Ready. may be Testing
  • RELEASE e.g 3.4 – Production Ready. Ready to Release

What are the Types of Repository in Artifactory?

  • Local
  • Remote
  • Virtual
  • Distribution
  • Fedrated

What is Local Repository in Artifactory & its use cases?

  • Its hosted in nearest Artifactory server
  • For reading and Writing means Upload and Download

What is Remote Repository in Artifactory & its use cases?

  • Its Local Cache copy in nearest Artifactory server of Remote repo.
  • its for Faster reading purpose only. Its for download only

What is Virtual Repository in Artifactory & its use cases?

  • Its a repo which contains multiple location and multiple remote.
  • Its group of repos

Creating a repository as per the build tool. eg. Maven

  • LOCAL – SNAPSHORT – http://192.168.3.61:8082/artifactory/devopsschool-local-snapshot/
  • LOCAL – RELEASE – http://192.168.3.61:8082/artifactory/devopsschool-local-release/
  • REMOTE – http://192.168.3.61:8082/artifactory/devopsschool-remote/
  • VIRTUAL – http://192.168.3.61:8082/artifactory/devopsschool-group/

Creating a User & Group and Assigning their access

  • Create a Access (User ID) for Upload or Download or both.
  • Create a Group and Add User into it
  • Add a required access and repo to the Group

Authentication & Authorization in Artifactory?

Authentication – How to login into Artifactory

  • Default – INTERNAL
  • Option 1 – LDAP
  • Option 2 – SAML SSO
  • Option 3 – OAuth SSO
  • Option 4 – HTTP SSO
  • Option 5 – Crowd / JIRA
  • Option 6 – SCIM
  • Option 7 – Vault

Authorization – What can you do at Artifactory after login?

  • Create a User e.g deploy/Deploy123
  • Create a group e.g deploy
  • Create a permission with Repo to Group and its permission

How to Upload and How to Download a package using Maven in Artifactory?

  • Maven
  • Gradle
  • Docker
  • Msbuild
  • pybuilder
  • gobuild