Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d81eee094 | ||
|
|
448f757bd1 | ||
|
|
89d29492e6 |
@@ -1,5 +1,5 @@
|
|||||||
name: pipeline
|
name: pipeline
|
||||||
run-name: ${{ gitea.actor }} is running script
|
run-name: ${{ gitea.actor }} is running script
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
@@ -5,6 +5,11 @@
|
|||||||
# pull official base image
|
# pull official base image
|
||||||
FROM python:3.10-bookworm as BUILDER
|
FROM python:3.10-bookworm as BUILDER
|
||||||
|
|
||||||
|
# install JDK 17
|
||||||
|
ENV JAVA_HOME=/opt/java/openjdk
|
||||||
|
COPY --from=eclipse-temurin:17-jre $JAVA_HOME $JAVA_HOME
|
||||||
|
ENV PATH="${JAVA_HOME}/bin:${PATH}"
|
||||||
|
|
||||||
# install Ookla's speedtest
|
# install Ookla's speedtest
|
||||||
RUN apt update && \
|
RUN apt update && \
|
||||||
apt install -y speedtest-cli
|
apt install -y speedtest-cli
|
||||||
|
|||||||
Vendored
+21
@@ -0,0 +1,21 @@
|
|||||||
|
pipeline {
|
||||||
|
agent any
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('Build') {
|
||||||
|
steps {
|
||||||
|
echo 'Building..'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Test') {
|
||||||
|
steps {
|
||||||
|
echo 'Testing..'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage('Deploy') {
|
||||||
|
steps {
|
||||||
|
echo 'Deploying..'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user