Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmbootstrap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmbootstrap
Commits
a21fcf6b
Unverified
Commit
a21fcf6b
authored
5 months ago
by
Casey
Browse files
Options
Downloads
Patches
Plain Diff
DONTMERGE: CI: skip lint
Signed-off-by:
Caleb Connolly
<
caleb@postmarketos.org
>
parent
74da0888
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+52
-52
52 additions, 52 deletions
.gitlab-ci.yml
with
52 additions
and
52 deletions
.gitlab-ci.yml
+
52
−
52
View file @
a21fcf6b
...
...
@@ -16,14 +16,14 @@ before_script: &global_before_scripts
-
"
adduser
-D
build"
stages
:
-
lint
#
- lint
-
deploy
-
test
codespell
:
stage
:
lint
script
:
-
"
.ci/codespell.sh"
#
codespell:
#
stage: lint
#
script:
#
- ".ci/codespell.sh"
pytest
:
stage
:
test
...
...
@@ -42,59 +42,59 @@ pytest:
-
"
log_testsuite.txt"
-
"
log.txt"
ruff
:
stage
:
lint
script
:
-
"
.ci/ruff.sh"
#
ruff:
#
stage: lint
#
script:
#
- ".ci/ruff.sh"
shellcheck
:
stage
:
lint
script
:
-
"
.ci/shellcheck.sh"
#
shellcheck:
#
stage: lint
#
script:
#
- ".ci/shellcheck.sh"
vermin
:
stage
:
lint
script
:
-
"
.ci/vermin.sh"
#
vermin:
#
stage: lint
#
script:
#
- ".ci/vermin.sh"
mr-settings
:
stage
:
lint
rules
:
-
if
:
$CI_PIPELINE_SOURCE == 'merge_request_event'
before_script
:
-
*global_before_scripts
-
"
apk
-q
add
python3"
-
"
wget
-q
'https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/check_mr_settings.py'"
script
:
-
"
python3
./check_mr_settings.py"
#
mr-settings:
#
stage: lint
#
rules:
#
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
#
before_script:
#
- *global_before_scripts
#
- "apk -q add python3"
#
- "wget -q 'https://gitlab.postmarketos.org/postmarketOS/ci-common/-/raw/master/check_mr_settings.py'"
#
script:
#
- "python3 ./check_mr_settings.py"
mypy
:
stage
:
lint
script
:
-
"
.ci/mypy.sh"
#
mypy:
#
stage: lint
#
script:
#
- ".ci/mypy.sh"
docs
:
stage
:
lint
script
:
-
"
.ci/docs.sh"
artifacts
:
paths
:
-
public
#
docs:
#
stage: lint
#
script:
#
- ".ci/docs.sh"
#
artifacts:
#
paths:
#
- public
deploy
:
only
:
-
master
stage
:
deploy
before_script
:
-
apk -q add openssh-client rsync
script
:
-
mkdir "${HOME}/.ssh"
-
echo "${SSH_HOST_KEY}" > "${HOME}/.ssh/known_hosts"
-
echo "${SSH_PRIVATE_KEY}" > "${HOME}/.ssh/id_ed25519"
-
chmod 700 "${HOME}/.ssh/id_ed25519"
-
rsync -hrvz --delete -e "ssh -p ${SSH_PORT}" public/ "${SSH_HOST}":/var/www/docs.postmarketos.org/pmbootstrap/
environment
:
name
:
deploy
#
deploy:
#
only:
#
- master
#
stage: deploy
#
before_script:
#
- apk -q add openssh-client rsync
#
script:
#
- mkdir "${HOME}/.ssh"
#
- echo "${SSH_HOST_KEY}" > "${HOME}/.ssh/known_hosts"
#
- echo "${SSH_PRIVATE_KEY}" > "${HOME}/.ssh/id_ed25519"
#
- chmod 700 "${HOME}/.ssh/id_ed25519"
#
- rsync -hrvz --delete -e "ssh -p ${SSH_PORT}" public/ "${SSH_HOST}":/var/www/docs.postmarketos.org/pmbootstrap/
#
environment:
#
name: deploy
integration
:
stage
:
test
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment