Skip to content

Commit c6a6f1f

Browse files
authored
Merge pull request #23 from k8sstormcenter/ddelnano/remove-unnecessary-changes
Remove file source, sink results and vestigial changes. Get release workflows functional.
2 parents 9693219 + 54d2a3a commit c6a6f1f

241 files changed

Lines changed: 3599 additions & 27614 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.arclint

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"(^src/stirling/bpf_tools/bcc_bpf/system-headers)",
2424
"(^src/stirling/mysql/testing/.*\\.json$)",
2525
"(^src/stirling/obj_tools/testdata/go/test_go_binary.go)",
26-
"(^src/stirling/source_connectors/file_source/testdata/test.json$)",
2726
"(^src/stirling/source_connectors/socket_tracer/protocols/http2/testing/go_grpc_client/main.go$)",
2827
"(^src/stirling/source_connectors/socket_tracer/protocols/http2/testing/go_grpc_server/main.go$)",
2928
"(^src/stirling/utils/testdata/config$)",

.github/workflows/cacher.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
with:
1313
image-base-name: "dev_image"
1414
populate-caches:
15-
runs-on: oracle-8cpu-32gb-x86-64
15+
runs-on: oracle-vm-16cpu-64gb-x86-64
1616
needs: get-dev-image
1717
container:
1818
image: ${{ needs.get-dev-image.outputs.image-with-tag }}

.github/workflows/cli_release.yaml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -42,18 +42,13 @@ jobs:
4242
BUILDBOT_GPG_KEY_B64: ${{ secrets.BUILDBOT_GPG_KEY_B64 }}
4343
run: |
4444
echo "${BUILDBOT_GPG_KEY_B64}" | base64 --decode | gpg --no-tty --batch --import
45-
- id: gcloud-creds
46-
uses: ./.github/actions/gcloud_creds
47-
with:
48-
SERVICE_ACCOUNT_KEY: ${{ secrets.GH_RELEASE_SA_PEM_B64 }}
4945
- name: Build & Push Artifacts
5046
env:
5147
REF: ${{ github.event.ref }}
5248
BUILDBOT_GPG_KEY_ID: ${{ secrets.BUILDBOT_GPG_KEY_ID }}
5349
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5450
BUILD_NUMBER: ${{ github.run_attempt }}
5551
JOB_NAME: ${{ github.job }}
56-
GOOGLE_APPLICATION_CREDENTIALS: ${{ steps.gcloud-creds.outputs.gcloud-creds }}
5752
shell: bash
5853
run: |
5954
export TAG_NAME="${REF#*/tags/}"
@@ -66,13 +61,6 @@ jobs:
6661
with:
6762
name: linux-artifacts
6863
path: artifacts/
69-
- name: Update GCS Manifest
70-
env:
71-
ARTIFACT_MANIFEST_BUCKET: "pixie-dev-public"
72-
# Use the old style versions file instead of the new updates for the gcs manifest.
73-
MANIFEST_UPDATES: ""
74-
GOOGLE_APPLICATION_CREDENTIALS: ${{ steps.gcloud-creds.outputs.gcloud-creds }}
75-
run: ./ci/update_artifact_manifest.sh
7664
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7765
with:
7866
name: artifact-upload-log
@@ -131,18 +119,13 @@ jobs:
131119
BUILDBOT_GPG_KEY_B64: ${{ secrets.BUILDBOT_GPG_KEY_B64 }}
132120
run: |
133121
echo "${BUILDBOT_GPG_KEY_B64}" | base64 --decode | gpg --no-tty --batch --import
134-
- id: gcloud-creds
135-
uses: ./.github/actions/gcloud_creds
136-
with:
137-
SERVICE_ACCOUNT_KEY: ${{ secrets.GH_RELEASE_SA_PEM_B64 }}
138122
- name: Add pwd to git safe dir
139123
run: |
140124
git config --global --add safe.directory `pwd`
141125
- name: Upload signed CLI
142126
env:
143127
REF: ${{ github.event.ref }}
144128
BUILDBOT_GPG_KEY_ID: ${{ secrets.BUILDBOT_GPG_KEY_ID }}
145-
GOOGLE_APPLICATION_CREDENTIALS: ${{ steps.gcloud-creds.outputs.gcloud-creds }}
146129
ARTIFACT_UPLOAD_LOG: "artifact_uploads.json"
147130
shell: bash
148131
run: |
@@ -188,7 +171,7 @@ jobs:
188171
--notes $'Pixie CLI Release:\n'"${changelog}"
189172
gh release upload "${TAG_NAME}" linux-artifacts/* macos-artifacts/*
190173
update-gh-artifacts-manifest:
191-
runs-on: oracle-8cpu-32gb-x86-64
174+
runs-on: oracle-vm-16cpu-64gb-x86-64
192175
needs: [get-dev-image, create-github-release]
193176
container:
194177
image: ${{ needs.get-dev-image.outputs.image-with-tag }}
@@ -217,8 +200,8 @@ jobs:
217200
env:
218201
BUILDBOT_GPG_KEY_ID: ${{ secrets.BUILDBOT_GPG_KEY_ID }}
219202
run: |
220-
git config --global user.name 'pixie-io-buildbot'
221-
git config --global user.email 'build@pixielabs.ai'
203+
git config --global user.name 'k8sstormcenter-buildbot'
204+
git config --global user.email 'info@fusioncore.ai'
222205
git config --global user.signingkey "${BUILDBOT_GPG_KEY_ID}"
223206
git config --global commit.gpgsign true
224207
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0

.github/workflows/cloud_release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
name: Build Release
1818
runs-on: oracle-vm-16cpu-64gb-x86-64
1919
needs: get-dev-image
20+
permissions:
21+
contents: read
22+
packages: write
2023
container:
2124
image: ${{ needs.get-dev-image.outputs.image-with-tag }}
2225
steps:
@@ -30,15 +33,13 @@ jobs:
3033
with:
3134
download_toplevel: 'true'
3235
BB_API_KEY: ${{ secrets.BB_IO_API_KEY }}
33-
- id: gcloud-creds
34-
uses: ./.github/actions/gcloud_creds
35-
with:
36-
SERVICE_ACCOUNT_KEY: ${{ secrets.GH_RELEASE_SA_PEM_B64 }}
3736
- name: Import GPG key
3837
env:
3938
BUILDBOT_GPG_KEY_B64: ${{ secrets.BUILDBOT_GPG_KEY_B64 }}
4039
run: |
4140
echo "${BUILDBOT_GPG_KEY_B64}" | base64 --decode | gpg --no-tty --batch --import
41+
- name: Login to GHCR
42+
run: echo "${{ github.token }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
4243
- name: Build & Push Artifacts
4344
env:
4445
REF: ${{ github.event.ref }}
@@ -47,7 +48,6 @@ jobs:
4748
GH_API_KEY: ${{ secrets.GITHUB_TOKEN }}
4849
COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}}
4950
COSIGN_PRIVATE_KEY: ${{secrets.COSIGN_PRIVATE_KEY}}
50-
GOOGLE_APPLICATION_CREDENTIALS: ${{ steps.gcloud-creds.outputs.gcloud-creds }}
5151
BUILDBOT_GPG_KEY_ID: ${{ secrets.BUILDBOT_GPG_KEY_ID }}
5252
shell: bash
5353
run: |

.github/workflows/codeql.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
category: "/language:go"
3030
analyze-python:
31-
runs-on: oracle-8cpu-32gb-x86-64
31+
runs-on: oracle-vm-16cpu-64gb-x86-64
3232
permissions:
3333
actions: read
3434
contents: read
@@ -42,7 +42,7 @@ jobs:
4242
with:
4343
category: "/language:python"
4444
analyze-javascript:
45-
runs-on: oracle-8cpu-32gb-x86-64
45+
runs-on: oracle-vm-16cpu-64gb-x86-64
4646
permissions:
4747
actions: read
4848
contents: read

.github/workflows/operator_release.yaml

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
name: Build Release
1818
runs-on: oracle-vm-16cpu-64gb-x86-64
1919
needs: get-dev-image
20+
permissions:
21+
contents: read
22+
packages: write
2023
container:
2124
image: ${{ needs.get-dev-image.outputs.image-with-tag }}
2225
env:
@@ -33,23 +36,20 @@ jobs:
3336
with:
3437
download_toplevel: 'true'
3538
BB_API_KEY: ${{ secrets.BB_IO_API_KEY }}
36-
- id: gcloud-creds
37-
uses: ./.github/actions/gcloud_creds
38-
with:
39-
SERVICE_ACCOUNT_KEY: ${{ secrets.GH_RELEASE_SA_PEM_B64 }}
4039
- name: Import GPG key
4140
env:
4241
BUILDBOT_GPG_KEY_B64: ${{ secrets.BUILDBOT_GPG_KEY_B64 }}
4342
run: |
4443
echo "${BUILDBOT_GPG_KEY_B64}" | base64 --decode | gpg --no-tty --batch --import
44+
- name: Login to GHCR
45+
run: echo "${{ github.token }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
4546
- name: Build & Push Artifacts
4647
env:
4748
REF: ${{ github.event.ref }}
4849
BUILD_NUMBER: ${{ github.run_attempt }}
4950
JOB_NAME: ${{ github.job }}
5051
COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}}
5152
COSIGN_PRIVATE_KEY: ${{secrets.COSIGN_PRIVATE_KEY}}
52-
GOOGLE_APPLICATION_CREDENTIALS: ${{ steps.gcloud-creds.outputs.gcloud-creds }}
5353
GH_REPO: ${{ github.repository }}
5454
BUILDBOT_GPG_KEY_ID: ${{ secrets.BUILDBOT_GPG_KEY_ID }}
5555
shell: bash
@@ -60,13 +60,6 @@ jobs:
6060
mkdir -p "${ARTIFACTS_DIR}"
6161
./ci/save_version_info.sh
6262
./ci/operator_build_release.sh
63-
- name: Update GCS Manifest
64-
env:
65-
ARTIFACT_MANIFEST_BUCKET: "pixie-dev-public"
66-
# Use the old style versions file instead of the new updates for the gcs manifest.
67-
MANIFEST_UPDATES: ""
68-
GOOGLE_APPLICATION_CREDENTIALS: ${{ steps.gcloud-creds.outputs.gcloud-creds }}
69-
run: ./ci/update_artifact_manifest.sh
7063
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7164
with:
7265
name: manifest-updates
@@ -127,8 +120,8 @@ jobs:
127120
env:
128121
GIT_SSH_COMMAND: "ssh -i /tmp/ssh.key"
129122
run: |
130-
git config --global user.name 'pixie-io-buildbot'
131-
git config --global user.email 'build@pixielabs.ai'
123+
git config --global user.name 'k8sstormcenter-buildbot'
124+
git config --global user.email 'info@fusioncore.ai'
132125
- name: Push Helm YAML to gh-pages
133126
shell: bash
134127
env:
@@ -142,7 +135,7 @@ jobs:
142135
git commit -s -m "Release Helm chart ${VERSION}"
143136
git push origin "gh-pages"
144137
update-gh-artifacts-manifest:
145-
runs-on: oracle-8cpu-32gb-x86-64
138+
runs-on: oracle-vm-16cpu-64gb-x86-64
146139
needs: [get-dev-image, create-github-release]
147140
container:
148141
image: ${{ needs.get-dev-image.outputs.image-with-tag }}
@@ -171,8 +164,8 @@ jobs:
171164
env:
172165
BUILDBOT_GPG_KEY_ID: ${{ secrets.BUILDBOT_GPG_KEY_ID }}
173166
run: |
174-
git config --global user.name 'pixie-io-buildbot'
175-
git config --global user.email 'build@pixielabs.ai'
167+
git config --global user.name 'k8sstormcenter-buildbot'
168+
git config --global user.email 'info@fusioncore.ai'
176169
git config --global user.signingkey "${BUILDBOT_GPG_KEY_ID}"
177170
git config --global commit.gpgsign true
178171
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0

.github/workflows/pr_genfiles.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
with:
1414
image-base-name: "dev_image"
1515
run-genfiles:
16-
runs-on: oracle-8cpu-32gb-x86-64
16+
runs-on: oracle-vm-16cpu-64gb-x86-64
1717
needs: get-dev-image
1818
container:
1919
image: ${{ needs.get-dev-image.outputs.image-with-tag }}

.github/workflows/pr_linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
with:
1414
image-base-name: "linter_image"
1515
run-container-lint:
16-
runs-on: oracle-8cpu-32gb-x86-64
16+
runs-on: oracle-vm-16cpu-64gb-x86-64
1717
needs: get-linter-image
1818
container:
1919
image: ${{ needs.get-linter-image.outputs.image-with-tag }}

.github/workflows/release_update_docs_px_dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
image-base-name: "dev_image_with_extras"
1414
generate-docs:
1515
needs: get-dev-image
16-
runs-on: oracle-8cpu-32gb-x86-64
16+
runs-on: oracle-vm-16cpu-64gb-x86-64
1717
container:
1818
image: ${{ needs.get-dev-image.outputs.image-with-tag }}
1919
steps:

.github/workflows/trivy_images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
artifact: [cloud, operator, vizier]
21-
runs-on: oracle-8cpu-32gb-x86-64
21+
runs-on: oracle-vm-16cpu-64gb-x86-64
2222
needs: get-dev-image
2323
container:
2424
image: ${{ needs.get-dev-image.outputs.image-with-tag }}

0 commit comments

Comments
 (0)