follow proxy settings

This commit is contained in:
eric sciple 2020-01-23 18:36:13 -05:00
parent 090d9c9dfd
commit 2285ac189f
6 changed files with 1111 additions and 53 deletions

View file

@ -83,7 +83,7 @@ jobs:
shell: bash
run: __test__/verify-lfs.sh
test-job-container:
test-rest-api:
runs-on: ubuntu-latest
container: alpine:latest
steps:
@ -99,3 +99,42 @@ jobs:
path: basic
- name: Verify basic
run: __test__/verify-basic.sh --archive
test-proxy:
runs-on: ubuntu-latest
container:
image: alpine/git:latest
options: --dns 127.0.0.1
services:
squid-proxy:
image: datadog/squid:latest
ports:
- 3128:3128
env:
https_proxy: http://squid-proxy:3128
steps:
# Clone this repo
- name: Checkout
uses: actions/checkout@users/ericsciple/m165proxy # todo: switch to v2
# Basic checkout using git
- name: Basic checkout
uses: ./
with:
ref: test-data/v2/basic
path: basic
- name: Verify basic
run: __test__/verify-basic.sh
- name: Remove basic
run: rm -rf basic
# Basic checkout using REST API
- name: Override git version
run: __test__/override-git-version.sh
- name: Basic checkout using REST API
uses: ./
with:
ref: test-data/v2/basic
path: basic
- name: Verify basic
run: __test__/verify-basic.sh --archive