Skip to content

[content-service] Revert #11895 #13549

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

Merged
merged 3 commits into from
Oct 4, 2022
Merged

[content-service] Revert #11895 #13549

merged 3 commits into from
Oct 4, 2022

Conversation

aledbf
Copy link
Member

@aledbf aledbf commented Oct 3, 2022

Description

When we open a workspace from a branch and the repository contains a .gitpod.yml file with additionalRepositories, we should not assume the branch exists in those repositories. Also, when we specify a branch in one of the additionalRepositories, we should be able to use that branch.

Related Issue(s)

Fixes #13527
Fixes #13512
Reverts #11895

How to test

Release Notes

NONE

Werft options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-integration-tests=workspace
    Valid options are all, workspace, webapp, ide

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-aledbf-defgit.1 because the annotations in the pull request description changed
(with .werft/ from main)

@aledbf
Copy link
Member Author

aledbf commented Oct 3, 2022

/werft run with-clean-slate-deployment

👍 started the job as gitpod-build-aledbf-defgit.4
(with .werft/ from main)

@aledbf
Copy link
Member Author

aledbf commented Oct 3, 2022

/werft run with-clean-slate-deployment

👍 started the job as gitpod-build-aledbf-defgit.5
(with .werft/ from main)

@aledbf
Copy link
Member Author

aledbf commented Oct 3, 2022

/werft run with-integration-tests=workspace

👍 started the job as gitpod-build-aledbf-defgit.6
(with .werft/ from main)

@aledbf
Copy link
Member Author

aledbf commented Oct 3, 2022

/werft run with-integration-tests=workspace

👍 started the job as gitpod-build-aledbf-defgit.8
(with .werft/ from main)

@aledbf
Copy link
Member Author

aledbf commented Oct 4, 2022

/werft run with-integration-tests=workspace

👍 started the job as gitpod-build-aledbf-defgit.10
(with .werft/ from main)

@aledbf
Copy link
Member Author

aledbf commented Oct 4, 2022

/werft run with-clean-slate-deployment

👍 started the job as gitpod-build-aledbf-defgit.12
(with .werft/ from main)

@aledbf
Copy link
Member Author

aledbf commented Oct 4, 2022

/werft run with-integration-tests=workspace

👍 started the job as gitpod-build-aledbf-defgit.14
(with .werft/ from main)

@aledbf aledbf force-pushed the aledbf/defgit branch 2 times, most recently from 63f631d to 0d0e281 Compare October 4, 2022 01:17
@aledbf
Copy link
Member Author

aledbf commented Oct 4, 2022

/werft run

👍 started the job as gitpod-build-aledbf-defgit.18
(with .werft/ from main)

@aledbf
Copy link
Member Author

aledbf commented Oct 4, 2022

/werft run with-integration-tests=workspace

👍 started the job as gitpod-build-aledbf-defgit.19
(with .werft/ from main)

@aledbf aledbf requested a review from svenefftinge October 4, 2022 03:34
@aledbf aledbf marked this pull request as ready for review October 4, 2022 03:35
@aledbf aledbf requested a review from a team October 4, 2022 03:36
@github-actions github-actions bot added the team: workspace Issue belongs to the Workspace team label Oct 4, 2022
Copy link
Contributor

@jenting jenting left a comment

Choose a reason for hiding this comment

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

Code LGTM. But it would be good if we could enhance the integration test to check the workspace pod branch name is as expected.

/hold

Copy link
Member

@svenefftinge svenefftinge left a comment

Choose a reason for hiding this comment

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

Thanks! Cloning multi-repos on branches now works again as advertised.

@aledbf
Copy link
Member Author

aledbf commented Oct 4, 2022

/werft run

👍 started the job as gitpod-build-aledbf-defgit.20
(with .werft/ from main)

Check the branch is the expected
@aledbf
Copy link
Member Author

aledbf commented Oct 4, 2022

/werft run with-integration-tests=workspace with-large-vm with-clean-slate-deployment

👍 started the job as gitpod-build-aledbf-defgit.22
(with .werft/ from main)

@andrew-farries
Copy link
Contributor

/hold as it's blocking the merge queue

@aledbf
Copy link
Member Author

aledbf commented Oct 4, 2022

/werft run with-integration-tests=workspace with-large-vm with-clean-slate-deployment

👍 started the job as gitpod-build-aledbf-defgit.23
(with .werft/ from main)

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-aledbf-defgit.24 because the annotations in the pull request description changed
(with .werft/ from main)

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-aledbf-defgit.25 because the annotations in the pull request description changed
(with .werft/ from main)

@roboquat roboquat merged commit aafb0d3 into main Oct 4, 2022
@roboquat roboquat deleted the aledbf/defgit branch October 4, 2022 15:37
@roboquat roboquat added deployed: workspace Workspace team change is running in production deployed Change is completely running in production labels Oct 5, 2022
@kylos101 kylos101 assigned aledbf and unassigned svenefftinge Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: workspace Workspace team change is running in production deployed Change is completely running in production release-note-none size/L team: workspace Issue belongs to the Workspace team
Projects
No open projects
Status: Done
6 participants