Jose Diaz-Gonzalez
9d76265e33
fix: run arm build on 22.04
...
There is no 24.04 buildjet runner, so this just stalls forever.
2024-09-23 21:46:48 -04:00
Jose Diaz-Gonzalez
93452a0e80
tests: run CI on Ubuntu Noble
2024-09-22 23:27:32 -04:00
Jose Diaz-Gonzalez
ffd8fddff1
chore: separate out docker setup and check the contents of the nginx sudoers file
2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
9110e2c365
chore: use python3 instead of python
2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
e263db6b9c
Merge pull request #6381 from dokku/dependabot/github_actions/actions/upload-artifact-4
...
chore(deps): bump actions/upload-artifact from 3 to 4
2024-02-11 20:07:34 -05:00
Jose Diaz-Gonzalez
4b4e20a5a9
chore: update download-artifact action as well
2024-02-11 18:56:08 -05:00
Jose Diaz-Gonzalez
7a54f13da1
tests: run ci on ubuntu 22.04
2024-01-18 20:13:24 -05:00
dependabot[bot]
88b7290261
chore(deps): bump actions/upload-artifact from 3 to 4
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-15 13:42:55 +00:00
Jose Diaz-Gonzalez
76a979e139
chore: remove ARM support
...
Building/testing for ARM does not happen often - the only runtime environment is Raspberry PI, which supports ARM64 - and complicates support for a ton of features. Aside from that, CI runs are much longer for ARM Dokku images, often reaching 15-20 minutes or just timing out completely.
Rather than support an architecture that doesn't have much usage by maintainers and has a lot of maintenance burden, we're removing the platform.
2023-10-15 20:25:09 -04:00
Jose Diaz-Gonzalez
634307eca6
Merge pull request #6202 from dokku/dependabot/github_actions/docker/setup-buildx-action-3
...
chore(deps): bump docker/setup-buildx-action from 2 to 3
2023-09-16 21:34:45 -04:00
dependabot[bot]
0ea482bace
chore(deps): bump docker/setup-buildx-action from 2 to 3
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-12 13:15:29 +00:00
dependabot[bot]
3e99c5769b
chore(deps): bump docker/setup-qemu-action from 2 to 3
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-12 13:15:26 +00:00
dependabot[bot]
3ec04b4d9e
chore(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-04 13:17:38 +00:00
Jose Diaz-Gonzalez
99dd9da2bb
refactor: only use qemu when building for arm
2023-08-26 23:06:08 -04:00
Jose Diaz-Gonzalez
80dfa4a979
fix: move properties around and specify shell
2023-08-26 22:50:17 -04:00
Jose Diaz-Gonzalez
0772fb4faa
fix: checkout the code first
2023-08-26 22:36:07 -04:00
Jose Diaz-Gonzalez
74fe0257f1
feat: use buildjet's runners for arm image building
2023-08-26 22:22:23 -04:00
Jose Diaz-Gonzalez
7a857ad628
refactor: split out image building job matrix into separate jobs
...
This will allow using a different runner for each.
2023-08-26 22:22:08 -04:00
Jose Diaz-Gonzalez
17e88da2dc
fix: install docker-compose-plugin in ci
...
This used to be installed as moby-compose in Github Runners but they switched to the docker apt repo and don't install the plugin from the apt repository as it is outdated so we have to do it ourselves.
2023-08-26 14:33:07 -04:00
Jose Diaz-Gonzalez
e09b0eb1b9
feat: timeout docker image builds in CI
...
ARM usually takes quite a while to build. If it takes more than ~15 minutes, then it is usually going to fail anyways, so timeout early.
AMD64 takes ~3 minutes, and ARM64 appears to take 15 minutes.
2023-08-07 03:05:47 -04:00
Ronald Ip
d6b04d4e59
Allow the checkout action to work with PRs from other repos.
2023-07-12 23:55:14 +08:00
Jose Diaz-Gonzalez
57b14e7a54
fix: add permissions to allow publishing test results for pull requests
...
Without this, almost every PR from a non-contributor will fail at the publish-test-results
2023-07-01 02:59:48 -04:00
Jose Diaz-Gonzalez
8569395cae
Merge pull request #5945 from dokku/faster-ci
...
tests: split out image building into it's own job to speed up ci
2023-06-17 01:58:00 -04:00
Jose Diaz-Gonzalez
fdf37e1752
fix: add context
2023-06-17 01:02:41 -04:00
Jose Diaz-Gonzalez
4aebdd7e83
fix: correct yaml formatting issues
2023-06-17 00:47:28 -04:00
Jose Diaz-Gonzalez
ee163f192f
chore: update to actions/checkout@v3
2023-06-17 00:42:39 -04:00
Jose Diaz-Gonzalez
e7652fbae3
tests: split out image building into it's own job to speed up ci
...
Previously, we would build the dokku package and install it in the same step. While the package building was relatively quick, because of our multi-architecture support, we would end up spending a large amount of time waiting for arm/arm64 images to build.
This change splits those builds out, allowing unit tests to start much quicker and each platform to be tested in parallel.
2023-06-17 00:31:20 -04:00
Jose Diaz-Gonzalez
3b81a9204c
tests: add the ability to skip ci when commit message includes a ci skip message or are docs related
2023-06-17 00:00:31 -04:00
josegonzalez
4e905cdf71
tests: cancel in progress builds when a new commit is pushed
2023-02-15 16:34:41 -05:00
Jose Diaz-Gonzalez
fcb25e1842
chore: remove references to ubuntu 18.04 ahead of EOL
...
While we will still build for 18.04, we will now stop testing against it. Instead, we will test against 20.04, the next EOL release after 18.04.
Once Ubuntu 18.04 is EOL, any references to it will also be removed.
Note that 18.04 support was already deprecated in Dokku 0.28.0, so this change is just acknowledging that deprecation.
2023-01-16 01:39:59 -05:00
josegonzalez
d6c26f8546
fix: timeout build jobs within 45 minutes
...
If a build goes on for longer than 30 minutes, it is likely stalled due to a buildx issue. We add a 15 minute buffer in case our build times increase.
2023-01-14 21:30:55 -05:00
josegonzalez
8d17d142a8
fix: use correct value for comment_mode
2023-01-08 20:18:33 -05:00
josegonzalez
20c30dc587
fix: drop name so all test results are downloaded
2022-12-29 11:32:20 -05:00
josegonzalez
0657e3a1f1
fix: correct yaml lint issues
2022-12-29 10:22:04 -05:00
Jose Diaz-Gonzalez
9f1bfb0d06
fix: set path to ensure compatibility with v1 of the action
...
See https://github.com/actions/download-artifact#compatibility-between-v1-and-v2v3 for more details.
2022-12-29 01:52:33 -05:00
Jose Diaz-Gonzalez
6e28b9f835
chore: drop set-output usage
2022-12-29 00:14:29 -05:00
Jose Diaz-Gonzalez
c082b68b23
chore: update actions/download-artifact
2022-12-29 00:03:54 -05:00
Jose Diaz-Gonzalez
babb2766bd
chore: update publish-unit-test-result-action
2022-12-29 00:02:24 -05:00
Jose Diaz-Gonzalez
c589206b64
Merge pull request #5160 from dokku/dependabot/github_actions/docker/setup-buildx-action-2
...
chore(deps): bump docker/setup-buildx-action from 1 to 2
2022-05-10 10:26:20 -04:00
dependabot[bot]
ecdb701685
chore(deps): bump docker/setup-qemu-action from 1 to 2
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-06 13:30:16 +00:00
dependabot[bot]
0c7d15371f
chore(deps): bump docker/setup-buildx-action from 1 to 2
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-06 13:30:10 +00:00
dependabot[bot]
c0ab69c209
chore(deps): bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-16 06:47:38 +00:00
dependabot[bot]
5ba4c71ac2
chore(deps): bump actions/upload-artifact from 2 to 3
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-14 15:32:24 +00:00
Jose Diaz-Gonzalez
669c232562
feat: test building the docker image when building a non-release
2022-03-08 01:31:25 -05:00
Jose Diaz-Gonzalez
30ab9ebb58
fix: use correct token when publish unit test results
2022-03-06 16:52:17 -05:00
Jose Diaz-Gonzalez
fd77f9c7a0
chore: use updated github access token variable
2021-10-22 06:43:03 -04:00
Jose Diaz-Gonzalez
d5697b9399
tests: inject docker credentials for tests
2021-08-05 16:48:22 -04:00
Jose Diaz-Gonzalez
8f56787bf1
Merge pull request #4507 from dokku/4505-drop-xenial
...
Drop support for Ubuntu 16.04
2021-06-09 14:22:05 -04:00
Jose Diaz-Gonzalez
135c7d4b2c
chore: drop support for Ubuntu 16.04
...
As of April 2021, it will no longer be an LTS release, and thus us supporting it will increase maintenance burdens.
Also switch CI to use 18.04, so as to test what we currently support.
Closes #4505
2021-06-08 20:36:26 -04:00
Jose Diaz-Gonzalez
88606e272f
chore: update unit test publisher to latest
...
By using v1, github actions will resolve to the latest v1.x release.
2021-06-08 20:34:51 -04:00