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

change: [M3-8957] - Allow Docker registry to be overridden when building Cloud images #11360

Conversation

jdamore-linode
Copy link
Contributor

Description 📝

Allows the Docker registry to be overridden when building our images. Opening this as a draft because I'll be testing some CI changes against this PR.

Changes 🔄

List any change(s) relevant to the reviewer.

  • Let Docker registry be overridden using "IMAGE_REGISTRY" build arg

Target release date 🗓️

Please specify a release date (and environment, if applicable) to guarantee timely review of this PR. If exact date is not known, please approximate and update it as needed.

Preview 📷

Include a screenshot or screen recording of the change.

🔒 Use the Mask Sensitive Data setting for security.

💡 Use <video src="" /> tag when including recordings in table.

Before After
📷 📷

How to test 🧪

Prerequisites

(How to setup test environment)

  • ...
  • ...

Reproduction steps

(How to reproduce the issue, if applicable)

  • ...
  • ...

Verification steps

(How to verify changes)

  • ...
  • ...
Author Checklists

As an Author, to speed up the review process, I considered 🤔

👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support


  • I have read and considered all applicable items listed above.

As an Author, before moving this PR from Draft to Open, I confirmed ✅

  • All unit tests are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

Commit message and pull request title format standards

Note: Remove this section before opening the pull request
Make sure your PR title and commit message on squash and merge are as shown below

<commit type>: [JIRA-ticket-number] - <description>

Commit Types:

  • feat: New feature for the user (not a part of the code, or ci, ...).
  • fix: Bugfix for the user (not a fix to build something, ...).
  • change: Modifying an existing visual UI instance. Such as a component or a feature.
  • refactor: Restructuring existing code without changing its external behavior or visual UI. Typically to improve readability, maintainability, and performance.
  • test: New tests or changes to existing tests. Does not change the production code.
  • upcoming: A new feature that is in progress, not visible to users yet, and usually behind a feature flag.

Example: feat: [M3-1234] - Allow user to view their login history


@jdamore-linode jdamore-linode self-assigned this Dec 3, 2024
@jdamore-linode jdamore-linode marked this pull request as ready for review December 9, 2024 20:00
@jdamore-linode jdamore-linode requested a review from a team as a code owner December 9, 2024 20:00
@jdamore-linode jdamore-linode requested review from carrillo-erik and coliu-akamai and removed request for a team December 9, 2024 20:00
Copy link

github-actions bot commented Dec 10, 2024

Coverage Report:
Base Coverage: 86.95%
Current Coverage: 86.97%

Copy link

github-actions bot commented Jan 3, 2025

This PR is stale because it has been open 15 days with no activity. Please attend to this PR or it will be closed in 5 days

@github-actions github-actions bot added the Stale label Jan 3, 2025
@jaalah-akamai jaalah-akamai added the Approved Multiple approvals and ready to merge! label Jan 7, 2025
@jaalah-akamai
Copy link
Contributor

@jdamore-linode Should be good 👍

@linode-gh-bot
Copy link
Collaborator

Cloud Manager UI test results

🎉 474 passing tests on test run #6 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
0 Failing474 Passing2 Skipped96m 0s

@jdamore-linode jdamore-linode merged commit 26e3b83 into linode:develop Jan 7, 2025
22 of 23 checks passed
Copy link

cypress bot commented Jan 7, 2025

Cloud Manager E2E    Run #7049

Run Properties:  status check failed Failed #7049  •  git commit 26e3b834d8: change: [M3-8957] - Allow Docker registry to be overridden when building Cloud i...
Project Cloud Manager E2E
Branch Review develop
Run status status check failed Failed #7049
Run duration 26m 02s
Commit git commit 26e3b834d8: change: [M3-8957] - Allow Docker registry to be overridden when building Cloud i...
Committer jdamore-linode
View all properties for this run ↗︎

Test results
Tests that failed  Failures 26
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 452
View all changes introduced in this branch ↗︎

Tests for review

Failed  linodes/linode-config.spec.ts • 1 failed test

View Output Video

Test Artifacts
Linode Config management > End-to-End > Clones a config Screenshots Video
Failed  linodes/clone-linode.spec.ts • 1 failed test

View Output Video

Test Artifacts
clone linode > can clone a Linode from Linode details page Screenshots Video
Failed  stackscripts/create-stackscripts.spec.ts • 1 failed test

View Output Video

Test Artifacts
Create stackscripts > creates a StackScript with Any/All target image Screenshots Video
Failed  linodes/rebuild-linode.spec.ts • 2 failed tests

View Output Video

Test Artifacts
rebuild linode > rebuilds a linode from Image Screenshots Video
rebuild linode > rebuilds a linode from Community StackScript Screenshots Video
Failed  firewalls/update-firewall.spec.ts • 3 failed tests

View Output Video

Test Artifacts
update firewall > updates a firewall's linodes and rules Screenshots Video
update firewall > updates a firewall's status Screenshots Video
update firewall > updates a firewall's label Screenshots Video

The first 5 failed specs are shown, see all 15 specs in Cypress Cloud.

dmcintyr-akamai pushed a commit to dmcintyr-akamai/manager that referenced this pull request Jan 9, 2025
…ing Cloud images (linode#11360)

* Allow Docker registry to be overridden via `IMAGE_REGISTRY` arg

* Add changeset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge! Ready for Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants