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

gitlab-ci: drop gitlint and use generalize by using environment variables #436

Merged
merged 2 commits into from
Oct 12, 2023

Conversation

mniestroj
Copy link
Collaborator

gitlint is already part of Docker image, so there is no need to install it
manually.

There is already $CI_DEFAULT_BRANCH provided by GitLab CI, so use it
instead of hardcoded main.

Introduce global $MODULE_PATH, so that modules/lib/golioth does not
need to be hardcoded in multiple places.

gitlint is already part of Docker image, so there is no need to install it
manually.

Signed-off-by: Marcin Niestroj <[email protected]>
There is already $CI_DEFAULT_BRANCH provided by GitLab CI, so use it
instead of hardcoded 'main'.

Introduce global $MODULE_PATH, so that 'modules/lib/golioth' does not
need to be hardcoded in multiple places.

Signed-off-by: Marcin Niestroj <[email protected]>
@github-actions
Copy link

Visit the preview URL for this PR (updated for commit 5b874f0):

https://golioth-zephyr-sdk-doxygen-dev--pr436-gitlab-ci-improv-lxnshk9x.web.app

(expires Tue, 17 Oct 2023 12:27:56 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a389eefadf4b4b68a539327b3459dd66c142cf49

@mniestroj mniestroj merged commit 0de4914 into main Oct 12, 2023
10 checks passed
@mniestroj mniestroj deleted the gitlab-ci-improvements branch October 12, 2023 20:04
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.

2 participants