Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker-compose version of AWS instance #2421

Merged
merged 3 commits into from
Jul 30, 2024

Conversation

MishkaMN
Copy link
Contributor

@MishkaMN MishkaMN commented Jul 29, 2024

PR Details

Description

Updating docker-compose used in the AWS instance.
Previous one is outdated due to carma script update.

Related GitHub Issue

NA

Related Jira Key

ARC-133
https://usdot-carma.atlassian.net/browse/ARC-133

Motivation and Context

Triggered by this change #2409

How Has This Been Tested?

Tested by launching AWS instance and checking version of docker-compose and carma script contents:
image
image

Types of changes

  • Defect fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that cause existing functionality to change)

Checklist:

  • I have added any new packages to the sonar-scanner.properties file
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@MishkaMN MishkaMN requested a review from adev4a July 29, 2024 20:07
@MishkaMN MishkaMN self-assigned this Jul 29, 2024
@MishkaMN MishkaMN added the enhancement New feature or request label Jul 29, 2024
@@ -32,6 +32,10 @@ Parameters:
Description: The specific carma config which launches xil and platform to make available in the instance
Type: String
Default: "usdotfhwastoldev/carma-config:xil-cloud-test"
DockerComposeVersion:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this doesn't need to be argument for the yaml. Local scope on line 429-430 should be enough

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah weird syntax error was giving me trouble so I was trying out different approaches. I learned in this aws yaml context that:

  • ${VARIABLE} is a parameter defined in the yaml level
  • $VARIABLE is a variable for the shell.
    Although I did defined the VARIABLE=docker-compose-version, it kept giving me error when I used it as ${VARIABLE} saying it was not resolved.

Copy link

sonarcloud bot commented Jul 30, 2024

@MishkaMN MishkaMN requested a review from adev4a July 30, 2024 13:22
@MishkaMN MishkaMN merged commit f873ada into develop Jul 30, 2024
4 checks passed
@MishkaMN MishkaMN deleted the feature/update-aws-docker-compose branch July 30, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants