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

Add YAML build scripts that mimic the current PR validation build #3422

Merged
merged 9 commits into from
Nov 22, 2018

Conversation

d3r3kk
Copy link

@d3r3kk d3r3kk commented Nov 21, 2018

Fix for #3350

  • Definition mimics the current PR-validation build closely

  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)

  • Title summarizes what is changing

  • Has a news entry file (remember to thank yourself!)

  • Unit tests & system/integration tests are added/updated

  • Test plan is updated as appropriate

  • package-lock.json has been regenerated by running npm install (if dependencies have changed)

Copy link

@DonJayamanne DonJayamanne left a comment

Choose a reason for hiding this comment

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

We also need to add support for building and uploading extension from the Release branch.
Today we have a task in Travis that does that.

So we need need:

  • Run CI on Master branch
  • Upload extension built from master branch into blob store (same place everytime)
    • We can't have the version number, etc. Cuz it changes, and users won't be able to download the vsix, and it's just painful and unnecessary.
    • If you want, you can have both, but we need to have a file name that doesn't change (so that the link can be hardcoded)
  • Run CI on Release branch
  • Upload extension built from release branch into blob store
    • Again, must not contain version information in file name, as is done today.

build/ci/templates/compile-and-validate.yml Show resolved Hide resolved
build/ci/templates/compile-and-validate.yml Outdated Show resolved Hide resolved
build/ci/templates/compile-and-validate.yml Outdated Show resolved Hide resolved
build/ci/templates/compile-and-validate.yml Outdated Show resolved Hide resolved
build/ci/templates/compile-and-validate.yml Outdated Show resolved Hide resolved
build/ci/templates/test-phase.yml Outdated Show resolved Hide resolved
build/ci/templates/test-phase.yml Outdated Show resolved Hide resolved
build/ci/vscode-python-pr-validation.yaml Show resolved Hide resolved
Fix for microsoft#3350

- Definition mimics the current PR-validation build closely
- This is for interim artifacts only, so everything should be fine.
- Templates that contain jobs can specify their parameters.
- Templates containing jobs respect overrides of their parameters
- Templates that contain only steps do not behave like job templates!
- test-phase is steps template, and its parameters are specified in the master only.
@d3r3kk
Copy link
Author

d3r3kk commented Nov 22, 2018

The scope for this PR is to get us to 1:1 between our current PR validation CI process and our new YAML-based process. From there, we can add/enhance as we wish (and do so as part of our feature work which will be very useful).

TODO after this PR:

- use gulp prePublishNonBundle to build bits
- ptvsd install has changed to use the latest from PyPI but only one implementation
@d3r3kk d3r3kk merged commit 828e53e into microsoft:master Nov 22, 2018
@d3r3kk d3r3kk deleted the yaml_builds branch November 22, 2018 02:53
@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants