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

Remove Centos build, but keep sources #244

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
44 changes: 0 additions & 44 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,47 +96,3 @@ jobs:

- name: Upload image tarballs to GCS
run: cd images && gsutil -m -h "Cache-Control:no-store" cp -r . gs://$GCS_BUCKET/metal-os

centos:
name: Build Centos based OS image
runs-on: self-hosted

steps:
- name: Checkout
uses: actions/checkout@v4

- uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.GCP_SA_KEY }}'

- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v2

- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
cache: false

- name: build install
run: make

- name: Prepare build environment
shell: bash
run: ./prepare.sh centos

- name: Build docker image for centos based workers and export tarball
run: |
DOCKER_MAKE_REGISTRY_LOGIN_USER="metalstack+ci" \
DOCKER_MAKE_REGISTRY_LOGIN_PASSWORD="${{ secrets.QUAY_IO_TOKEN }}" \
TMPDIR=/var/tmp \
docker-make \
--work-dir centos \
--file docker-make.yaml \
--no-cache \
--summary \
--no-lint \
--no-push

- name: Upload image tarballs to GCS
run: cd images && gsutil -m -h "Cache-Control:no-store" cp -r . gs://$GCS_BUCKET/metal-os
45 changes: 0 additions & 45 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,48 +98,3 @@ jobs:

- name: Upload image tarballs to GCS
run: cd images && gsutil -m -h "Cache-Control:no-store" cp -r . gs://$GCS_BUCKET/metal-os/pull_requests/

centos:
name: Build Centos based OS image
runs-on: self-hosted

steps:
- name: Checkout
uses: actions/checkout@v4

- uses: google-github-actions/auth@v2
with:
credentials_json: '${{ secrets.GCP_SA_KEY }}'

- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v2

- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
cache: false

- name: build install
run: make

- name: Prepare build environment
shell: bash
run: ./prepare.sh centos

- name: Build docker image for centos based workers and export tarball
run: |
DOCKER_MAKE_REGISTRY_LOGIN_USER="metalstack+ci" \
DOCKER_MAKE_REGISTRY_LOGIN_PASSWORD="${{ secrets.QUAY_IO_TOKEN }}" \
TMPDIR=/var/tmp \
docker-make \
--work-dir centos \
--file docker-make.yaml \
--no-cache \
--no-push \
--summary \
--no-lint \
--no-push

- name: Upload image tarballs to GCS
run: cd images && gsutil -m -h "Cache-Control:no-store" cp -r . gs://$GCS_BUCKET/metal-os/pull_requests/
1 change: 0 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:

- run: |
# copy supported images (entire stable folder cannot be copied as a whole because it contains obsolete images as well)
gsutil -m cp -r gs://$GCS_BUCKET/metal-os/stable/centos/7 gs://$GCS_BUCKET/metal-os/${GITHUB_REF##*/}/centos/7
gsutil -m cp -r gs://$GCS_BUCKET/metal-os/stable/debian/12 gs://$GCS_BUCKET/metal-os/${GITHUB_REF##*/}/debian/12
gsutil -m cp -r gs://$GCS_BUCKET/metal-os/stable/debian-nvidia/12 gs://$GCS_BUCKET/metal-os/${GITHUB_REF##*/}/debian-nvidia/12
gsutil -m cp -r gs://$GCS_BUCKET/metal-os/stable/firewall/3.0-ubuntu gs://$GCS_BUCKET/metal-os/${GITHUB_REF##*/}/firewall/3.0-ubuntu
Expand Down