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(github): Implement CI/CD workflow using GitHub Actions #49

Open
2 of 4 tasks
bryant-finney opened this issue Oct 21, 2023 · 0 comments · Fixed by #50
Open
2 of 4 tasks

ci(github): Implement CI/CD workflow using GitHub Actions #49

bryant-finney opened this issue Oct 21, 2023 · 0 comments · Fixed by #50
Labels
enhancement New feature or request

Comments

@bryant-finney
Copy link
Owner

bryant-finney commented Oct 21, 2023

Enhancement Proposal

Implement this project's CI/CD pipeline using GitHub Actions.

Problem Statement

Currently, the GitLab upstream of this project bfosi/pyspry manages all CI/CD functionality, package storage, and Docker image storage. While this is useful for GitLab users, GitHub (the global standard for open source packages) is left feeling incomplete.

Proposed Solution

Improve support for the GitHub ecosystem by implementing the workflow using GitHub Actions.

@bryant-finney bryant-finney added the enhancement New feature or request label Oct 21, 2023
bryant-finney added a commit that referenced this issue Oct 23, 2023
contributes to #49

implement a github actions workflow for building multi-arch Docker
images

- `docker-build.yml` defines the job to build Docker images - it is only
run for the `main` branch, release tags, and for PRs that change a
relevant file
- `platforms.yml` configures multi-arch builds when using `buildx bake`
- it is stored in a separate compose file so that slow cross-platform
builds aren't always run locally
@bryant-finney bryant-finney reopened this Oct 28, 2023
bryant-finney added a commit that referenced this issue Oct 28, 2023
it is now a reusable workflow that can be included into other workflows.
two were added: one workflow for PRs, and a second for protected
branches / tags

Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Oct 28, 2023
correct diff algorithm

Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Oct 28, 2023
ci(#49): refactor build workflow

it is now a reusable workflow that can be included into other workflows.
two were added: one workflow for PRs, and a second for protected
branches / tags

Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Oct 28, 2023
it is now a reusable workflow that can be included into other workflows.
two were added: one workflow for PRs, and a second for protected
branches / tags

Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Oct 28, 2023
it is now a reusable workflow that can be included into other workflows.
two were added: one workflow for PRs, and a second for protected
branches / tags

Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Oct 28, 2023
it is now a reusable workflow that can be included into other workflows.
two were added: one workflow for PRs, and a second for protected
branches / tags

Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Dec 22, 2023
define both in a single workflow file

Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Dec 22, 2023
run `poe test` from this repository's `dev` Docker container

Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Dec 22, 2023
ci(#49): add `poe-test.yml`

run `poe test` from this repository's `dev` Docker container

Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Dec 22, 2023
run `poe test` from this repository's `dev` Docker container

Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Dec 23, 2023
run `poe test` from this repository's `dev` Docker container. update
the workflow for building images to also run tests

Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Dec 23, 2023
bryant-finney added a commit that referenced this issue Dec 23, 2023
Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Dec 23, 2023
only add setuptools to the dev dependencies: the flake8 plugin
'flake8-logging-format' needs it

Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Dec 23, 2023
only add setuptools to the dev dependencies: the flake8 plugin
'flake8-logging-format' needs it

Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Dec 23, 2023
Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Dec 23, 2023
Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Dec 23, 2023
print the results of each step when checking changes

Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Dec 23, 2023
Signed-off-by: Bryant Finney <[email protected]>
bryant-finney added a commit that referenced this issue Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant