Skip to content

Commit

Permalink
Updated github actions versions and fixed some reference
Browse files Browse the repository at this point in the history
  • Loading branch information
mambelli committed Aug 15, 2023
1 parent 3e20e9e commit 73dd585
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2009 Fermi Research Alliance, LLC
# SPDX-License-Identifier: Apache-2.0

FROM mambelli/gwms-ci-sl7
FROM glideinwms/gwms-ci-sl7
COPY entrypoint.sh /entrypoint.sh
RUN groupadd -g 500 glideinwms-ci
RUN useradd -u 500 -g 500 glideinwms-ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
git checkout --progress --force -B ${BRANCH} refs/remotes/origin/${BRANCH}
id: sparse-checkout
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: "glideinwms"
- name: bats test action step
id: bats
uses: ./.github/actions/bats-in-sl7-docker
- name: Archive bats log
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: reports
path: logs.tar.bz2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches:
- master
- branch_v3_7
- branch_v3_11
jobs:
build_job:
runs-on: ubuntu-latest
Expand All @@ -31,15 +31,15 @@ jobs:
git checkout --progress --force -B ${BRANCH} refs/remotes/origin/${BRANCH}
id: sparse-checkout
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: "glideinwms"
- name: RPM build action step
id: build_rpm
uses: ./.github/actions/build-in-sl7-docker
- name: Archive RPM packages
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: rpmpackages
path: rpms.tar.bz2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand All @@ -46,7 +46,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -57,7 +57,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -71,4 +71,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
8 changes: 4 additions & 4 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: set label
continue-on-error: true
Expand All @@ -51,17 +51,17 @@ jobs:
echo "DH_LABEL=$DH_LABEL-${{ steps.mkdatetag.outputs.dtag }}" >> $GITHUB_ENV
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

- name: Log in to Docker Hub
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
push: true
context: build/packaging/containers
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pycodestyle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# job fails if a step fails (unless continue-on-error is in the step)
steps:
- name: Download previous pycodestyle warnings count
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
id: download
with:
name: pycodestyle # includes a file pycodestyle-warnings.txt
Expand All @@ -53,7 +53,7 @@ jobs:
git checkout --progress --force -B ${BRANCH} refs/remotes/origin/${BRANCH}
id: sparse-checkout
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: "glideinwms"
id: checkout
Expand Down Expand Up @@ -91,13 +91,13 @@ jobs:
$test_ok
- name: Upload pycodestyle warnings count if improved
if: steps.pycodestyle_check.outputs.warnings_updated == 'true'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: pycodestyle
path: pycodestyle-warnings.txt
- name: Archive reports
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: reports
path: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pylint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
git checkout --progress --force -B ${BRANCH} refs/remotes/origin/${BRANCH}
id: sparse-checkout
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: "glideinwms"
id: checkout
Expand All @@ -37,7 +37,7 @@ jobs:
id: pylint
- name: Archive reports
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: reports
path: logs.tar.bz2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pyunittest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
git checkout --progress --force -B ${BRANCH} refs/remotes/origin/${BRANCH}
id: sparse-checkout
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: "glideinwms"
- name: unit test action step
id: unit_test
uses: ./.github/actions/pyunittest-in-sl7-docker
- name: Archive unittest log
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: reports
path: logs.tar.bz2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reuse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
git checkout --progress --force -B ${BRANCH} refs/remotes/origin/${BRANCH}
id: sparse-checkout
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: "glideinwms"
- name: reuse lint action step
id: reuse
uses: fsfe/reuse-action@v1
uses: fsfe/reuse-action@v2
with:
args: --root ./glideinwms lint

0 comments on commit 73dd585

Please sign in to comment.