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

Test building images with arm64 #4364

Closed
wants to merge 14 commits into from
Closed
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
2 changes: 1 addition & 1 deletion .github/actions/build-push-image-with-apko/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ runs:
if: ${{ inputs.overwrite == 'true' || steps.check-image-exists.outputs.image-exists == 'false' }}
with:
config: ${{ inputs.apko-config }}
archs: x86_64
archs: arm64
tag: ${{ inputs.image-name }}
vcs-url: true
generic-user: ${{ inputs.registry-username }}
Expand Down
34 changes: 17 additions & 17 deletions .github/actions/build-push-kotsadm-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,23 @@ inputs:
runs:
using: "composite"
steps:
- uses: google-github-actions/auth@35b0e87d162680511bf346c299f71c9c5c379033 # v1.1.1
with:
workload_identity_provider: ${{ inputs.chainguard-gcp-wif-pool }}
service_account: ${{ inputs.chainguard-gcp-sa }}
# - uses: google-github-actions/auth@35b0e87d162680511bf346c299f71c9c5c379033 # v1.1.1
# with:
# workload_identity_provider: ${{ inputs.chainguard-gcp-wif-pool }}
# service_account: ${{ inputs.chainguard-gcp-sa }}

- uses: google-github-actions/setup-gcloud@e30db14379863a8c79331b04a9969f4c1e225e0b # v1.1.1
with:
project_id: ${{ inputs.chainguard-gcp-project-id }}
# - uses: google-github-actions/setup-gcloud@e30db14379863a8c79331b04a9969f4c1e225e0b # v1.1.1
# with:
# project_id: ${{ inputs.chainguard-gcp-project-id }}

- name: setup packages
env:
BUCKET: replicated-apk-registry
shell: bash
run: |
mkdir ./packages/
gsutil -m cp -R gs://$BUCKET/os/* ./packages/
ls -lR ./packages/
# - name: setup packages
# env:
# BUCKET: replicated-apk-registry
# shell: bash
# run: |
# mkdir ./packages/
# gsutil -m cp -R gs://$BUCKET/os/* ./packages/
# ls -lR ./packages/

- name: template melange and apko configs
shell: bash
Expand All @@ -66,14 +66,14 @@ runs:
- uses: chainguard-dev/actions/melange-build@main
with:
config: deploy/melange.yaml
archs: x86_64
archs: arm64
sign-with-temporary-key: true
cache-dir: ${{ steps.cache-dir.outputs.cache_dir }}

- uses: chainguard-images/actions/apko-publish@main
with:
config: deploy/apko.yaml
archs: x86_64
archs: arm64
tag: ${{ inputs.image-name }}
vcs-url: true
generic-user: ${{ inputs.registry-username }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ runs:
- uses: chainguard-dev/actions/melange-build@main
with:
config: migrations/deploy/melange.yaml
archs: x86_64
archs: arm64
sign-with-temporary-key: true
cache-dir: ${{ steps.cache-dir.outputs.cache_dir }}

- uses: chainguard-images/actions/apko-publish@main
with:
config: migrations/deploy/apko.yaml
archs: x86_64
archs: arm64
tag: ${{ inputs.image-name }}
vcs-url: true
generic-user: ${{ inputs.registry-username }}
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/build-push-kurl-proxy-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ runs:
- uses: chainguard-dev/actions/melange-build@main
with:
config: kurl_proxy/deploy/melange.yaml
archs: x86_64
archs: arm64
sign-with-temporary-key: true
cache-dir: ${{ steps.cache-dir.outputs.cache_dir }}

- uses: chainguard-images/actions/apko-publish@main
with:
config: kurl_proxy/deploy/apko.yaml
archs: x86_64
archs: arm64
tag: ${{ inputs.image-name }}
vcs-url: true
generic-user: ${{ inputs.registry-username }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ jobs:


build-kotsadm:
runs-on: ubuntu-20.04
runs-on: [ self-hosted, linux, ARM64 ]
needs: [ can-run-ci, generate-tag ]
permissions:
id-token: write # required to be able to assume the GCP SA identity to pull private Chainguard packages.
Expand Down
7 changes: 0 additions & 7 deletions deploy/apko.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ contents:

# All currently supported kubectl versions.
# TODO: this requires manual intervention whenever there are new kubectl releases.
- kubectl-1.19
- kubectl-1.20
- kubectl-1.21
- kubectl-1.22
- kubectl-1.23
- kubectl-1.24
- kubectl-1.25
- kubectl-1.26
- kubectl-1.27
- kubectl-1.28
Expand Down
1 change: 0 additions & 1 deletion deploy/melange.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ environment:
- https://packages.wolfi.dev/os
keyring:
- https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
- ./packages/chainguard-enterprise.rsa.pub
packages:
- ca-certificates-bundle
- busybox
Expand Down
8 changes: 6 additions & 2 deletions web/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ module.exports = {
"@babel/preset-typescript",
],
plugins: [
["@babel/plugin-proposal-class-properties", { loose: true }],
["@babel/plugin-proposal-optional-chaining", { loose: true }],
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-optional-chaining",
],
"assumptions": {
"privateFieldsAsProperties": true,
"setPublicClassFields": true
}
};
Loading