test python
This commit is contained in:
parent
52c7316b26
commit
5ecf36fc8c
|
@ -68,10 +68,13 @@ build_cloudflared_macos: &build
|
||||||
- exec ${BUILD_SCRIPT}
|
- exec ${BUILD_SCRIPT}
|
||||||
|
|
||||||
build_cloudflared_macos_tagged_release:
|
build_cloudflared_macos_tagged_release:
|
||||||
stage: release
|
stage: build
|
||||||
dependencies:
|
image: python:latest
|
||||||
- build_cloudflared_macos
|
cache:
|
||||||
|
paths:
|
||||||
|
- .cache/pip
|
||||||
variables:
|
variables:
|
||||||
|
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
|
||||||
KV_NAMESPACE: 380e19aa04314648949b6ad841417ebe
|
KV_NAMESPACE: 380e19aa04314648949b6ad841417ebe
|
||||||
KV_ACCOUNT: 5ab4e9dfbd435d24068829fda0077963
|
KV_ACCOUNT: 5ab4e9dfbd435d24068829fda0077963
|
||||||
secrets:
|
secrets:
|
||||||
|
@ -81,8 +84,13 @@ build_cloudflared_macos_tagged_release:
|
||||||
API_KEY:
|
API_KEY:
|
||||||
vault: gitlab/cloudflare/tun/cloudflared/_dev/cfd_github_api_key/data@kv
|
vault: gitlab/cloudflare/tun/cloudflared/_dev/cfd_github_api_key/data@kv
|
||||||
file: false
|
file: false
|
||||||
|
before_script:
|
||||||
|
- python --version ; pip --version # For debugging
|
||||||
|
- pip install virtualenv
|
||||||
|
- virtualenv venv
|
||||||
|
- source venv/bin/activate
|
||||||
script:
|
script:
|
||||||
- echo "Running release because tag exists."
|
- echo "Running release because tag exists."
|
||||||
- ls -lrth artifacts/
|
- ls -lrth artifacts/
|
||||||
- python3 github_release.py --path $(PWD)/artifacts --release-version $(VERSION) --draft
|
- python3 github_release.py --path $(PWD)/artifacts --release-version $(VERSION) --draft --dry-run
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue