mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-05 04:13:11 +02:00
envoy: Initial changes
This commit is contained in:
parent
8f78497e99
commit
99e788a9b4
107 changed files with 2542 additions and 3322 deletions
1
.github/Dockerfile-release
vendored
1
.github/Dockerfile-release
vendored
|
@ -2,7 +2,6 @@ FROM busybox:latest as build
|
|||
RUN touch /config.yaml
|
||||
|
||||
FROM gcr.io/distroless/static
|
||||
ENV AUTOCERT_DIR /data/autocert
|
||||
WORKDIR /pomerium
|
||||
COPY pomerium* /bin/
|
||||
COPY --from=build /config.yaml /pomerium/config.yaml
|
||||
|
|
1
.github/Dockerfile-release.arm32v6
vendored
1
.github/Dockerfile-release.arm32v6
vendored
|
@ -2,7 +2,6 @@ FROM busybox:latest as build
|
|||
RUN touch /config.yaml
|
||||
|
||||
FROM arm32v7/alpine
|
||||
ENV AUTOCERT_DIR /data/autocert
|
||||
WORKDIR /pomerium
|
||||
COPY --from=multiarch/qemu-user-static /usr/bin/qemu-aarch64-static /usr/bin/
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
|
1
.github/Dockerfile-release.arm32v7
vendored
1
.github/Dockerfile-release.arm32v7
vendored
|
@ -2,7 +2,6 @@ FROM busybox:latest as build
|
|||
RUN touch /config.yaml
|
||||
|
||||
FROM arm32v7/alpine
|
||||
ENV AUTOCERT_DIR /data/autocert
|
||||
WORKDIR /pomerium
|
||||
COPY --from=multiarch/qemu-user-static /usr/bin/qemu-aarch64-static /usr/bin/
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
|
1
.github/Dockerfile-release.arm64v8
vendored
1
.github/Dockerfile-release.arm64v8
vendored
|
@ -2,7 +2,6 @@ FROM busybox:latest as build
|
|||
RUN touch /config.yaml
|
||||
|
||||
FROM arm64v8/alpine
|
||||
ENV AUTOCERT_DIR /data/autocert
|
||||
WORKDIR /pomerium
|
||||
COPY --from=multiarch/qemu-user-static /usr/bin/qemu-aarch64-static /usr/bin/
|
||||
RUN apk --no-cache add ca-certificates
|
||||
|
|
32
.github/workflows/test.yaml
vendored
32
.github/workflows/test.yaml
vendored
|
@ -89,32 +89,46 @@ jobs:
|
|||
integration-tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: install mkcert
|
||||
- name: cache binaries
|
||||
uses: actions/cache@v1
|
||||
env:
|
||||
cache-name: cache-binaries
|
||||
with:
|
||||
path: /opt/binaries/
|
||||
key: ${{ runner.os }}-binaries
|
||||
- name: install binaries
|
||||
run: |
|
||||
#!/bin/bash
|
||||
sudo mkdir -p /usr/local/bin/
|
||||
sudo mkdir -p /opt/minikube/bin/
|
||||
cd /opt/minikube/bin
|
||||
|
||||
if [ ! -f minikube ]; then
|
||||
echo "downloading minikube"
|
||||
sudo curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
|
||||
sudo chmod +x minikube
|
||||
fi
|
||||
sudo install minikube /usr/local/bin/
|
||||
|
||||
if [ ! -f mkcert ]; then
|
||||
echo "downloading mkcert"
|
||||
sudo curl -Lo mkcert https://github.com/FiloSottile/mkcert/releases/download/v1.4.1/mkcert-v1.4.1-linux-amd64
|
||||
sudo chmod +x mkcert
|
||||
fi
|
||||
sudo install mkcert /usr/local/bin/
|
||||
|
||||
- name: Create kind cluster
|
||||
uses: helm/kind-action@v1.0.0-rc.1
|
||||
with:
|
||||
cluster_name: kind
|
||||
- name: start minikube
|
||||
run: |
|
||||
minikube start --driver=docker
|
||||
kubectl cluster-info
|
||||
|
||||
- name: install go
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.14.x
|
||||
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: build dev docker image
|
||||
run: |
|
||||
./scripts/build-dev-docker.bash
|
||||
|
||||
- name: test
|
||||
run: go test -v ./integration/...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue