This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline { | |
agent { | |
kubernetes { | |
idleMinutes 2 | |
yaml ''' | |
metadata: | |
labels: | |
some-label: some-label-value | |
spec: | |
containers: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stage 1: Build the application using Maven | |
# FROM maven:3.8.6-openjdk-17 AS build | |
# WORKDIR /app | |
# COPY . . | |
# RUN mvn clean package -DskipTests | |
# Stage 1: jar is build on ci server | |
FROM busybox:latest AS build | |
WORKDIR /app | |
COPY target/my-app-1.0-SNAPSHOT.jar app.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.conf.urls import patterns, include, url | |
from django.contrib.auth.decorators import login_required | |
from django.contrib.admin.views.decorators import staff_member_required | |
from django.contrib import admin | |
from application.views import ApplicationFormView, ApplicationListView | |
admin.autodiscover() | |
urlpatterns = patterns('', |