Skip to content

Commit 8e2d5db

Browse files
committed
do demo
1 parent e589ce0 commit 8e2d5db

File tree

4 files changed

+5
-58
lines changed

4 files changed

+5
-58
lines changed

ci/ibm/Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ansiColor("xterm") {
2020
ci/ibm/podman_jenkins.sh
2121
2222
'''
23-
def artifacts = ['op-build/timings.txt', 'upload.log']
23+
def artifacts = ['upload.log']
2424
archiveArtifacts artifacts: artifacts.join(', '), allowEmptyArchive: true
2525

2626
//cleanWs()

ci/ibm/podman_jenkins.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,15 @@ container_id=$(podman run -dit --userns=keep-id \
2828
podman cp $opbuild_dir $container_id:$working_dir
2929

3030
# do the compile
31-
podman exec -w $working_dir $container_id /bin/bash -c "./op-build p10ebmc_defconfig && ./op-build"
32-
#podman exec -w $working_dir $container_id /bin/bash -c "./op-build p10ebmc_defconfig"
31+
#podman exec -w $working_dir $container_id /bin/bash -c "./op-build p10ebmc_defconfig && ./op-build"
32+
podman exec -w $working_dir $container_id /bin/bash -c "./op-build p10ebmc_defconfig"
3333

3434
# Upload build images to artifactory
3535
podman exec -w $working_dir $container_id /bin/bash -c "./ci/ibm/upload_artifactory.sh"
3636
podman cp $container_id:$working_dir/upload.log $WORKSPACE
3737
echo "Browse https://na-public.artifactory.swg-devops.com/ui/native/pse-jet-sys-powerfw-generic-local/op-build/pr-$CHANGE_ID/$BUILD_NUMBER"
3838

3939

40-
4140
# create unique tag for artifactory
4241
podman commit $container_id $remote_tag
4342
podman tag $remote_tag $latest_tag

ci/ibm/podman_local.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,17 @@ tag_name=${2:-op-build:$(git rev-parse --abbrev-ref HEAD)}
88

99
working_dir=/home/$USER/op-build
1010
#exit
11-
#--no-cache
11+
#
1212
podman build --build-arg UID=$UID --build-arg GID=$(id -g) --build-arg USER=$USER -t $tag_name -f ci/ibm/Dockerfile ci/ibm
1313

1414
# mount the local repo into the container
1515
# mount ssh keys for additional cloning if required
1616
container_id=$(podman run -itd --userns=keep-id \
1717
-v $opbuild_dir:$working_dir:z \
1818
-v /home/$USER/.ssh:/home/$USER/.ssh:z \
19-
-v /home/$USER/.jfrog:/home/$USER/.jfrog:z \
2019
-w $working_dir $tag_name)
2120

2221
# do the compile
23-
podman exec -w $working_dir $container_id /bin/bash -c "./op-build p10ebmc_defconfig && ./op-build"
22+
#podman exec -w $working_dir $container_id /bin/bash -c "./op-build p10ebmc_defconfig && ./op-build"
2423

2524

ci/ibm/podman_test.sh

-51
This file was deleted.

0 commit comments

Comments
 (0)