GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — esptool/.gitlab-ci.yml at master · espressif/esptool

Expand file tree

/

.gitlab-ci.yml

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
118 lines (115 loc) · 3.37 KB
/

.gitlab-ci.yml

Copy path

File metadata and controls

118 lines (115 loc) · 3.37 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
---
# GitLab CI — see .gitlab/README.md
#
# Note: When updating, please also update test_esptool.yml GH Actions workflow file
stages:
- canary_prep
- pre-check
- check
- test
- report
- build_docs
- deploy_docs
- deploy_development_package
- canary_post
- canary_report
default:
interruptible: true
workflow:
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
auto_cancel:
on_new_commit: none
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push"
when: never
# Nightly canary schedule — see .gitlab/README.md
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_BRANCH
include:
# Danger MR linter, isolated so it can be skipped on bot/sync-master via
# include:rules. See .gitlab/README.md (Sync to internal) for why.
- local: /.gitlab/danger.yml
rules:
- if: $CI_COMMIT_REF_NAME != "bot/sync-master"
- local: /.gitlab/checks.yml
- local: /.gitlab/host_tests.yml
- local: /.gitlab/target_tests.yml
- local: /.gitlab/deploy_docs.yml
- local: /.gitlab/canary.yml
- local: /.gitlab/internal_release.yml
- local: /.gitlab/sync_to_internal.yml
variables:
PIP_EXTRA_INDEX_URL: https://dl.espressif.com/pypi
PIP_NO_CACHE_DIR: "1"
PYTHON_IMAGE_MIN: python:3.10-bookworm
PYTHON_IMAGE_LATEST: python:3.15-trixie
CANARY_IMAGE: ubuntu:24.04
# Shared by host_tests_windows and target_tests_windows (see host_tests.yml / target_tests.yml)
.windows_test:
stage: test
tags: [windows-target]
variables:
PYTHONPATH: "$PYTHONPATH:${CI_PROJECT_DIR}/test"
COVERAGE_PROCESS_START: "${CI_PROJECT_DIR}/test/.covconf"
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- when: on_success
# These failures end within seconds and say nothing about the code.
retry:
max: 1
when: [runner_system_failure, scheduler_failure, api_failure]
before_script:
- pip install -e .[dev] --prefer-binary
artifacts:
reports:
junit: test/report.xml
when: always
paths:
- test/*.out
- "**/.coverage*"
- ".coverage*"
expire_in: 1 week
run_pre_commit_hooks:
image: $PYTHON_IMAGE_LATEST
stage: pre-check
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- when: on_success
tags: [host_test]
before_script:
- pip install --upgrade pip
script:
- pip install -e .[dev] --prefer-binary
- pre-commit run --all-files
combine_reports:
image: $PYTHON_IMAGE_MIN
stage: report
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- when: on_success
tags: [host_test]
artifacts:
reports:
coverage_report:
coverage_format: cobertura
path: cobertura_report.xml
when: always
paths: [.coverage*, cobertura_report.xml, ./html_report/]
expire_in: 1 week
coverage: /(?i)total.*? (100(?:\.0+)?\%|[1-9]?\d(?:\.\d+)?\%)$/
variables:
LC_ALL: C.UTF-8
COVERAGE_RCFILE: ${CI_PROJECT_DIR}/test/.covconf
before_script: ['pip install -e .[dev] --prefer-binary']
script:
# all .coverage files in sub-directories are moved to the parent dir first
- find . -mindepth 2 -type f -name ".coverage*" -print -exec mv --backup=numbered
{} . \;
- coverage combine
- coverage report --precision=2
- coverage html -d html_report --precision=2
- coverage xml -o cobertura_report.xml
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.