2db422f0b8
We ran into issues getting ansible-lint to run on Noble without updating everything to current ish versions due to Python 3.12 compatibility issues. Updating everything in this way created a bunch of new lint errors we need to fix so we worked around the problem previously by pinning back to Jammy. Now we move the job back to Noble (the default Nodeset) and update the tooling and fix the linter errors. This should allow us to move forward in a productive manner on modern platforms. The linter errors we fix include: * Naming every play * Ensuring every play name starts with a capital letter * Using fully qualified collection names for action modules (archive, git_config, and synchronize) * Quoting octal file modes Change-Id: I96560c5ce2a5af39d39b3fc339862932a856bd13
22 lines
667 B
YAML
22 lines
667 B
YAML
- name: Tag and Push Release
|
|
hosts: all
|
|
tasks:
|
|
- name: Run release scripts
|
|
shell:
|
|
cmd: |
|
|
set -x
|
|
|
|
RELEASES_DIR=$HOME/src/{{ zuul.project.canonical_name }}
|
|
# Tell the launchpad script run from release.sh where its
|
|
# credentials file is.
|
|
export LP_CREDS_FILE=~/.launchpadlib/creds
|
|
|
|
# Pass the location of the openstack/releases repo to
|
|
# release_from_yaml.sh explicitly so it knows where to scan to
|
|
# look for modified files.
|
|
~/scripts/release-tools/process_release_requests.sh $RELEASES_DIR
|
|
RC=$?
|
|
|
|
exit $RC
|
|
executable: /bin/bash
|