Remove protocgen/swift build from gitlab ci.
Need an image/runner that includes the swift libs and gradle for swift protobuf codegen. As such that will live in a separate branch until it's done.
This commit is contained in:
@@ -3,42 +3,6 @@ stages:
|
|||||||
- build
|
- build
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
protoc_base:
|
|
||||||
image: vato.ddns.net:8083/gradle
|
|
||||||
stage: protoc
|
|
||||||
rules:
|
|
||||||
- changes:
|
|
||||||
- protobuf/*
|
|
||||||
script:
|
|
||||||
- ./gradlew :protobuf:generateProto
|
|
||||||
|
|
||||||
protoc_python:
|
|
||||||
extends: protoc_base
|
|
||||||
rules:
|
|
||||||
- changes:
|
|
||||||
- pycar/*
|
|
||||||
- protobuf/*
|
|
||||||
script:
|
|
||||||
- ./gradlew :pycar:copyPythonCode
|
|
||||||
|
|
||||||
protoc_swift_Car:
|
|
||||||
extends: protoc_base
|
|
||||||
rules:
|
|
||||||
- changes:
|
|
||||||
- SwiftyCar/*
|
|
||||||
- protobuf/*
|
|
||||||
script:
|
|
||||||
- ./gradlew :SwiftyCar:copySwiftCode
|
|
||||||
|
|
||||||
protoc_swift_CarController:
|
|
||||||
extends: protoc_base
|
|
||||||
rules:
|
|
||||||
- changes:
|
|
||||||
- CarControlleriOS/*
|
|
||||||
- protobuf/*
|
|
||||||
script:
|
|
||||||
- ./gradlew :CarControlleriOS:copySwiftCode
|
|
||||||
|
|
||||||
build_pycar:
|
build_pycar:
|
||||||
image: vato.ddns.net:8083/python-infra:buster
|
image: vato.ddns.net:8083/python-infra:buster
|
||||||
stage: build
|
stage: build
|
||||||
@@ -46,8 +10,6 @@ build_pycar:
|
|||||||
- changes:
|
- changes:
|
||||||
- pycar/*
|
- pycar/*
|
||||||
- protobuf/*
|
- protobuf/*
|
||||||
needs:
|
|
||||||
- protoc_python
|
|
||||||
script:
|
script:
|
||||||
- cd pycar && python setup.py bdist_wheel && cd ..
|
- cd pycar && python setup.py bdist_wheel && cd ..
|
||||||
|
|
||||||
@@ -58,8 +20,6 @@ build_pycar_docker:
|
|||||||
- changes:
|
- changes:
|
||||||
- pycar/*
|
- pycar/*
|
||||||
- protobuf/*
|
- protobuf/*
|
||||||
needs:
|
|
||||||
- protoc_python
|
|
||||||
script:
|
script:
|
||||||
- echo ${DOCKER_PASSWORD} | docker login vato.ddns.net:8083 --username ${DOCKER_USERNAME} --password-stdin
|
- echo ${DOCKER_PASSWORD} | docker login vato.ddns.net:8083 --username ${DOCKER_USERNAME} --password-stdin
|
||||||
- docker build -f pycar/Dockerfile --build-arg PYPI_USERNAME=${PYPI_USERNAME} --build-arg PYPI_PASSWORD=${PYPI_PASSWORD} -t vato.ddns.net:8082/pycar:latest pycar
|
- docker build -f pycar/Dockerfile --build-arg PYPI_USERNAME=${PYPI_USERNAME} --build-arg PYPI_PASSWORD=${PYPI_PASSWORD} -t vato.ddns.net:8082/pycar:latest pycar
|
||||||
|
|||||||
Reference in New Issue
Block a user