mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-22 02:08:04 +00:00
ci: publish docker images description (#522)
* ci publish docker images description * fix extend refs
This commit is contained in:
committed by
GitHub
parent
b25f3fbf22
commit
ed3c74ee66
@@ -92,6 +92,25 @@ stages:
|
||||
tags:
|
||||
- kubernetes-parity-build
|
||||
|
||||
.publish-docker-image-description:
|
||||
stage: build
|
||||
default:
|
||||
- echo
|
||||
variables:
|
||||
CI_IMAGE: paritytech/dockerhub-description
|
||||
DOCKERHUB_REPOSITORY: parity/substrate-telemetry-$PRODUCT
|
||||
DOCKER_USERNAME: $Docker_Hub_User_Parity
|
||||
DOCKER_PASSWORD: $Docker_Hub_Pass_Parity
|
||||
README_FILEPATH: $CI_PROJECT_DIR/$PRODUCT/Dockerfile.README.md
|
||||
rules:
|
||||
- if: $CI_COMMIT_REF_NAME == "master"
|
||||
changes:
|
||||
- $PRODUCT/Dockerfile.README.md
|
||||
script:
|
||||
- cd / && sh entrypoint.sh
|
||||
tags:
|
||||
- kubernetes-parity-build
|
||||
|
||||
.deploy: &deploy
|
||||
image: paritytech/kubetools:3.5.3
|
||||
script:
|
||||
@@ -141,6 +160,18 @@ build-frontend:
|
||||
DOCKERFILE_DIRECTORY: "./frontend/"
|
||||
<<: *dockerize
|
||||
|
||||
publish-backend-docker-image-description:
|
||||
extends: .publish-docker-image-description
|
||||
variables:
|
||||
PRODUCT: backend
|
||||
SHORT_DESCRIPTION: "substrate-backend Docker Image."
|
||||
|
||||
publish-frontend-docker-image-description:
|
||||
extends: .publish-docker-image-description
|
||||
variables:
|
||||
PRODUCT: frontend
|
||||
SHORT_DESCRIPTION: "substrate-frontend Docker Image."
|
||||
|
||||
# Manually build the docker images and deploy some commit to staging.
|
||||
deploy-commit-to-staging:
|
||||
variables:
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
# substrate-telemetry-backend
|
||||
|
||||
The backend image contains both the `telemetry_core` and `telemetry_shard` binaries.
|
||||
|
||||
### [Documentation](https://github.com/paritytech/substrate-telemetry/blob/master/README.md)
|
||||
@@ -0,0 +1,3 @@
|
||||
# substrate-telemetry-frontend
|
||||
|
||||
### [Documentation](https://github.com/paritytech/substrate-telemetry/blob/master/README.md)
|
||||
Reference in New Issue
Block a user