Commit b2a7aa45 authored by Audrey Hamelers's avatar Audrey Hamelers

Merge branch 'dev' of gitlab.coko.foundation:xpub/xpub-epmc into dev

* 'dev' of gitlab.coko.foundation:xpub/xpub-epmc:
  K8s configuration files for EBI production K8s service
  K8s configuration files for EBI production K8s service
  #942
  #942
  #942
parents e12733aa 0bf4c537
Pipeline #13445 failed with stages
in 27 seconds
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: ftp-pv-claim
labels:
app: ftp-storage-claim
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 100Gi
storageClassName: standard
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: xpub-epmc-sftp-deployment
labels:
app: xpub-epmc-sftp
spec:
replicas: 1
selector:
matchLabels:
app: xpub-epmc-sftp
template:
metadata:
labels:
app: xpub-epmc-sftp
spec:
restartPolicy: Always
volumes:
- name: ftp-storage
persistentVolumeClaim:
claimName: ftp-pv-claim
containers:
- name: sftp-server
image: atmoz/sftp
args:
- foo:123:1001
ports:
- containerPort: 22
volumeMounts:
- name: ftp-storage
mountPath: /home/foo
subPath: sftpdata
- name: ftp-storage
mountPath: /etc/sftp
subPath: sftpconfig
apiVersion: v1
kind: Service
metadata:
name: xpub-epmc-sftp-service
labels:
app: xpub-epmc
spec:
type: NodePort
ports:
- name: '22'
port: 22
targetPort: 22
selector:
app: xpub-epmc-sftp
......@@ -996,6 +996,7 @@
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="fn-group[@content-type = 'ethics-information']/title"/>
<xsl:template match="contrib" mode="article-info-reviewing-editor">
<xsl:variable name="level">
<xsl:choose>
......@@ -1007,12 +1008,23 @@
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="type" select="@contrib-type"/>
<xsl:element name="{substring-before($level,'|')}">
<xsl:attribute name="id"><xsl:text>article-info-reviewing-editor</xsl:text></xsl:attribute>
<xsl:element name="{substring-before(substring-after($level, '|'), '|')}">Reviewed by</xsl:element>
<xsl:attribute name="id"><xsl:value-of select="concat('article-info-reviewing-', $type)"/></xsl:attribute>
<xsl:element name="{substring-before(substring-after($level, '|'), '|')}">
<xsl:choose>
<xsl:when test="$type = 'reviewer'">
<xsl:text>Reviewed</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>Edited</xsl:text>
</xsl:otherwise>
</xsl:choose>
<xsl:text> by </xsl:text>
</xsl:element>
<xsl:element name="{substring-after(substring-after($level, '|'),'|')}">
<xsl:apply-templates select="node()"/>
<xsl:for-each select="following::contrib[@contrib-type='reviewer' or @contrib-type='editor']">
<xsl:for-each select="following::contrib[@contrib-type=$type]">
<xsl:text>, </xsl:text>
<xsl:apply-templates select="node()"/>
</xsl:for-each>
......
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