Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

feat: add GitHub workflows #5

Merged
merged 54 commits into from
Jan 25, 2024

Conversation

jfcalvo
Copy link
Member

@jfcalvo jfcalvo commented Jan 22, 2024

Description

PR adding GitHub workflows for adapted to the argilla-server repository.

Warning

Before merging some changes need to be done to avoid use testing accounts for Docker Hub and remove some code lines (tagged in the changes as TODO).

@jfcalvo jfcalvo changed the title [WIP] feat: add github workflows [WIP] feat: add GitHub workflows Jan 22, 2024
jfcalvo and others added 27 commits January 22, 2024 18:26
Copy link

codecov bot commented Jan 24, 2024

Welcome to Codecov 🎉

Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.

Thanks for integrating Codecov - We've got you covered ☂️

@jfcalvo jfcalvo changed the title [WIP] feat: add GitHub workflows feat: add GitHub workflows Jan 25, 2024
@jfcalvo jfcalvo mentioned this pull request Jan 25, 2024
7 tasks
@jfcalvo jfcalvo merged commit 7e2bec4 into project-creation-with-pdm Jan 25, 2024
13 checks passed
@jfcalvo jfcalvo deleted the feat/add-github-workflows branch January 25, 2024 16:03
jfcalvo added a commit that referenced this pull request Jan 25, 2024
* pdm init

* Add dependencies

* feature: add changes with working tests

* feature: add changes to pyproject.toml and small changes

* feature: remove unnecesary _constants.py file and use constants instead

* Add MANIFEST.in file

* chore: ignore pycharm files

* fix script setup linked to main cli app

* launch command cli from argilla_server main module

* fix module name argilla -> argilla_server

* add tests for logging file added to server

* Add missing utils tests

* Adding dockerfiles (#3)

* build server docker image

* build quickstart docker image

* fix: cli start tests

* feature: generate frontend statics (#4)

* chore: remove old statics copied from argilla

* chore: add static folder to .gitignore

* feat: add argilla repository as submodule to build frontend statics

* feat: add script build frontend statics

* feat: add build_distribution script using pdm to generate the build

* feat: add static folder to MANIFEST.in

* feat: add instructions on README.md about how to generate frontend static files and update submodules

* chore: delete MANIFEST.in because is not useful when using pdm build

* feat: add GitHub workflows (#5)

* feat: add github workflow file to run tests

* Update run-python-tests.yml

* feat: add the rest of GitHub workflows

* feat: upgrade actions/dependency-review-action from version 1 to version 4

* feat: change build-python-package.yml workflow to use pdm

* chore: add current branch for testing

* chore: disable check of python files for testing

* chore: set python version for pdm

* chore: move dependencies install to a different step

* chore: change how pydantic v2 dependencies are installed

* typo: pdm

* chore: skip pydantic v2 tests by now

* chore: delete pydantic v2 tests

* feat: change elasticsearch unit tests to run on ubuntu-latest

* feat: add small change on python code so we can check GitHub workflows

* feat: clean unused workflows

* feat: add pre-commit config file

* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci

* chore: add license_header.txt

* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci

* chore: add submodules to checkout of the files

* chore: add submodules support to some workflows

* chore: use secrets to publish python package with pdm

* chore: remove unsupported username and password environment variables

* chore: add permissions section

* feat: improve build python package workflows

* chore: comment unfinished job

* feat: upload argilla-server python package to PyPI for testing purposes

* Revert "feat: upload argilla-server python package to PyPI for testing purposes"

This reverts commit a6e3db6.

* feat: enable build_server_docker_image workflow job

* feat: add docker-image-tag-from-ref action

* fix: use correct Dockerfile for server build

* fix: try to find correct script path

* fix: path

* fix: use a different context to build server docker image

* fix: use a testing docker image

* chore: comment section about GCP

* feat: add context as input parameter for build-push-docker.yml workflow

* feat: enable build_quickstart_docker_image job

* chore: change quickstart base docker image to a testing one

* fix: set correct source coverage for running python tests

* fix: use argilla_server instead of argilla-server for pytest coverage source

* fix: remove unused Google Cloud related deployment steps and config

* chore: uncomment publish_release action

* chore: remove codeql-analysis.yml GitHub workflow

* feat: add argilla Python package to list of requirements on quickstart Docker image

* feat: set argilla submodule branch to use develop and add some comments about it on README.md

* test: check that github checkout action is getting the correct submodule commit instead of latest develop one

* chore: return back to latests commit from develop branch for argilla submodule

* chore: use argilla Docker username instead of the previous testing one

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* chore: add GitHub templates (#7)

* chore: add some files including code of conduct, changelog and others (#8)

---------

Co-authored-by: Paco Aranda <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant