Skip to content

[Enhancement]: add ability to set repo:tag for ContainerRequest FromDockerfile#1508

Merged
mdelapenya merged 8 commits intotestcontainers:mainfrom
igribkov:ability_to_set_image_repo_tag
Aug 28, 2023
Merged

[Enhancement]: add ability to set repo:tag for ContainerRequest FromDockerfile#1508
mdelapenya merged 8 commits intotestcontainers:mainfrom
igribkov:ability_to_set_image_repo_tag

Conversation

@igribkov
Copy link
Copy Markdown
Contributor

@igribkov igribkov commented Aug 16, 2023

What does this PR do?

This PR adds an ability to set repo:tag for ContainerRequest FromDockerfile

Related issues

@igribkov igribkov requested a review from a team as a code owner August 16, 2023 19:55
@netlify
Copy link
Copy Markdown

netlify bot commented Aug 16, 2023

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit f32ba9f
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-go/deploys/64ecbf96355f8200082fff02
😎 Deploy Preview https://deploy-preview-1508--testcontainers-go.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Copy Markdown
Member

@mdelapenya mdelapenya left a comment

Choose a reason for hiding this comment

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

LGTM although I'd like to have a test for the new behaviour. Would you mind adding it? 🙏

Once there, I think this is ready to be merged 🚀

Thanks!

* main: (26 commits)
  modulegen: create internal/make (testcontainers#1537)
  chore: fix workflow (testcontainers#1538)
  chore(deps): bump the all group in /examples/cockroachdb with 1 update (testcontainers#1522)
  chore(deps): bump the all group in /examples/bigtable with 1 update (testcontainers#1534)
  chore(deps): bump the all group in /modules/localstack with 4 updates (testcontainers#1535)
  chore(deps): bump the all group in /modules/k3s with 2 updates (testcontainers#1526)
  chore(deps): bump the all group in /examples/spanner with 2 updates (testcontainers#1532)
  chore(deps): bump the all group in /examples/firestore with 1 update (testcontainers#1523)
  chore(deps): bump the all group in /modules/redis with 1 update (testcontainers#1524)
  chore(deps): bump the all group in /modules/clickhouse with 1 update (testcontainers#1525)
  chore(deps): bump the all group in /examples/toxiproxy with 2 updates (testcontainers#1528)
  chore(deps): bump the all group in /examples/pubsub with 1 update (testcontainers#1531)
  chore(deps): bump the all group in /examples/datastore with 2 updates (testcontainers#1530)
  chore(deps): bump the all group in /modules/redpanda with 1 update (testcontainers#1527)
  chore: properly render mkdocs.yml (testcontainers#1521)
  modulegen: create internal/workflow (testcontainers#1520)
  modulegen: create internal/module (testcontainers#1505)
  modulegen: create internal/mkdocs (testcontainers#1504)
  fix: do not remove the file schema in docker.host property (testcontainers#1517)
  fix: reset config in tests (testcontainers#1516)
  ...
@mdelapenya
Copy link
Copy Markdown
Member

Hi @igribkov 👋 I went ahead and added a test here: 6b5d098

Please let me know if that's fine.

Cheers!

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

No Coverage information No Coverage information
1.9% 1.9% Duplication

@mdelapenya mdelapenya self-assigned this Aug 28, 2023
@mdelapenya mdelapenya added the enhancement New feature or request label Aug 28, 2023
@mdelapenya mdelapenya merged commit e1db360 into testcontainers:main Aug 28, 2023
mdelapenya added a commit to mdelapenya/testcontainers-go that referenced this pull request Aug 30, 2023
* main: (32 commits)
  fix: remove wrong example from workspace (testcontainers#1556)
  chore(deps): bump the all group in /modules/localstack with 1 update (testcontainers#1552)
  modulegen: generate code-workspace with json marshal (testcontainers#1551)
  chore(deps): bump the all group in /modules/compose with 2 updates (testcontainers#1553)
  feat: add mariadb module (testcontainers#1548)
  feat(modulegen): print out VSCode workspace file if needed (testcontainers#1549)
  modulegen: generate md file inside internal/mkdocs (testcontainers#1543)
  modulegen: create internal/module and internal/modfile (testcontainers#1539)
  [Enhancement]: add ability to set repo:tag for ContainerRequest FromDockerfile (testcontainers#1508)
  Fix module generator for examples (testcontainers#1545)
  Update pulsar.md (testcontainers#1542)
  modulegen: create internal/make (testcontainers#1537)
  chore: fix workflow (testcontainers#1538)
  chore(deps): bump the all group in /examples/cockroachdb with 1 update (testcontainers#1522)
  chore(deps): bump the all group in /examples/bigtable with 1 update (testcontainers#1534)
  chore(deps): bump the all group in /modules/localstack with 4 updates (testcontainers#1535)
  chore(deps): bump the all group in /modules/k3s with 2 updates (testcontainers#1526)
  chore(deps): bump the all group in /examples/spanner with 2 updates (testcontainers#1532)
  chore(deps): bump the all group in /examples/firestore with 1 update (testcontainers#1523)
  chore(deps): bump the all group in /modules/redis with 1 update (testcontainers#1524)
  ...
@igribkov
Copy link
Copy Markdown
Contributor Author

igribkov commented Aug 30, 2023

@mdelapenya, sorry for so late response, i was on vacation and totally offline, i'm very sorry that you had to do my work :(

tests look fine

@mdelapenya
Copy link
Copy Markdown
Member

@igribkov no worries at all! I totally understand, taking time off goes first!

I was so ecstatic about the feature that I wanted to include it the soonest. Don't feel sorry 🙏 You did a great work requesting the new feature and implementing it 😉

Thanks again for your time contributing to testcontainers-go 🚀

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.

[Enhancement]: add ability to set repo:tag for ContainerRequest FromDockerfile

2 participants