Commit Graph

109 Commits

Author SHA1 Message Date
Dongsu Park
4cec3b6b0c .github: add net-nds/openldap to portage packages list
Add net-nds/openldap to portage packages list for weekly updates.
2023-07-24 17:41:15 +02:00
Dongsu Park
a249d6e598 .github: add dev-libs/protobuf to portage-stable packages list
Add dev-libs/protobuf to portage-stable-packages-list for weekly
updates.
2023-07-13 10:34:38 +02:00
Krzesimir Nowak
6acbb9e60a .github: Add virtual/libc to package automation 2023-07-07 17:38:13 +02:00
Krzesimir Nowak
8d8d16194d .github: Add new packages to package automation 2023-07-07 17:38:13 +02:00
Krzesimir Nowak
05ddd6ccde .github: Drop semodule utils from automation
We can reintroduce it to package update automation once all the
selinux packages are kept in sync.
2023-07-07 17:37:00 +02:00
krishjainx
254f5a6f09 .github: Add newly added/updated packages to package update automation 2023-07-07 17:05:08 +02:00
Jeremi Piotrowski
ff09287624
Merge pull request #950 from flatcar/zstd-container-images
Use zstd for sdk container images
2023-07-03 12:21:31 +02:00
Krzesimir Nowak
bbd3b26bfa
Merge pull request #958 from flatcar/krnowak/docker-group-fixes
docker group fixes
2023-06-30 07:52:24 +02:00
Krzesimir Nowak
283423132f
Merge pull request #934 from flatcar/buildbot/weekly-portage-stable-package-updates-2023-06-19
Weekly portage-stable package updates 2023-06-19
2023-06-30 06:35:14 +02:00
Flatcar Buildbot
bf5c6b10a1 .github: Drop sys-apps/man-pages-posix from automation 2023-06-29 17:16:16 +02:00
Flatcar Buildbot
d74eb681ed .github: Add acct-group/docker to package automation 2023-06-29 16:44:27 +02:00
Dongsu Park
1f2b157f25 .github: add net-libs/libmicrohttpd to portage-stable packages list
Add net-libs/libmicrohttpd to portage-stable-packages-list, to get
it automatically updated by weekly updates.
2023-06-29 13:15:13 +02:00
Jeremi Piotrowski
552de1c413 .github: Install zstd as part of setup
Zstd is now used for container images compression so make sure it is part of
our runners.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2023-06-29 10:01:39 +02:00
Krzesimir Nowak
88b8dce55d .github: Add xorg-3.eclass to package automation 2023-06-15 12:18:54 +02:00
Krzesimir Nowak
4d6e0efa45 .github: Drop app-eselect/eselect-lua from package automation 2023-06-15 12:18:54 +02:00
Krzesimir Nowak
5b3f36ae42 .github: Drop dev-perl/Text-Unidecode from automation 2023-06-15 12:18:54 +02:00
Krzesimir Nowak
e3cfdc2cfa .github: Drop dev-perl/Unicode-EastAsianWidth from automation 2023-06-15 12:18:54 +02:00
Krzesimir Nowak
65a5a764e4 .github: Add sys-apps/config-site to automation list 2023-06-15 12:14:45 +02:00
Flatcar Buildbot
4b0259d32b .github: Sort the packages list 2023-06-15 11:35:29 +02:00
Sayan Chowdhury
8e71fb14e8
.github: update the portage-stable-package-list with new packages
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2023-06-15 13:14:37 +05:30
Krzesimir Nowak
fba00ac4fc app-emulation: Move docker packages to app-containers
This commit moves containerd, cri-tools, docker, docker-cli and
docker-proxy from app-emulation to app-containers.

Also move app-emulation/docker-runc to app-containers as runc. The
docker-runc name seems to be an artifact from the older versions of
docker, where it needed to use a fork of runc instead of upstream. But
now, docker-runc was actually using upstream code, so simplify the
name now.

Adapt all the other files to the new package names.
2023-06-06 10:41:18 +02:00
Krzesimir Nowak
f1c2d9802d
Merge pull request #863 from flatcar/krnowak/move-tini
Move sys-process/tini from overlay to portage-stable
2023-06-02 14:03:50 +02:00
Gabriel Adrian Samfira
6819fd1a9e
Properly reference inputs
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-06-01 19:18:23 +03:00
Gabriel Adrian Samfira
3a0a28e32a
Make jobs cancelable
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-06-01 18:39:14 +03:00
Gabriel Adrian Samfira
91b96b21b3
Define output for update_sdk
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-06-01 17:42:24 +03:00
Gabriel Adrian Samfira
66bfe6a6e5
Look for /update-sdk in PR description
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-06-01 16:59:37 +03:00
Krzesimir Nowak
211ae347e9 .github: Add sys-process/tini to packages list 2023-06-01 15:45:19 +02:00
Gabriel Adrian Samfira
215fb8f823
Refactor workflows
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-05-31 15:17:32 +03:00
Gabriel Adrian Samfira
0513a6e82c
enable on PR
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-05-31 14:56:33 +03:00
Thilo Fromm
0a8f4a54a9
Merge pull request #846 from flatcar/t-lo/fix-pr-test-results-comment
workflows/pr-comment,run-kola: fix concurrency + results comment
2023-05-31 09:23:29 +02:00
Thilo Fromm
5e1a2c270d workflows/pr-comment-builds: remove always() condition
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-05-30 18:13:11 +02:00
Dongsu Park
a1505ce339 .github: add go-bootstrap to list of the auto updated packages 2023-05-29 12:47:08 +05:30
Thilo Fromm
af686c0f41 workflows/pr-comment-dispatcher: post link to workflow run
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-05-26 10:07:00 +02:00
Thilo Fromm
a14a89f2b8 workflows/pr-comment,run-kola: fix concurrency + results comment
This change includes 2 unrelated small fixes to the "PR comment command"
build+test feature:

1. The concurrency group now contains the PR number, ensuring that
   builds for multiple PRs can run in parallel. This addresses an issue
   in which starting a build on a PR would cancel a running build of
   another PR.
2. Post test results to the PR where the build command was issued on.
   The add-pr-comment step's condition was not updated when switching
   to PR comment commands for starting builds, so the step would only
   run if the action was triggered by a PR change event. Since we now
   trigger on issue_comment, the step never ran.

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-05-26 09:48:49 +02:00
Krzesimir Nowak
f32eb01fc3 .github: Update the packages list 2023-05-24 07:04:24 +02:00
Gabriel Adrian Samfira
55c9ab49b9
Fix typo, address some linting
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-05-23 12:41:08 +03:00
Gabriel Adrian Samfira
5b721518fa
Set explicit step ID
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-05-23 12:40:54 +03:00
Thilo Fromm
f41211d87e
Merge pull request #800 from flatcar/t-lo/github-actions-add-sdk-update
Trigger build workflow via PR comment instead of PR state; add a workflow to build an updated SDK container,
2023-05-22 14:01:08 +02:00
Krzesimir Nowak
6fcb6111de .github: Add new packages to automation list 2023-05-17 08:52:50 +02:00
Krzesimir Nowak
391f1d1298
Merge pull request #811 from flatcar/krnowak/sys-packages-dev-glob
Automate updates of system packages: dev-*
2023-05-17 08:48:51 +02:00
Krzesimir Nowak
ca22e6b5b4 .github: Automate updates of just added/updated packages 2023-05-11 15:33:29 +02:00
Thilo Fromm
f66d24dec7
Update .github/workflows/pr-comment-build-dispatcher.yaml
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
2023-05-11 12:00:12 +02:00
Thilo Fromm
f71f453950 workflows: build_sdk => update_sdk
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-05-11 08:01:17 +02:00
Krzesimir Nowak
46e7727953 .github: Add more system packages to automation 2023-05-10 16:30:26 +02:00
Jeremi Piotrowski
68db2e0a04 .github: add acl to portage-stable-packages-list
Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
2023-05-10 15:27:19 +02:00
Thilo Fromm
0e8cde89fe pr-comment-build-dispatcher.yaml: dispatch SDK and OS image builds
This change updates dispatching of SDK and OS image builds from changes
to a PR to an explicit comment. PRs will only be built if that comment
was added by a member of the Flatcar maintainers team.

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-05-09 17:29:31 +02:00
Thilo Fromm
f5d1a3c2f0 pr-comment-build-dispatcher.yaml: Check team membership
This change is a building block for PR builds triggered by PR commands.
It checks for membership of the commenter in the Flatcar Maintainers
team.

Note that the "issue comment" event (which is also triggered on PR
comments) is only emitted to workflows in the "main" branch. So in order
to test / trigger this workflow, a transient "PR update" event is used,
and the "commenter" user's login is hard-coded for testing.

This will be updated to using the actual commenter's login before merge.

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-05-09 12:13:06 +02:00
Thilo Fromm
d92589280b workflows: add update-sdk.yaml
This change adds a github actions workflow to build a new SDK container
based on an existing SDK container. This can be used for CI testing
intrusive changes that also affect the SDK without bootstrapping a whole
new SDK.

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2023-05-09 12:13:06 +02:00
Dongsu Park
3b3fbccc74
Merge pull request #790 from flatcar/dongsu/gh-fetch-remote
.github: check for remote branches with git ls-remote
2023-05-08 17:13:57 +02:00
Dongsu Park
c4a99b4376 .github: check for remote branches with git ls-remote
git show-ref in check_remote_branch is not working at all, because the
GitHub Actions checkout fetches a git repo with only depth 1 by default.
That means only main branch is available, not any other remote branches.
As a result, git show-ref always fails.

Fix that by checking for remote branches by git ls-remote.
2023-05-08 17:00:43 +02:00