Commit f74255bf authored by nanahira's avatar nanahira

to be added

parent 98f7e3da
Pipeline #294 failed with stages
in 6 minutes and 29 seconds
...@@ -4,7 +4,7 @@ RUN wget -O - https://github.com/vmware/govmomi/releases/download/v0.23.0/govc_l ...@@ -4,7 +4,7 @@ RUN wget -O - https://github.com/vmware/govmomi/releases/download/v0.23.0/govc_l
chmod +x /usr/local/bin/govc chmod +x /usr/local/bin/govc
WORKDIR /opt/vc WORKDIR /opt/vc
COPY ./src ./ COPY ./src ./src
ENV GOVC_USERNAME administrator@example.com ENV GOVC_USERNAME administrator@example.com
ENV GOVC_PASSWORD pass_here ENV GOVC_PASSWORD pass_here
...@@ -14,6 +14,7 @@ ENV VC_HOST esxi.example.com ...@@ -14,6 +14,7 @@ ENV VC_HOST esxi.example.com
ENV VC_RESOURCE_POOL runners ENV VC_RESOURCE_POOL runners
ENV VC_DATASTORE example-datastore1 ENV VC_DATASTORE example-datastore1
ENV VC_NETWORK example-network ENV VC_NETWORK example-network
ENV VC_TEMPLATE runner-template-debian
ENV VC_CPUS 2 ENV VC_CPUS 2
ENV VC_MEMS 4096 ENV VC_MEMS 4096
ENV VC_SSH_USER root ENV VC_SSH_USER root
# GitLab runner vCenter executor # GitLab runner vCenter executor
Gitlab Custom executor based on `govc`. Gitlab vCenter executor based on `govc`.
## How to use
To be added..
#!/usr/bin/env bash #!/usr/bin/env bash
# /opt/vc/cleanup.sh # /opt/vc/src/cleanup.sh
currentDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" currentDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source ${currentDir}/base # Get variables from base script. source ${currentDir}/base # Get variables from base script.
......
#!/usr/bin/env bash #!/usr/bin/env bash
# /opt/vc/prepare.sh # /opt/vc/src/prepare.sh
currentDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" currentDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source ${currentDir}/base # Get variables from base script. source ${currentDir}/base # Get variables from base script.
......
#!/usr/bin/env bash #!/usr/bin/env bash
# /opt/vc/run.sh # /opt/vc/src/run.sh
currentDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" currentDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source ${currentDir}/base # Get variables from base script. source ${currentDir}/base # Get variables from base script.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment