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

ci: limit the platforms that are build #89

Merged
merged 2 commits into from
Jan 19, 2022

Conversation

nixpanic
Copy link
Collaborator

Document the GitHub Environment variable BUILD_PLATFORMS that is now
used in the jobs that test building container-images.

docs/ci.yaml Outdated Show resolved Hide resolved
docs/ci.yaml Outdated Show resolved Hide resolved
@@ -9,8 +9,8 @@ on:
jobs:
build_bundle:
name: build_bundle
if: github.repository == 'csi-addons/kubernetes-csi-addons'
Copy link
Member

Choose a reason for hiding this comment

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

if we remove this won't these builds run on the fork repos?

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 other build_* tests do not have this line. Without any configuration, forks get a single-platform build test.

@nixpanic nixpanic force-pushed the workflows/limit-architectures branch from 16fdffe to 29f243a Compare January 19, 2022 07:25
@nixpanic nixpanic marked this pull request as draft January 19, 2022 08:04
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Document the GitHub Environment variable `BUILD_PLATFORMS` that is now
used in the jobs that test building container-images.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
@nixpanic nixpanic force-pushed the workflows/limit-architectures branch from 29f243a to 06be13e Compare January 19, 2022 08:16
@nixpanic
Copy link
Collaborator Author

closing, just to re-open again and restart GitHub Workflows

@nixpanic nixpanic closed this Jan 19, 2022
@nixpanic nixpanic reopened this Jan 19, 2022
@nixpanic
Copy link
Collaborator Author

Interesting 🙄 When creating a branch for PR #90 in this repository, the CI jobs have restarted and are using the secrets.BUILD_PLATFORMS option!

@nixpanic nixpanic marked this pull request as ready for review January 19, 2022 10:23
@nixpanic nixpanic mentioned this pull request Jan 19, 2022
@nixpanic
Copy link
Collaborator Author

@Madhu-1 this is now working as expected, please review again. Thanks!

Settings of the repository. 'Normal' environment variables seem not possible.

An example of the GitHub Secret that will build the container-images on AMD64,
and both 32-bit and 64-bit Arm platforms:
Copy link
Member

Choose a reason for hiding this comment

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

Arm to ARM ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

https://www.arm.com/ uses Arm (I think that the new capitalization was introduced with some rebranding a while ago)

@mergify mergify bot merged commit 84754a7 into csi-addons:main Jan 19, 2022
nixpanic pushed a commit to nixpanic/kubernetes-csi-addons that referenced this pull request Oct 12, 2023
Sync the upstream changes from `csi-addons/kubernetes-csi-addons:main` into the `main` branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants