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

Master add iso builds to templates #5100

Merged

Conversation

jkonecny12
Copy link
Member

@jkonecny12 jkonecny12 commented Aug 29, 2023

Change the ISO build to take branched Fedora sources instead of Rawhide.

Backport of #5098

@github-actions github-actions bot added infrastructure Changes affecting mostly infrastructure f40 labels Aug 29, 2023
@jkonecny12
Copy link
Member Author

/kickstart-test --testtype smoke

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shellcheck found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

@jkonecny12
Copy link
Member Author

@VladimirSlavik seems that the ShellCheck has issues with our templating solution. Should I somehow bypass the check there?

@jkonecny12
Copy link
Member Author

Resolved the missing bot requirement: cockpit-project/bots#5176

@VladimirSlavik
Copy link
Contributor

VladimirSlavik commented Aug 29, 2023

I think we need something like this:

      - id: ShellCheck
        name: Differential ShellCheck
        uses: redhat-plumbers-in-action/differential-shellcheck@v4
        with:
          severity: warning
          token: ${{ secrets.GITHUB_TOKEN }}
+         exclude-path: '*.j2'

Maybe it would run on the PR if it is changed with it?

Also, it can have multiple values, so maybe it will bring the same globbing fun as the autolabeling did...

exclude-path:
  - '*.j2'
  - '**/*.j2'

(just a pessimistic guess)

@jkonecny12 jkonecny12 force-pushed the master-add-iso-builds-to-templates branch from d7937c4 to 1529bf3 Compare August 30, 2023 13:14
@jkonecny12
Copy link
Member Author

/kickstart-test --testtype smoke

Copy link
Contributor

@VladimirSlavik VladimirSlavik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thank you!

@jkonecny12 jkonecny12 force-pushed the master-add-iso-builds-to-templates branch from 1529bf3 to a392e76 Compare August 30, 2023 14:41
@jkonecny12
Copy link
Member Author

UPDATED

@jkonecny12
Copy link
Member Author

/kickstart-test --testtype smoke

We need to add the build scripts into our templating solution.
We need to add script and Dockerfile to our templating solution.
The j2 files are our templating and these are not usual shell scripts.
@jkonecny12 jkonecny12 force-pushed the master-add-iso-builds-to-templates branch from a392e76 to d478eac Compare August 31, 2023 11:14
@jkonecny12
Copy link
Member Author

/kickstart-test --testtype smoke

@jkonecny12
Copy link
Member Author

UPDATED

  • Rebased on top of templating PRs with updated rendered scripts

@jkonecny12 jkonecny12 merged commit f971259 into rhinstaller:master Aug 31, 2023
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
f40 infrastructure Changes affecting mostly infrastructure
Development

Successfully merging this pull request may close these issues.

2 participants