diff --git a/.github/workflows/build-gem.yml b/.github/workflows/build-gem.yml index 49cec16..9cfee49 100644 --- a/.github/workflows/build-gem.yml +++ b/.github/workflows/build-gem.yml @@ -11,15 +11,18 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: set up ruby 2.7 - uses: actions/setup-ruby@v1 + - uses: actions/checkout@v3 + + - uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7.x + ruby-version: 2.7 + + - name: rspec run: | gem install rspec rspec + - name: build gem run: | gem build ciinabox.gemspec \ No newline at end of file diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 914d534..d79788d 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -12,23 +12,23 @@ jobs: steps: - name: Check out the repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Inject slug/short variables uses: rlespinasse/github-slug-action@v3.x - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to GitHub Container Repository - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GHCR_PUSH_TOKEN }} - name: Build and push Container Image to GitHub Container Repository - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: context: . file: ./Dockerfile diff --git a/.github/workflows/release-gem.yml b/.github/workflows/release-gem.yml index a021019..a9c4e02 100644 --- a/.github/workflows/release-gem.yml +++ b/.github/workflows/release-gem.yml @@ -10,15 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - - name: Check out the repo - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - name: Set up Ruby 2.7 - uses: actions/setup-ruby@v1 + - uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7.x + ruby-version: 2.7 - - name: Publish Gem to Github Packages Respository + - name: Publish gem to Github packages run: | mkdir -p $HOME/.gem touch $HOME/.gem/credentials diff --git a/.github/workflows/release-image.yml b/.github/workflows/release-image.yml index bd62ebb..a6ec8ed 100644 --- a/.github/workflows/release-image.yml +++ b/.github/workflows/release-image.yml @@ -10,21 +10,17 @@ jobs: runs-on: ubuntu-latest steps: - - name: Check out the repo - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + - uses: docker/setup-buildx-action@v2 - - name: Login to GitHub Container Repository - uses: docker/login-action@v1 + - uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.repository_owner }} password: ${{ secrets.GHCR_PUSH_TOKEN }} - - name: Build and push Container Image to GitHub Container Repository - uses: docker/build-push-action@v2 + - uses: docker/build-push-action@v3 with: context: . file: ./Dockerfile diff --git a/lib/ciinabox/templates/default.config.yaml.tt b/lib/ciinabox/templates/default.config.yaml.tt index d5b1284..d422408 100644 --- a/lib/ciinabox/templates/default.config.yaml.tt +++ b/lib/ciinabox/templates/default.config.yaml.tt @@ -477,6 +477,7 @@ jenkins: - cloudformation:DescribeChangeSet - cloudformation:DescribeStackEvents - cloudformation:DescribeStacks + - cloudformation:ListStacks - cloudformation:DescribeStackResource - cloudformation:DescribeStackResources - cloudformation:ExecuteChangeSet