Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add s390x support update #1

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
b525d1e
Support force-building metadata layers into snapshot (#1731)
EvoPebo Oct 18, 2021
03a9847
Fix executor Dockerfile, which wasn't building (#1741)
Oct 18, 2021
d82d736
Make /bin/sh available to debug image (#1748)
anbraten Oct 18, 2021
1da17b6
chore: add workflows for pr tests (#1766)
tejal29 Oct 19, 2021
a42adb9
Fix composite cache key for multi-stage copy command (#1735)
gilbsgilbs Oct 19, 2021
544abd7
Fix typo (#1719)
mvasin Oct 19, 2021
badd665
Add s390x support to docker images (#1769)
tejal29 Oct 19, 2021
822f729
diable on push to master (#1770)
tejal29 Oct 19, 2021
46e0134
Remove tarball.WithCompressedCaching flag to resolve OOM Killed error…
Phylu Oct 19, 2021
13ea7d8
release: v1.7.0 (#1771)
tejal29 Oct 19, 2021
32923d1
Update release.yaml
tejal29 Oct 19, 2021
a65f634
Update RELEASE.md
tejal29 Oct 19, 2021
a4daeb2
chore: fix release pipeline (#1772)
tejal29 Oct 19, 2021
a67ba0a
fix dockefiles for deploy (#1773)
tejal29 Oct 19, 2021
63788db
fix dockefiles for deploy (#1774)
tejal29 Oct 19, 2021
779d224
fix dockefiles for deploy (#1775)
tejal29 Oct 19, 2021
21bb757
fix dockefiles for deploy gcr binsry (#1776)
tejal29 Oct 19, 2021
cf4822c
Run docker_credentials_gcr in warmer (#1780)
tejal29 Oct 19, 2021
4e8aae7
Revert ppce4 and other unintentional changes (#1781)
tejal29 Oct 19, 2021
1c705f3
bring them back (#1783)
tejal29 Oct 19, 2021
b873088
remove ppc64le (#1784)
tejal29 Oct 19, 2021
3b42fe4
chore: add release workflow on pr (#1785)
tejal29 Oct 20, 2021
82fc94d
git: accept explicit commit hash for git context (#1765)
wwade Oct 20, 2021
28a6bdc
Update CHANGELOG.md
tejal29 Oct 20, 2021
4e841f2
Better Self Serve instructions
tejal29 Oct 20, 2021
f705178
update
kun-lu20 Oct 20, 2021
6b46707
update
kun-lu20 Oct 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/integration-mis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Integration Tests Misc

# Triggers the workflow on push or pull request events
on: [pull_request]

concurrency:
group: int-test-mis-${{ github.head_ref }}
cancel-in-progress: true

jobs:
build-executor:
env:
IMAGE_REPO: 'localhost:5000'
REGISTRY: 'localhost:5000'
TRAVIS_REPO_SLUG: ${{ github.repository }}
TRAVIS_BRANCH: ${{ github.head_ref }}
TRAVIS_PULL_REQUEST: ${{ github.event.number }}
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Print Travis ENV vars
run: |
echo "TRAVIS_BRANCH: ${TRAVIS_BRANCH}"
echo "TRAVIS_PULL_REQUEST: ${TRAVIS_PULL_REQUEST}"
echo "TRAVIS_REPO_SLUG: ${TRAVIS_REPO_SLUG}"

- name: Run integration-test-misc
run : |
make travis-setup
make integration-test-misc
30 changes: 30 additions & 0 deletions .github/workflows/integration-run-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Integration tests (Run)

# Triggers the workflow on push or pull request events
on: [pull_request]

concurrency:
group: int-test-run-${{ github.head_ref }}
cancel-in-progress: true

jobs:
build-executor:
env:
IMAGE_REPO: 'localhost:5000'
REGISTRY: 'localhost:5000'
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run integration-test-run
run: |
make travis-setup
make integration-test-run
33 changes: 33 additions & 0 deletions .github/workflows/integration_k8_tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Intergration tests (K8s)

# Triggers the workflow on push or pull request events
on: [pull_request]

concurrency:
group: int-test-k8s${{ github.head_ref }}
cancel-in-progress: true

jobs:
build-executor:
env:
IMAGE_REPO: 'localhost:5000'
REGISTRY: 'localhost:5000'
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Run build-image-and-k8s-integration-test
run: |
make travis-setup
make minikube-setup
make k8s-executor-build-push
make integration-test-k8s
31 changes: 31 additions & 0 deletions .github/workflows/intergration-layers-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Integration tests (Layers)

# Triggers the workflow on push or pull request events
on: [pull_request]

concurrency:
group: int-test-layers-${{ github.head_ref }}
cancel-in-progress: true

jobs:
build-executor:
env:
IMAGE_REPO: 'localhost:5000'
REGISTRY: 'localhost:5000'
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Run integration-test-layers
run: |
make travis-setup
make integration-test-layers
193 changes: 193 additions & 0 deletions .github/workflows/pr_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
name: Build images on pull requests

on: [pull_request]

concurrency:
group: release-images-${{ github.head_ref }}
cancel-in-progress: true

jobs:
build-executor-slim:
env:
GITHUB_SHA: ${{ github.sha }}
GITHUB_REF: ${{ github.ref }}
PLATFORMS: "linux/amd64,linux/arm64,linux/s390x,linux/ppc64le"
runs-on: ubuntu-latest
steps:
- name: Clone source code
uses: actions/checkout@v2

- name: Get the tags
id: vars
run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: ${{ env.PLATFORMS }}

- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
with:
version: latest

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: kunlu20
password: 4f850c08-489a-4b71-9deb-eb75138258ad

- uses: docker/build-push-action@v2
with:
context: .
file: ./deploy/Dockerfile_slim
platforms: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le
tags: |
docker.io/kunlu20/executor:${{ env.GITHUB_SHA }}-slim

build-debug:
env:
GITHUB_SHA: ${{ github.sha }}
GITHUB_REF: ${{ github.ref }}
PLATFORMS: "linux/amd64,linux/arm64"
runs-on: ubuntu-latest
steps:
- name: Clone source code
uses: actions/checkout@v2

- name: Get the tags
id: vars
run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: ${{ env.PLATFORMS }}

- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
with:
version: latest

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: kunlu20
password: 4f850c08-489a-4b71-9deb-eb75138258ad

- uses: docker/build-push-action@v2
with:
context: .
file: ./deploy/Dockerfile_debug
platforms: linux/amd64,linux/arm64
tags: |
docker.io/kunlu20/executor:${{ env.GITHUB_SHA }}-debug

build-warmer:
env:
GITHUB_SHA: ${{ github.sha }}
GITHUB_REF: ${{ github.ref }}
PLATFORMS: "linux/amd64,linux/arm64,linux/s390x"
runs-on: ubuntu-latest
steps:
- name: Clone source code
uses: actions/checkout@v2

- name: Get the tags
id: vars
run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: ${{ env.PLATFORMS }}

- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
with:
version: latest

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: kunlu20
password: 4f850c08-489a-4b71-9deb-eb75138258ad

- uses: docker/build-push-action@v2
with:
context: .
file: ./deploy/Dockerfile_warmer
platforms: linux/amd64,linux/arm64,linux/s390x
tags: |
docker.io/kunlu20/warmer:${{ env.GITHUB_SHA }}

build-executor:
env:
GITHUB_SHA: ${{ github.sha }}
GITHUB_REF: ${{ github.ref }}
PLATFORMS: "linux/amd64,linux/arm64,linux/s390x"
runs-on: ubuntu-latest
steps:
- name: Clone source code
uses: actions/checkout@v2

- name: Get the tags
id: vars
run: echo ::set-output name=tag::${GITHUB_REF/refs\/tags\//}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
with:
platforms: ${{ env.PLATFORMS }}

- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
with:
version: latest

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: kunlu20
password: 4f850c08-489a-4b71-9deb-eb75138258ad

- uses: docker/build-push-action@v2
with:
context: .
file: ./deploy/Dockerfile
platforms: linux/amd64,linux/arm64,linux/s390x
tags: |
docker.io/kunlu20/executor:${{ env.GITHUB_SHA }}
Loading