git-clone taks and updates
This commit is contained in:
@@ -37,7 +37,7 @@ spec:
|
|||||||
- name: deleteExisting
|
- name: deleteExisting
|
||||||
description: clean out the contents of the repo's destination directory (if it already exists) before trying to clone the repo there
|
description: clean out the contents of the repo's destination directory (if it already exists) before trying to clone the repo there
|
||||||
type: string
|
type: string
|
||||||
default: "false"
|
default: "true"
|
||||||
- name: httpProxy
|
- name: httpProxy
|
||||||
description: git HTTP proxy server for non-SSL requests
|
description: git HTTP proxy server for non-SSL requests
|
||||||
type: string
|
type: string
|
||||||
@@ -55,7 +55,7 @@ spec:
|
|||||||
description: The precise commit SHA that was fetched by this Task
|
description: The precise commit SHA that was fetched by this Task
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
- name: clone
|
||||||
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.12.1
|
image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.30.2
|
||||||
script: |
|
script: |
|
||||||
CHECKOUT_DIR="$(workspaces.output.path)/$(params.subdirectory)"
|
CHECKOUT_DIR="$(workspaces.output.path)/$(params.subdirectory)"
|
||||||
|
|
||||||
|
|||||||
@@ -15,12 +15,11 @@ RUN apt-get autoremove --purge -y && \
|
|||||||
rm -rf /var/cache/apt/* /tmp/* /var/tmp/* /var/log/*
|
rm -rf /var/cache/apt/* /tmp/* /var/tmp/* /var/log/*
|
||||||
|
|
||||||
RUN curl -k -L -o rompr.zip https://github.com/fatg3erman/RompR/releases/download/${ROMPR_VERSION}/rompr-${ROMPR_VERSION}.zip
|
RUN curl -k -L -o rompr.zip https://github.com/fatg3erman/RompR/releases/download/${ROMPR_VERSION}/rompr-${ROMPR_VERSION}.zip
|
||||||
RUN mkdir -p /app
|
RUN mkdir -p /app /rompr
|
||||||
RUN unzip -d /app rompr.zip && rm rompr.zip
|
RUN unzip -d /app rompr.zip && rm rompr.zip
|
||||||
RUN mkdir -p /rompr
|
RUN ln -sf /rompr/prefs /app/rompr/prefs; ln -sf /rompr/albumart /app/rompr/albumart;
|
||||||
RUN ln -sf /rompr/prefs /app/rompr/prefs
|
|
||||||
RUN ln -sf /rompr/albumart /app/rompr/albumart
|
|
||||||
RUN chown -R www-data:www-data /app/rompr /rompr
|
RUN chown -R www-data:www-data /app/rompr /rompr
|
||||||
|
RUN pwd; ls -la .;
|
||||||
ADD /files/nginx_default /etc/nginx/sites-available/default
|
ADD /files/nginx_default /etc/nginx/sites-available/default
|
||||||
RUN mkdir -p /run/php/
|
RUN mkdir -p /run/php/
|
||||||
#Environment variables to configure php
|
#Environment variables to configure php
|
||||||
|
|||||||
Reference in New Issue
Block a user