-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fluent:master' into ppc64le-ci
- Loading branch information
Showing
2,550 changed files
with
109,687 additions
and
27,435 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
self-hosted-runner: | ||
labels: | ||
- actuated | ||
- actuated-aarch64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -216,13 +216,19 @@ jobs: | |
ref: ${{ inputs.ref }} | ||
repository: fluent/fluent-bit-ci | ||
|
||
- name: Configure system for Opensearch | ||
run: | | ||
sudo sysctl -w vm.max_map_count=262144 | ||
sysctl -p | ||
shell: bash | ||
|
||
- name: Setup BATS | ||
uses: mig4/setup-bats@v1 | ||
with: | ||
bats-version: 1.7.0 | ||
bats-version: 1.9.0 | ||
|
||
- name: Create k8s Kind Cluster | ||
uses: helm/kind-action@v1.5.0 | ||
uses: helm/kind-action@v1.7.0 | ||
with: | ||
node_image: kindest/node:${{ matrix.k8s-release }} | ||
cluster_name: kind | ||
|
@@ -236,6 +242,7 @@ jobs: | |
uses: azure/[email protected] | ||
|
||
- name: Run tests | ||
timeout-minutes: 60 | ||
run: | | ||
kind load docker-image ${{ inputs.image_name }}:${{ inputs.image_tag }} | ||
./run-tests.sh | ||
|
@@ -261,6 +268,8 @@ jobs: | |
cloud: | ||
- aks | ||
- gke | ||
env: | ||
USE_GKE_GCLOUD_AUTH_PLUGIN: true | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
|
@@ -274,11 +283,13 @@ jobs: | |
|
||
- if: matrix.cloud == 'gke' | ||
uses: 'google-github-actions/setup-gcloud@v1' | ||
with: | ||
install_components: 'gke-gcloud-auth-plugin' | ||
|
||
- name: Setup BATS | ||
uses: mig4/setup-bats@v1 | ||
with: | ||
bats-version: 1.7.0 | ||
bats-version: 1.9.0 | ||
|
||
- name: Set up Helm | ||
uses: azure/[email protected] | ||
|
@@ -290,13 +301,10 @@ jobs: | |
|
||
- name: Get the GKE Kubeconfig | ||
if: matrix.cloud == 'gke' | ||
run: | | ||
gcloud info | ||
gcloud container clusters get-credentials "$GKE_CLUSTER_NAME" --zone "$GKE_ZONE" | ||
shell: bash | ||
env: | ||
GKE_CLUSTER_NAME: ${{ needs.call-run-terraform-setup.outputs.gke-cluster-name }} | ||
GKE_ZONE: ${{ needs.call-run-terraform-setup.outputs.gke-cluster-zone }} | ||
uses: 'google-github-actions/get-gke-credentials@v1' | ||
with: | ||
cluster_name: ${{ needs.call-run-terraform-setup.outputs.gke-cluster-name }} | ||
location: ${{ needs.call-run-terraform-setup.outputs.gke-cluster-zone }} | ||
|
||
- name: Get the AKS Kubeconfig | ||
if: matrix.cloud == 'aks' | ||
|
@@ -321,8 +329,7 @@ jobs: | |
shell: bash | ||
|
||
- name: Run tests | ||
# https://github.com/fluent/fluent-bit-ci/issues/80 | ||
continue-on-error: ${{ matrix.cloud == 'gke' }} | ||
timeout-minutes: 60 | ||
run: | | ||
./run-tests.sh | ||
shell: bash | ||
|
@@ -334,4 +341,5 @@ jobs: | |
HOSTED_OPENSEARCH_HOST: ${{ needs.call-run-terraform-setup.outputs.aws-opensearch-endpoint }} | ||
HOSTED_OPENSEARCH_PORT: 443 | ||
HOSTED_OPENSEARCH_USERNAME: admin | ||
USE_GKE_GCLOUD_AUTH_PLUGIN: true | ||
HOSTED_OPENSEARCH_PASSWORD: ${{ secrets.opensearch_admin_password }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -182,7 +182,7 @@ jobs: | |
ref: ${{ inputs.ref }} | ||
|
||
- name: Create k8s Kind Cluster | ||
uses: helm/kind-action@v1.5.0 | ||
uses: helm/kind-action@v1.7.0 | ||
|
||
- name: Set up Helm | ||
uses: azure/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.