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

ROX-19694: Run CI and build/push probe on stage branch. #1260

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

porridge
Copy link
Collaborator

@porridge porridge commented Sep 14, 2023

Description

See title.

Checklist (Definition of Done)

  • Unit and integration tests added
  • Added test description under Test manual
  • Documentation added if necessary (i.e. changes to dev setup, test execution, ...)
  • CI and all relevant tests are passing
  • Add the ticket number to the PR title if available, i.e. ROX-12345: ...
  • Discussed security and business related topics privately. Will move any security and business related topics that arise to private communication channel.
  • Add secret to app-interface Vault or Secrets Manager if necessary
  • RDS changes were e2e tested manually
  • Check AWS limits are reasonable for changes provisioning new resources

Test manual

N/A

@porridge porridge temporarily deployed to development September 14, 2023 07:26 — with GitHub Actions Inactive
@porridge porridge temporarily deployed to development September 14, 2023 07:26 — with GitHub Actions Inactive
@porridge porridge temporarily deployed to development September 14, 2023 07:26 — with GitHub Actions Inactive
@@ -4,6 +4,7 @@ on:
push:
branches:
- main
- stage
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't know why we rebuild our probe on pushes to stage - is the intention that we test changes to the probe as well? And given the last step of build and pushing the probe, wouldn't these changes clobber each other in practice?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The intention is to run probe in stage.
We deploy all images from an image named the same as the commit we're pushing.
So if we even push to stage a commit that's not in main -> 💥

Copy link
Collaborator Author

@porridge porridge Sep 14, 2023

Choose a reason for hiding this comment

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

And yes, a push of the same image tag would overwrite I think, unless there is an explicit check for this in the script. Either way this is already happening for main vs production branch in the jenkins job.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Sep 14, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: porridge, SimonBaeumer

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [SimonBaeumer,porridge]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@porridge porridge merged commit 1557c0b into main Sep 18, 2023
@porridge porridge deleted the porridge/ROX-19694-build-push-stage-branch branch September 18, 2023 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants