Skip to content
Merged
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
6 changes: 6 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
schedule:
- cron: '0 4 * * *'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
buildbox:
strategy:
Expand Down Expand Up @@ -123,6 +127,7 @@ jobs:
name: Package test package=${{ matrix.package }} dist=${{ matrix.dist }} arch=${{ matrix.arch }}
env:
OOD_REPO_PASSWORD: ${{ secrets.OOD_OSC_EARLY_ACCESS_PASSWORD }}
OOD_REPO_USERNAME: ${{ secrets.OOD_OSC_EARLY_ACCESS_USERNAME }}
steps:
- name: Checkout ${{ github.sha }}
uses: actions/checkout@v7
Expand Down Expand Up @@ -291,6 +296,7 @@ jobs:
name: Package ${{ matrix.package }} dist=${{ matrix.dist }} arch=${{ matrix.arch }}
env:
OOD_REPO_PASSWORD: ${{ secrets.OOD_OSC_EARLY_ACCESS_PASSWORD }}
OOD_REPO_USERNAME: ${{ secrets.OOD_OSC_EARLY_ACCESS_USERNAME }}
steps:
- name: Checkout ${{ github.sha }}
uses: actions/checkout@v7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Setup Ruby using Bundler
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0.4'
ruby-version: '3.0'
bundler: '2.1.4'
bundler-cache: true
- name: Setup Rubygems credentials
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@ on:
branches: [main]
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
unit-tests:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
ruby: ["3.2.2", "3.3.8", 4.0.6]
ruby: ["3.2", "3.3", "4.0.6"]
bundler: ["2.5.23"]
runs-on: ${{ matrix.os }}
name: Unit tests
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
ood_packaging (0.23.3)
ood_packaging (0.23.4)
ostruct
rake (~> 13.0)

Expand Down
2 changes: 1 addition & 1 deletion lib/ood_packaging/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def ondemand_rpm_repo_baseurl
end

def ondemand_rpm_repo_username
ENV['OOD_REPO_USERNAME'] || 'osc'
ENV['OOD_REPO_USERNAME'] || 'osc-ci'
end

def ruby_version
Expand Down
2 changes: 1 addition & 1 deletion lib/ood_packaging/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Version code for OodPackaging
module OodPackaging
VERSION = '0.23.3'
VERSION = '0.23.4'
PACKAGE_VERSION = {
'ondemand-release' => {
'(ubuntu|debian)' => '4.2.0',
Expand Down
4 changes: 2 additions & 2 deletions spec/ood_packaging/package_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
'-e', "'GPG_SIGN=false'", '-e', "'GPG_NAME=OnDemand Release Signing Key'",
'-e', "'OOD_UID=1000'", '-e', "'OOD_GID=1000'",
'-e', "'DEBUG=false'",
'-e', "'DNF_VAR_REPO_USERNAME=osc'",
'-e', "'DNF_VAR_REPO_USERNAME=osc-ci'",
'uuid', '/ondemand-packaging/inituidgid.sh', '/ondemand-packaging/setuser.rb', 'ood',
'/ondemand-packaging/rake', '-q', '-f', '/ondemand-packaging/Rakefile', 'ood_packaging:package:build'
]
Expand All @@ -217,7 +217,7 @@
'-e', "'GPG_SIGN=false'", '-e', "'GPG_NAME=OnDemand Release Signing Key'",
'-e', "'OOD_UID=1000'", '-e', "'OOD_GID=1000'",
'-e', "'DEBUG=false'",
'-e', "'DNF_VAR_REPO_USERNAME=osc'",
'-e', "'DNF_VAR_REPO_USERNAME=osc-ci'",
'uuid', '/ondemand-packaging/inituidgid.sh', '/ondemand-packaging/setuser.rb', 'ood',
'/ondemand-packaging/rake', '-q', '-f', '/ondemand-packaging/Rakefile', 'ood_packaging:package:build'
]
Expand Down
Loading