Skip to content

Commit 5658c55

Browse files
authored
Merge pull request #20 from ByteInternet/update_ci_templates
Update CI configuration templates
2 parents 5d3540f + c9464e8 commit 5658c55

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

templates/.gitlab-ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# see https://hub.docker.com/r/hypernode/deploy/tags for all possible tags
2-
# pin the image to a specific version to stay in control with updates
3-
image: hypernode/deploy:alpha
1+
# See https://quay.io/repository/hypernode/deploy?tab=tags for all possible tags.
2+
image: quay.io/hypernode/deploy:2.0-php8.1-node18
43

54
stages:
65
- build

templates/bitbucket-pipelines.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
# see https://hub.docker.com/r/hypernode/deploy/tags for all possible tags
2-
# pin the image to a specific version to stay in control with updates
3-
image: hypernode/deploy:alpha
1+
# See https://quay.io/repository/hypernode/deploy?tab=tags for all possible tags.
2+
image: quay.io/hypernode/deploy:2.0-php8.1-node18
43

54
pipelines:
65
branches:

templates/github-actions.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ env:
1515
defaults:
1616
run:
1717
shell: bash
18+
container: quay.io/hypernode/deploy:2.0-php8.1-node18
1819

1920
jobs:
2021
build:
2122
runs-on: ubuntu-latest
22-
container: docker.hypernode.com/hypernode/docker:alpha
2323
steps:
2424
- uses: actions/checkout@v2
2525
- uses: actions/cache@v2
@@ -29,17 +29,18 @@ jobs:
2929
- uses: webfactory/ssh-agent@v0.5.4
3030
with:
3131
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
32-
- run: hipex-deploy build -vvv
32+
- run: hypernode-deploy build -vvv
33+
env:
34+
DEPLOY_COMPOSER_AUTH: ${{ secrets.DEPLOY_COMPOSER_AUTH }}
3335
- name: archive production artifacts
3436
uses: actions/upload-artifact@v3
3537
with:
3638
name: deployment-build
3739
path: build/build.tgz
3840

39-
deploy_staging:
41+
deploy:
4042
needs: build
4143
runs-on: ubuntu-latest
42-
container: docker.hypernode.com/hypernode/docker:alpha
4344
steps:
4445
- uses: actions/checkout@v2
4546
- name: download build artifact
@@ -53,8 +54,7 @@ jobs:
5354
- run: mkdir -p $HOME/.ssh
5455
- name: deploy to staging
5556
if: github.ref == 'refs/heads/staging'
56-
run: hipex-deploy deploy staging -vvv
57+
run: hypernode-deploy deploy staging -vvv
5758
- name: deploy to production
5859
if: github.ref == 'refs/heads/master'
59-
run: hipex-deploy deploy production -vvv
60-
60+
run: hypernode-deploy deploy production -vvv

0 commit comments

Comments
 (0)