Skip to content
Snippets Groups Projects
Commit 3b6d4163 authored by Recolic K's avatar Recolic K
Browse files

switch from codebuild to gitlab ci

parent ea3dda68
No related branches found
No related tags found
No related merge requests found
Pipeline #869 failed with stage
in 57 seconds
image: recolic/rserver-monitor
stages: image: docker:19.03.12
- test
variables:
rproxy: # When using dind service, you must instruct docker to talk with the
stage: test # daemon started inside of the service. The daemon is available with
only: # a network connection instead of the default /var/run/docker.sock socket.
- schedules #
script: "/do.bash rproxy" # The 'docker' hostname is the alias of the service container as described at
# https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#accessing-the-services
drive: #
stage: test # If you're using GitLab Runner 12.7 or earlier with the Kubernetes executor and Kubernetes 1.6 or earlier,
only: # the variable must be set to tcp://localhost:2375 because of how the
- schedules # Kubernetes executor connects services to the job container
script: "/do.bash drive" # DOCKER_HOST: tcp://localhost:2375
#
ss-tw: DOCKER_HOST: tcp://docker:2375
stage: test #
only: # This instructs Docker not to start over TLS.
- schedules DOCKER_TLS_CERTDIR: ""
script: "/do.bash ss-tw"
services:
ss-us1: - docker:19.03.12-dind
stage: test
only: before_script:
- schedules - docker info
script: "/do.bash ss-us1"
build:
ss-us5: stage: build
stage: test script:
only: - docker login -u recolic -p "$docker_pswd"
- schedules - docker build -t recolic/rserver-status .
script: "/do.bash ss-us5" - docker push recolic/rserver-status
ss-us6:
stage: test
only:
- schedules
script: "/do.bash ss-us6"
ovpn-tw:
stage: test
only:
- schedules
script: "/do.bash ovpn-tw"
www:
stage: test
only:
- schedules
script: "/do.bash www"
mail:
stage: test
only:
- schedules
script: "/do.bash mail"
tm:
stage: test
only:
- schedules
script: "/do.bash tm"
git:
stage: test
only:
- schedules
script: "/do.bash git"
zhixiang:
stage: test
only:
- schedules
script: "/do.bash zhixiang"
mc:
stage: test
only:
- schedules
script: "/do.bash mc"
allow_failure: true
push-httpdb-agent:
stage: test
only:
- schedules
script: "/do.bash push-httpdb-agent"
allow_failure: true
ddns-wuhan:
stage: test
only:
- schedules
script: "/do.bash ddns-wuhan"
ddns-us:
stage: test
only:
- schedules
script: "/do.bash ddns-us"
dl:
stage: test
only:
- schedules
script: "/do.bash dl"
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment