Skip to content

Update CI scripts from master (3.27) - #2378

Draft
craigcomstock wants to merge 5 commits into
cfengine:3.27.xfrom
craigcomstock:ent-14330/3.27
Draft

Update CI scripts from master (3.27)#2378
craigcomstock wants to merge 5 commits into
cfengine:3.27.xfrom
craigcomstock:ent-14330/3.27

Conversation

@craigcomstock

Copy link
Copy Markdown
Contributor

There have been many changes and all of them should likely be cherry picked but I don't want to bother finding them all.

The ci directory is pretty safe to just pull en-masse from master.

In ENT-11241 and ENT-14330 we migrated to running setup-cfengine-build-host.sh in several important CI jobs so the updates need to be in all LTS branches.

Ticket: ENT-14330
Changelog: none

@craigcomstock

Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins no tests

@cf-bottom

Copy link
Copy Markdown

@craigcomstock

Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins no tests

@cf-bottom

Copy link
Copy Markdown

There have been many changes and all of them should likely be cherry picked but I don't want to bother finding them all.

The ci directory is pretty safe to just pull en-masse from master.

In ENT-11241 and ENT-14330 we migrated to running setup-cfengine-build-host.sh in several important CI jobs so the updates need to be in all LTS branches.

Ticket: ENT-14330
Changelog: none

 Conflicts:
	ci/fix-buildhost.sh
The symlink step was failing due to the tarball itself matching the glob

Ticket: none
Changelog: none
(cherry picked from commit f3c42b2)
@craigcomstock

Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins no tests

@cf-bottom

Copy link
Copy Markdown

… conditions when operating on jenkins files

Happened once that chown -R jenkins /home/jenkins complained of missing files.

Ticket: none
Changelog: none
@craigcomstock

Copy link
Copy Markdown
Contributor Author

retry of ubu22hub saw no issue with setup-cfengine-build-host race condition on chowning files to jenkins.

@cf-bottom jenkins no tests again please

@cf-bottom

Copy link
Copy Markdown

$(pwd) was the jenkins workspace directory which does not have proxy-target.txt so revert back to $HOME

Remove use of realpath in fix-buildhost.sh since that command is not available on all build hosts.

Ticket: ENT-11241
Changelog: none
(cherry picked from commit 90b666a)
Some find commands require a path to search in.

Ticket: ENT-11241
Changelog: none
(cherry picked from commit dd61423)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants