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

Integrate Drone CI into Github Actions Workflow #81

Merged
merged 5 commits into from
Feb 18, 2022

Conversation

rayandas
Copy link

@rayandas rayandas commented Feb 14, 2022

What this PR does / why we need it:
Integrate the Drone CI into upstream's Github Workflow CI so that it is just another step in their CI and everything runs as one. The building/tagging functionality of the CI should remain unchanged, it just needs to be consolidated so we don’t have 2 separate CIs.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes rancher/rancher#35246

Special notes for your reviewer:

  1. I made a separate job release.yaml because it should only get triggered when someone tries to tag and release. I didn't add this job inside ci.yaml because all the jobs there runs for every pull requests and every push, to prevent running release ci job for every PR, I made it separate.
  2. For this commit remove G109 check till gosec resolves issues we had to remove skip one of their rules G109 as upstream has also done the same. Else security build will fail. more on remove G109 check till gosec resolves issues kubernetes/ingress-nginx#8044

@rayandas rayandas requested review from jiaqiluo and a team February 14, 2022 13:32
.github/workflows/release.yaml Outdated Show resolved Hide resolved
.github/workflows/ci.yaml Outdated Show resolved Hide resolved
.github/workflows/release.yaml Outdated Show resolved Hide resolved
.github/workflows/ci.yaml Outdated Show resolved Hide resolved
.github/workflows/release.yaml Outdated Show resolved Hide resolved
@jiaqiluo jiaqiluo requested a review from a team February 17, 2022 04:34
@rayandas rayandas requested a review from jiaqiluo February 17, 2022 05:48
.github/workflows/release.yaml Outdated Show resolved Hide resolved
@jiaqiluo jiaqiluo requested a review from a team February 17, 2022 15:57
@jiaqiluo jiaqiluo requested a review from a team February 17, 2022 17:22
@samkulkarni20 samkulkarni20 merged commit c41ba7d into rancher:nginx-1.1.x-fix Feb 18, 2022
@rayandas rayandas mentioned this pull request Feb 23, 2022
rayandas added a commit to rayandas/ingress-nginx that referenced this pull request Feb 24, 2022
kinarashah pushed a commit to kinarashah/ingress-nginx that referenced this pull request Apr 21, 2022
kinarashah pushed a commit to kinarashah/ingress-nginx that referenced this pull request Apr 25, 2022
doflamingo721 pushed a commit to doflamingo721/ingress-nginx that referenced this pull request Jun 7, 2022
doflamingo721 pushed a commit to doflamingo721/ingress-nginx that referenced this pull request Jun 7, 2022
kinarashah pushed a commit to kinarashah/ingress-nginx that referenced this pull request Jun 9, 2022
kinarashah pushed a commit to kinarashah/ingress-nginx that referenced this pull request Jun 9, 2022
samkulkarni20 pushed a commit to samkulkarni20/ingress-nginx that referenced this pull request Jun 10, 2022
samkulkarni20 pushed a commit to samkulkarni20/ingress-nginx that referenced this pull request Jun 10, 2022
rayandas added a commit to rayandas/ingress-nginx that referenced this pull request Jan 20, 2023
rayandas added a commit to rayandas/ingress-nginx that referenced this pull request May 2, 2023
rayandas added a commit to rayandas/ingress-nginx that referenced this pull request Aug 21, 2023
chiukapoor pushed a commit to chiukapoor/ingress-nginx that referenced this pull request Oct 11, 2023
vardhaman22 pushed a commit that referenced this pull request Nov 7, 2023
kinarashah pushed a commit that referenced this pull request Feb 9, 2024
chiukapoor pushed a commit to chiukapoor/ingress-nginx that referenced this pull request Feb 20, 2024
vardhaman22 pushed a commit to vardhaman22/ingress-nginx that referenced this pull request May 13, 2024
vardhaman22 pushed a commit to vardhaman22/ingress-nginx that referenced this pull request Jun 6, 2024
krunalhinguu pushed a commit that referenced this pull request Aug 21, 2024
remove the upstream's workflow

Add arm and s390x in the arches in scripts/build.
only amd64 and arm64 was in arches because of this the CI wasn't able to find the following files with not found error. /bin/arm/nginx-ingress-controller, /bin/arm/wait-shutdown and /bin/arm/dbg

fix drone build failure

`go install ginkgo` followed by `which ginkgo` is newly added in the upstream repo.
This is making the drone build fail for arm64 arch. The ginkgo library
gets installed under $GOPATH/bin/linux_arm64 dir. This is unlike amd64 images
which typically install go libraries under $GOPATH/bin. Since the previously mentioned
dir is not in PATH, the command `which ginkgo` fails. I've added this location to PATH
to fix the build failure. See upstream PRs linked below for more info:
kubernetes#8566
kubernetes#8569

use rancher's repository image

remove depreview action

revert back PR #81

removed drone ci

add drone's build and validate job in github actions workflow

add release workflow which will run only while tagging

added git in workflow steps for build and release

remove G109 check till gosec resolves issues

Remove test step from our CI

Remove test step from our CI because it runs the upstream's e2e Go tests
incorrectly and fails. Since we don't have any tests of our own, and
upstream's CI already runs these tests, this step can be removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants