mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-22 15:49:34 -05:00
ci: reactivats all workflows
This commit is contained in:
parent
0fb2583a6e
commit
75c8db4e66
4 changed files with 115 additions and 116 deletions
110
.github/workflows/acc-test.yaml
vendored
110
.github/workflows/acc-test.yaml
vendored
|
|
@ -1,58 +1,58 @@
|
||||||
# ---
|
---
|
||||||
# name: Acc Tests
|
name: Acc Tests
|
||||||
# on:
|
on:
|
||||||
# push:
|
push:
|
||||||
# branches:
|
branches:
|
||||||
# - master
|
- master
|
||||||
# - "release/**"
|
- "release/**"
|
||||||
# pull_request:
|
pull_request:
|
||||||
# types: ['opened', 'synchronize']
|
types: ['opened', 'synchronize']
|
||||||
# paths:
|
paths:
|
||||||
# - '**.go'
|
- '**.go'
|
||||||
# - 'vendor/**'
|
- 'vendor/**'
|
||||||
# - '.github/workflows/**'
|
- '.github/workflows/**'
|
||||||
|
|
||||||
# env:
|
env:
|
||||||
# GO_VERSION: "1.15"
|
GO_VERSION: "1.15"
|
||||||
# GOPROXY: https://gocenter.io,https://proxy.golang.org,direct
|
GOPROXY: https://gocenter.io,https://proxy.golang.org,direct
|
||||||
|
|
||||||
# jobs:
|
jobs:
|
||||||
# test:
|
test:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# strategy:
|
strategy:
|
||||||
# fail-fast: true
|
fail-fast: true
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# - uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
# with:
|
with:
|
||||||
# go-version: '1.15'
|
go-version: '1.15'
|
||||||
# - run: cat /etc/issue
|
- run: cat /etc/issue
|
||||||
# - run: bash scripts/gogetcookie.sh
|
- run: bash scripts/gogetcookie.sh
|
||||||
# # locally: docker run -it ubuntu:bionic bash (https://ubuntu.pkgs.org/18.04/docker-ce-stable-amd64/)
|
# locally: docker run -it ubuntu:bionic bash (https://ubuntu.pkgs.org/18.04/docker-ce-stable-amd64/)
|
||||||
# - run: sudo apt-get update
|
- run: sudo apt-get update
|
||||||
# - run: sudo apt-get -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
|
- run: sudo apt-get -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
|
||||||
# - run: curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
- run: curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||||
# - run: sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
- run: sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
||||||
# - run: sudo apt-get update
|
- run: sudo apt-get update
|
||||||
# # apt-cache policy docker-ce
|
# apt-cache policy docker-ce
|
||||||
# - run: sudo apt-get -y install docker-ce=5:19.03.5~3-0~ubuntu-bionic
|
- run: sudo apt-get -y install docker-ce=5:19.03.5~3-0~ubuntu-bionic
|
||||||
# - run: docker version
|
- run: docker version
|
||||||
# # Allow local registry to be insecure
|
# Allow local registry to be insecure
|
||||||
# - run: sudo sed 's/DOCKER_OPTS="/DOCKER_OPTS="--insecure-registry=127.0.0.1:15000 /g' -i /etc/default/docker
|
- run: sudo sed 's/DOCKER_OPTS="/DOCKER_OPTS="--insecure-registry=127.0.0.1:15000 /g' -i /etc/default/docker
|
||||||
# - run: sudo cat /etc/default/docker
|
- run: sudo cat /etc/default/docker
|
||||||
# - run: sudo service docker restart
|
- run: sudo service docker restart
|
||||||
# # locally: docker run -it ubuntu:bionic bash (https://ubuntu.pkgs.org/18.04/docker-ce-stable-amd64/)
|
# locally: docker run -it ubuntu:bionic bash (https://ubuntu.pkgs.org/18.04/docker-ce-stable-amd64/)
|
||||||
# - run: sudo apt-get update
|
- run: sudo apt-get update
|
||||||
# - run: sudo apt-get -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
|
- run: sudo apt-get -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
|
||||||
# - run: curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
- run: curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||||
# - run: sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
- run: sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
|
||||||
# - run: sudo apt-get update
|
- run: sudo apt-get update
|
||||||
# # apt-cache policy docker-ce
|
# apt-cache policy docker-ce
|
||||||
# - run: sudo apt-get -y install docker-ce=5:19.03.5~3-0~ubuntu-bionic
|
- run: sudo apt-get -y install docker-ce=5:19.03.5~3-0~ubuntu-bionic
|
||||||
# - run: docker version
|
- run: docker version
|
||||||
# # Allow local registry to be insecure
|
# Allow local registry to be insecure
|
||||||
# - run: sudo sed 's/DOCKER_OPTS="/DOCKER_OPTS="--insecure-registry=127.0.0.1:15000 /g' -i /etc/default/docker
|
- run: sudo sed 's/DOCKER_OPTS="/DOCKER_OPTS="--insecure-registry=127.0.0.1:15000 /g' -i /etc/default/docker
|
||||||
# - run: sudo cat /etc/default/docker
|
- run: sudo cat /etc/default/docker
|
||||||
# - run: sudo service docker restart
|
- run: sudo service docker restart
|
||||||
# - run: make testacc
|
- run: make testacc
|
||||||
|
|
||||||
|
|
|
||||||
58
.github/workflows/compile.yaml
vendored
58
.github/workflows/compile.yaml
vendored
|
|
@ -1,32 +1,32 @@
|
||||||
# ---
|
---
|
||||||
# name: Compile Binaries
|
name: Compile Binaries
|
||||||
# on:
|
on:
|
||||||
# push:
|
push:
|
||||||
# branches:
|
branches:
|
||||||
# - master
|
- master
|
||||||
# - "release/**"
|
- "release/**"
|
||||||
# pull_request:
|
pull_request:
|
||||||
# types: ['opened', 'synchronize']
|
types: ['opened', 'synchronize']
|
||||||
# paths:
|
paths:
|
||||||
# - '**.go'
|
- '**.go'
|
||||||
# - 'vendor/**'
|
- 'vendor/**'
|
||||||
# - '.github/workflows/**'
|
- '.github/workflows/**'
|
||||||
|
|
||||||
# env:
|
env:
|
||||||
# GO_VERSION: "1.15"
|
GO_VERSION: "1.15"
|
||||||
# GOPROXY: https://gocenter.io,https://proxy.golang.org,direct
|
GOPROXY: https://gocenter.io,https://proxy.golang.org,direct
|
||||||
|
|
||||||
# jobs:
|
jobs:
|
||||||
# test:
|
test:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# strategy:
|
strategy:
|
||||||
# fail-fast: true
|
fail-fast: true
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# - uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
# with:
|
with:
|
||||||
# go-version: '1.15'
|
go-version: '1.15'
|
||||||
# - run: cat /etc/issue
|
- run: cat /etc/issue
|
||||||
# - run: bash scripts/gogetcookie.sh
|
- run: bash scripts/gogetcookie.sh
|
||||||
# - run: make compile
|
- run: make compile
|
||||||
|
|
||||||
|
|
|
||||||
60
.github/workflows/unit-test.yaml
vendored
60
.github/workflows/unit-test.yaml
vendored
|
|
@ -1,34 +1,34 @@
|
||||||
# ---
|
---
|
||||||
# name: Unit Tests
|
name: Unit Tests
|
||||||
# on:
|
on:
|
||||||
# push:
|
push:
|
||||||
# branches:
|
branches:
|
||||||
# - master
|
- master
|
||||||
# - "release/**"
|
- "release/**"
|
||||||
# pull_request:
|
pull_request:
|
||||||
# types: ['opened', 'synchronize']
|
types: ['opened', 'synchronize']
|
||||||
# paths:
|
paths:
|
||||||
# - '**.go'
|
- '**.go'
|
||||||
# - 'vendor/**'
|
- 'vendor/**'
|
||||||
# - '.github/workflows/**'
|
- '.github/workflows/**'
|
||||||
|
|
||||||
# env:
|
env:
|
||||||
# GO_VERSION: "1.15"
|
GO_VERSION: "1.15"
|
||||||
# GOPROXY: https://gocenter.io,https://proxy.golang.org,direct
|
GOPROXY: https://gocenter.io,https://proxy.golang.org,direct
|
||||||
|
|
||||||
# jobs:
|
jobs:
|
||||||
# test:
|
test:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# strategy:
|
strategy:
|
||||||
# fail-fast: true
|
fail-fast: true
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# - uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
# with:
|
with:
|
||||||
# go-version: '1.15'
|
go-version: '1.15'
|
||||||
# - run: cat /etc/issue
|
- run: cat /etc/issue
|
||||||
# - run: bash scripts/gogetcookie.sh
|
- run: bash scripts/gogetcookie.sh
|
||||||
# - run: make vet
|
- run: make vet
|
||||||
# - run: make test
|
- run: make test
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
3
.github/workflows/website.yaml
vendored
3
.github/workflows/website.yaml
vendored
|
|
@ -30,8 +30,7 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
cat /etc/issue
|
cat /etc/issue
|
||||||
echo "whoami" && whoami
|
echo "whoami" && whoami
|
||||||
echo "HOME: $HOME"
|
sudo mkdir -p /go && sudo chown -R $(whoami) /go
|
||||||
sudo mkdir -p /go && sudo chown -R $(whoami) /go && ls -lash /
|
|
||||||
export GOPATH="/go"
|
export GOPATH="/go"
|
||||||
echo "GOPATH: $GOPATH"
|
echo "GOPATH: $GOPATH"
|
||||||
make website-test
|
make website-test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue