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

Integrate chocolatey build & push into Bazel CI for Bazel releases #1456

Closed
meteorcloudy opened this issue Oct 4, 2022 · 6 comments
Closed
Assignees
Labels

Comments

@meteorcloudy
Copy link
Member

As described at bazelbuild/bazel#15685 (comment)

@petemounce
Copy link

👋

@petemounce
Copy link

Could we grab some time to sync up, please? I'm UK-timezone. bazelbuild/bazel#15685 (comment) is latest; just pushed that.

@petemounce
Copy link

To illustrate what this looks like when I do it:

​C:\Users\Pete
λ  cd .\src\personal\bazel\scripts\packages\chocolatey\
​C:\Users\Pete\src\personal\bazel\scripts\packages\chocolatey [master ≡]
λ  .\build.ps1 -version 5.4.0 -mode release
mode: release


StatusCode        : 200
StatusDescription : OK
Content           : {48, 48, 101, 100...}
RawContent        : HTTP/1.1 200 OK
                    Connection: keep-alive
                    Content-MD5: sJ3fEgGIFNsxmpDcnpjSHw==
                    x-ms-request-id: 25f311e7-c01e-0066-3a4b-156d45000000
                    x-ms-version: 2020-04-08
                    x-ms-creation-time: Thu, 15 Dec 2022 16...
Headers           : {[Connection, keep-alive], [Content-MD5, sJ3fEgGIFNsxmpDcnpjSHw==], [x-ms-request-id, 25f311e7-c01e-0066-3a4b-156d45000000],
                    [x-ms-version, 2020-04-08]...}
RawContentLength  : 97

Copying LICENSE from repo-root to tools directory
Chocolatey v1.0.0
Attempting to build package from 'bazel.nuspec'.
Successfully created package 'C:\Users\Pete\src\personal\bazel\scripts\packages\chocolatey\bazel.5.4.0.nupkg'


​C:\Users\Pete\src\personal\bazel\scripts\packages\chocolatey [master ≡]
λ  choco push
Chocolatey v1.0.0
Attempting to push bazel.5.4.0.nupkg to https://push.chocolatey.org/
bazel 5.4.0 was pushed successfully to https://push.chocolatey.org/


Your package will go through automated checks and may be subject to
human moderation. You should receive email(s) with the automated
testing results. If you don't receive them within 1-3 business days,
please use the 'Contact Site Admins' on the package page to contact the
moderators. If your package is subject to human moderation there is no
guarantee on the length of time that this can take to complete. This
depends on the availability of moderators, number of packages in the
queue at this time, as well as many other factors.

You can check where your package is in the moderation queue here:
https://ch0.co/moderation

For more information about the moderation process, see the docs:
https://docs.chocolatey.org/en-us/community-repository/moderation/

Please ensure your registered email address is correct and emails from
moderation at chocolatey dot org are not being sent to your spam/junk
folder.

@meteorcloudy
Copy link
Member Author

@petemounce Thanks! Sorry for not following up on this, our team will get to in in early Q1 2023.

@petemounce
Copy link

@meteorcloudy @SalmaSamy friendly ping on when this might see some implementation?

@meteorcloudy meteorcloudy assigned keertk and unassigned SalmaSamy May 2, 2023
meteorcloudy pushed a commit that referenced this issue May 5, 2023
Issue: #1456

One successful run (without choco push):
https://buildkite.com/bazel-trusted/bazel-release/builds/1149#0187e4f2-cde0-43c8-b4ef-4c250c053249

```
StatusCode        : 200
StatusDescription : OK
Content           : {53, 51, 52, 51...}
RawContent        : HTTP/1.1 200 OK
                    X-GUploader-UploadID: ADPycdukvqcJCd4f9KE2dONfu7OoJ-rkJAcXSwFNDbU8tnv9bSE_YzaESHqyOL4OkcEkp-4Uatv1_
                    0uJYJRztxp4Lr9fw0XXqIoJ
                    x-goog-generation: 1682371417868867
                    x-goog-metageneration:...
Headers           : {[X-GUploader-UploadID, ADPycdukvqcJCd4f9KE2dONfu7OoJ-rkJAcXSwFNDbU8tnv9bSE_YzaESHqyOL4OkcEkp-4Uatv
                    1_0uJYJRztxp4Lr9fw0XXqIoJ], [x-goog-generation, 1682371417868867], [x-goog-metageneration, 1],
                    [x-goog-stored-content-encoding, identity]...}
RawContentLength  : 100
 
Copying LICENSE from repo-root to tools directory
Chocolatey v1.2.1
Attempting to build package from 'bazel.nuspec'.
Successfully created package 'C:\b\bk-trusted-windows-15c6\bazel-trusted\bazel-release\scripts\packages\chocolatey\bazel.6.2.0-rc1.nupkg'
```
@keertk
Copy link
Member

keertk commented May 9, 2023

This is complete - confirmed both RCs and releases.

@keertk keertk closed this as completed May 9, 2023
fmeum pushed a commit to fmeum/continuous-integration that referenced this issue Dec 10, 2023
)

Issue: bazelbuild#1456

One successful run (without choco push):
https://buildkite.com/bazel-trusted/bazel-release/builds/1149#0187e4f2-cde0-43c8-b4ef-4c250c053249

```
StatusCode        : 200
StatusDescription : OK
Content           : {53, 51, 52, 51...}
RawContent        : HTTP/1.1 200 OK
                    X-GUploader-UploadID: ADPycdukvqcJCd4f9KE2dONfu7OoJ-rkJAcXSwFNDbU8tnv9bSE_YzaESHqyOL4OkcEkp-4Uatv1_
                    0uJYJRztxp4Lr9fw0XXqIoJ
                    x-goog-generation: 1682371417868867
                    x-goog-metageneration:...
Headers           : {[X-GUploader-UploadID, ADPycdukvqcJCd4f9KE2dONfu7OoJ-rkJAcXSwFNDbU8tnv9bSE_YzaESHqyOL4OkcEkp-4Uatv
                    1_0uJYJRztxp4Lr9fw0XXqIoJ], [x-goog-generation, 1682371417868867], [x-goog-metageneration, 1],
                    [x-goog-stored-content-encoding, identity]...}
RawContentLength  : 100
 
Copying LICENSE from repo-root to tools directory
Chocolatey v1.2.1
Attempting to build package from 'bazel.nuspec'.
Successfully created package 'C:\b\bk-trusted-windows-15c6\bazel-trusted\bazel-release\scripts\packages\chocolatey\bazel.6.2.0-rc1.nupkg'
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants