patch osc commnad without osc_checkout script
Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 12m15s
Some checks failed
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Failing after 12m15s
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
This commit is contained in:
parent
b1aa3d5493
commit
b855ed884f
@ -5,7 +5,7 @@ on:
|
|||||||
branches: [ factory ]
|
branches: [ factory ]
|
||||||
jobs:
|
jobs:
|
||||||
osc_job:
|
osc_job:
|
||||||
runs-on: registry_bci
|
runs-on: osc_patch_label
|
||||||
name: opensuse osc custom container checkout test
|
name: opensuse osc custom container checkout test
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the repo code
|
- name: Checkout the repo code
|
||||||
@ -16,10 +16,12 @@ jobs:
|
|||||||
- name: Using OBS checkout
|
- name: Using OBS checkout
|
||||||
with:
|
with:
|
||||||
osc_user: 'alexlau'
|
osc_user: 'alexlau'
|
||||||
|
osc_cred: 'osc.credentials.PlaintextConfigFileCredentialsManager'
|
||||||
osc_path: 'home:alexlau:branches:Base:System'
|
osc_path: 'home:alexlau:branches:Base:System'
|
||||||
osc_package: 'bash'
|
osc_package: 'bash'
|
||||||
osc_action: 'buildlog'
|
osc_action: 'buildlog'
|
||||||
|
|
||||||
env: # Or as an environment variable
|
env: # Or as an environment variable
|
||||||
osc_pass: ${{ secrets.OSCPASS }}
|
osc_pass: ${{ secrets.OSCPASS }}
|
||||||
run: |
|
run: |
|
||||||
/usr/bin/osc_checkout "$env(INPUT_OSC_PATH)" "$env(INPUT_OSC_PACKAGE)"
|
OSC_USERNAME="$env(INPUT_OSC_USER)" OSC_CREDENTIALS_MGR_CLASS="$env(INPUT_OSC_CRED)" OSC_PASSWORD="$evn(osc_pass)" osc checkout "$env(INPUT_OSC_PATH)" "$env(INPUT_OSC_PACKAGE)"
|
||||||
|
Loading…
Reference in New Issue
Block a user