Start the migration process
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
1228577d45
commit
9d788c1408
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
# ----------------------------------------------
|
||||
# -- Build an image and push it to the registry
|
||||
# ----------------------------------------------
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: Build the builder
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- push
|
||||
|
||||
|
||||
steps:
|
||||
- name: Build and push the docker image
|
||||
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:896dc589d44bfa3560ee8d0469d5ee6fc4559532
|
||||
privileged: true
|
||||
environment:
|
||||
GITEA_TOKEN:
|
||||
from_secret: GITEA_TOKEN
|
||||
commands:
|
||||
- build-container
|
||||
|
||||
- name: Cleanup registry
|
||||
image: git.badhouseplants.net/badhouseplants/badhouseplants-builder:896dc589d44bfa3560ee8d0469d5ee6fc4559532
|
||||
environment:
|
||||
GITEA_TOKEN:
|
||||
from_secret: GITEA_TOKEN
|
||||
commands:
|
||||
- cleanup
|
33
.travis.yml
33
.travis.yml
|
@ -1,33 +0,0 @@
|
|||
# Disallowing packages: openvpn
|
||||
# If you require these packages, please review the package approval process at: https://github.com/travis-ci/apt-package-whitelist#package-approval-process
|
||||
#addons:
|
||||
# apt:
|
||||
# sources:
|
||||
# - ubuntu-toolchain-r-test
|
||||
# packages:
|
||||
# - openvpn
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
before_install:
|
||||
- docker --version
|
||||
|
||||
install:
|
||||
- git clone https://github.com/docker-library/official-images.git official-images
|
||||
|
||||
# Assist with ci test debugging:
|
||||
# - DEBUG=1
|
||||
before_script:
|
||||
- image="kylemanna/openvpn"
|
||||
- docker build -t "$image" .
|
||||
- docker inspect "$image"
|
||||
- docker run --rm "$image" openvpn --version || true # why does it return 1?
|
||||
- docker run --rm "$image" openssl version
|
||||
|
||||
script:
|
||||
- official-images/test/run.sh "$image"
|
||||
- test/run.sh "$image"
|
||||
|
||||
after_script:
|
||||
- docker images
|
|
@ -3,7 +3,7 @@
|
|||
# Smallest base image
|
||||
FROM alpine:latest
|
||||
|
||||
LABEL maintainer="Kyle Manna <kyle@kylemanna.com>"
|
||||
LABEL maintainer="allanger <allanger@zohomail.com>"
|
||||
|
||||
# Testing: pamtester
|
||||
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories && \
|
Loading…
Reference in New Issue