Skip to content

Commit 9f917eb

Browse files
committed
comment out the github actions to see if sentry is happy
1 parent 8267372 commit 9f917eb

File tree

3 files changed

+122
-112
lines changed

3 files changed

+122
-112
lines changed

.github/workflows/build.yml

Lines changed: 72 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,78 @@
1-
name: "Build Docker Images"
2-
run-name: Build of ${{ github.ref_name }} by @${{ github.actor }}
3-
on:
4-
push:
5-
branches:
6-
- main
7-
pull_request:
8-
branches:
9-
- main
10-
workflow_dispatch:
11-
inputs:
12-
debug_enabled:
13-
type: boolean
14-
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
15-
required: false
16-
default: false
1+
# we are running the build in vercel now so we don't need this github action
2+
# commenting this out because this action kept failing on https://github.com/scientist-softserv/webstore/pull/268
3+
# TODO(alishaevn): figure out the sentry error if we switch from vercel to an in house deploy infrastructure
174

18-
env:
19-
REGISTRY: ghcr.io
5+
# name: "Build Docker Images"
6+
# run-name: Build of ${{ github.ref_name }} by @${{ github.actor }}
7+
# on:
8+
# push:
9+
# branches:
10+
# - main
11+
# pull_request:
12+
# branches:
13+
# - main
14+
# workflow_dispatch:
15+
# inputs:
16+
# debug_enabled:
17+
# type: boolean
18+
# description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
19+
# required: false
20+
# default: false
2021

21-
jobs:
22-
build:
23-
runs-on: ubuntu-latest
24-
permissions:
25-
contents: read
26-
packages: write
27-
steps:
28-
- id: setup
29-
name: Setup
30-
uses: scientist-softserv/actions/[email protected]
31-
with:
32-
tag: ${{ inputs.tag }}
33-
image_name: ${{ inputs.image_name }}
34-
token: ${{ secrets.CHECKOUT_TOKEN || secrets.GITHUB_TOKEN }}
35-
- uses: actions/setup-node@v3
36-
with:
37-
registry-url: 'https://npm.pkg.github.com'
38-
# Defaults to the user or organization that owns the workflow file
39-
scope: '@scientist-softserv'
40-
node-version-file: package.json
41-
- name: GPR authToken
42-
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > $NPM_CONFIG_USERCONFIG
43-
- name: GPR alias
44-
run: echo "@scientist-softserv:registry=https://npm.pkg.github.com" >> $NPM_CONFIG_USERCONFIG
45-
- run: yarn install
46-
- run: yarn test
22+
# env:
23+
# REGISTRY: ghcr.io
4724

48-
- name: Login to GitHub Container Registry
49-
uses: docker/login-action@v2
50-
with:
51-
registry: ${{ env.REGISTRY }}
52-
username: ${{ github.actor }}
53-
password: ${{ secrets.GITHUB_TOKEN }}
25+
# jobs:
26+
# build:
27+
# runs-on: ubuntu-latest
28+
# permissions:
29+
# contents: read
30+
# packages: write
31+
# steps:
32+
# - id: setup
33+
# name: Setup
34+
# uses: scientist-softserv/actions/[email protected]
35+
# with:
36+
# tag: ${{ inputs.tag }}
37+
# image_name: ${{ inputs.image_name }}
38+
# token: ${{ secrets.CHECKOUT_TOKEN || secrets.GITHUB_TOKEN }}
39+
# - uses: actions/setup-node@v3
40+
# with:
41+
# registry-url: 'https://npm.pkg.github.com'
42+
# # Defaults to the user or organization that owns the workflow file
43+
# scope: '@scientist-softserv'
44+
# node-version-file: package.json
45+
# - name: GPR authToken
46+
# run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > $NPM_CONFIG_USERCONFIG
47+
# - name: GPR alias
48+
# run: echo "@scientist-softserv:registry=https://npm.pkg.github.com" >> $NPM_CONFIG_USERCONFIG
49+
# - run: yarn install
50+
# - run: yarn test
5451

55-
- name: Retag action for Docker image
56-
id: meta-docker-image
57-
uses: docker/[email protected]
58-
with:
59-
images: |
60-
name=${{ env.REGISTRY }}/${{ env.REPO_LOWER }}
61-
tags: |
62-
type=raw,value=latest,enable={{is_default_branch}}
52+
# - name: Login to GitHub Container Registry
53+
# uses: docker/login-action@v2
54+
# with:
55+
# registry: ${{ env.REGISTRY }}
56+
# username: ${{ github.actor }}
57+
# password: ${{ secrets.GITHUB_TOKEN }}
6358

64-
- run: cp $NPM_CONFIG_USERCONFIG .npmrc; cat .npmrc
59+
# - name: Retag action for Docker image
60+
# id: meta-docker-image
61+
# uses: docker/[email protected]
62+
# with:
63+
# images: |
64+
# name=${{ env.REGISTRY }}/${{ env.REPO_LOWER }}
65+
# tags: |
66+
# type=raw,value=latest,enable={{is_default_branch}}
6567

66-
- name: Build and push Docker image
67-
uses: docker/build-push-action@v3
68-
with:
69-
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.REPO_LOWER }}:${{ env.TAG }}
70-
context: .
71-
push: true
72-
tags: |
73-
${{ steps.meta-docker-image.outputs.tags }}
74-
${{ env.REGISTRY }}/${{ env.REPO_LOWER }}:${{ env.TAG }}
68+
# - run: cp $NPM_CONFIG_USERCONFIG .npmrc; cat .npmrc
69+
70+
# - name: Build and push Docker image
71+
# uses: docker/build-push-action@v3
72+
# with:
73+
# cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.REPO_LOWER }}:${{ env.TAG }}
74+
# context: .
75+
# push: true
76+
# tags: |
77+
# ${{ steps.meta-docker-image.outputs.tags }}
78+
# ${{ env.REGISTRY }}/${{ env.REPO_LOWER }}:${{ env.TAG }}

.github/workflows/deploy.yml

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
1-
name: "Deploy"
2-
run-name: Deploy (${{ github.ref_name }} -> ${{ inputs.environment }}) by @${{ github.actor }}
3-
on:
4-
workflow_dispatch:
5-
inputs:
6-
environment:
7-
description: 'Deploy to Environment'
8-
required: true
9-
default: 'staging'
10-
type: choice
11-
options:
12-
- staging
13-
debug_enabled:
14-
type: boolean
15-
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
16-
required: false
17-
default: false
1+
# we are running the deploy through vercel now so we don't need this github action
2+
# TODO(alishaevn): fix any potential sentry error's if we switch from vercel to an in house deploy infrastructure
183

19-
jobs:
20-
deploy:
21-
uses: scientist-softserv/actions/.github/workflows/[email protected]
22-
secrets: inherit
4+
# name: "Deploy"
5+
# run-name: Deploy (${{ github.ref_name }} -> ${{ inputs.environment }}) by @${{ github.actor }}
6+
# on:
7+
# workflow_dispatch:
8+
# inputs:
9+
# environment:
10+
# description: 'Deploy to Environment'
11+
# required: true
12+
# default: 'staging'
13+
# type: choice
14+
# options:
15+
# - staging
16+
# debug_enabled:
17+
# type: boolean
18+
# description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
19+
# required: false
20+
# default: false
21+
22+
# jobs:
23+
# deploy:
24+
# uses: scientist-softserv/actions/.github/workflows/[email protected]
25+
# secrets: inherit

.github/workflows/test-suite.yml

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
1-
name: Test Suite
2-
on:
3-
push: {}
4-
jobs:
5-
build:
6-
runs-on: ubuntu-latest
7-
permissions:
8-
contents: read
9-
packages: write
10-
steps:
11-
- uses: actions/checkout@v3
12-
# Setup .npmrc file to publish to GitHub Packages
13-
- uses: actions/setup-node@v3
14-
with:
15-
registry-url: 'https://npm.pkg.github.com'
16-
# Defaults to the user or organization that owns the workflow file
17-
scope: '@scientist-softserv'
18-
node-version-file: package.json
19-
- name: Authenticate with private GPR package
20-
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > $NPM_CONFIG_USERCONFIG
21-
- run: yarn install
22-
- run: yarn test
23-
- run: yarn build
1+
# TODO(alishaevn): remove the references to the github package registry
2+
# TODO(alishaevn): run the cypress tests during this action
3+
4+
# name: Test Suite
5+
# on:
6+
# push: {}
7+
# jobs:
8+
# build:
9+
# runs-on: ubuntu-latest
10+
# permissions:
11+
# contents: read
12+
# packages: write
13+
# steps:
14+
# - uses: actions/checkout@v3
15+
# # Setup .npmrc file to publish to GitHub Packages
16+
# - uses: actions/setup-node@v3
17+
# with:
18+
# registry-url: 'https://npm.pkg.github.com'
19+
# # Defaults to the user or organization that owns the workflow file
20+
# scope: '@scientist-softserv'
21+
# node-version-file: package.json
22+
# - name: Authenticate with private GPR package
23+
# run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > $NPM_CONFIG_USERCONFIG
24+
# - run: yarn install
25+
# - run: yarn test
26+
# - run: yarn build

0 commit comments

Comments
 (0)