Smart device teams need to upload their code’s version dependencies to ensure that they have control over updates, enabling them to manage versioning effectively and mitigate the risk of accidental updates.
The version file or folder is uploaded to CodeCommit, and through the pipeline, it is then uploaded to the S3 bucket. This process allows for the future implementation of multiple necessary tests through the pipeline. Once uploaded, S3 version control is enabled, making it easy to identify any files that have been previously replaced.
To locate the files that is uploaded please go to this URL: https://s3.console.aws.amazon.com/s3/buckets/yvr-artifactory?region=us-west-2&tab=objects
The script that you can use to upload and download file will be in the S3 bucket name menu_artifactory.sh
Prior to using the script you will first need to get your git credential and your account access key and secret.
How to get Git Credential Steps
- Go to Users in IAM
- Click your account
- Click on Security credentials tab
- Click generate credentials at HTTPS Git credentials for AWS CodeCommit
- Save the username and password(download the csv file).
To get your account access key and secret please also get it at IAM console.
After that please use aws configure and add your access key and secret.
Now you can start using the script by ./menu_artifactory.sh